Convert h2s to h1s where obvious

This commit is contained in:
Mouse Reeve 2020-11-09 12:06:44 -08:00
parent 79f7c55a04
commit 7042e59402
14 changed files with 16 additions and 16 deletions

View file

@ -2,7 +2,7 @@
{% load fr_display %} {% load fr_display %}
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">{{ author.display_name }}</h2> <h1 class="title">{{ author.display_name }}</h1>
{% if author.bio %} {% if author.bio %}
<p> <p>

View file

@ -5,9 +5,9 @@
<div class="block"> <div class="block">
<div class="level"> <div class="level">
<h2 class="title level-left"> <h1 class="title level-left">
<span>{% include 'snippets/book_titleby.html' with book=book %}</span> <span>{% include 'snippets/book_titleby.html' with book=book %}</span>
</h2> </h1>
{% if request.user.is_authenticated and perms.bookwyrm.edit_book %} {% if request.user.is_authenticated and perms.bookwyrm.edit_book %}
<div class="level-right"> <div class="level-right">

View file

@ -3,9 +3,9 @@
{% block content %} {% block content %}
<div class="block"> <div class="block">
<div class="level"> <div class="level">
<h2 class="title level-left"> <h1 class="title level-left">
Edit "{{ book.title }}" Edit "{{ book.title }}"
</h2> </h1>
<div class="level-right"> <div class="level-right">
<a href="/book/{{ book.id }}"> <a href="/book/{{ book.id }}">
<span class="edit-link icon icon-close"> <span class="edit-link icon icon-close">

View file

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<div class="block columns"> <div class="block columns">
<div class="column is-half"> <div class="column is-half">
<h2 class="title">Profile</h2> <h1 class="title">Profile</h1>
{% if form.non_field_errors %} {% if form.non_field_errors %}
<p class="notification is-danger">{{ form.non_field_errors }}</p> <p class="notification is-danger">{{ form.non_field_errors }}</p>
{% endif %} {% endif %}

View file

@ -2,7 +2,7 @@
{% load fr_display %} {% load fr_display %}
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Editions of <a href="/book/{{ work.id }}">"{{ work.title }}"</a></h2> <h1 class="title">Editions of <a href="/book/{{ work.id }}">"{{ work.title }}"</a></h1>
{% include 'snippets/book_tiles.html' with books=editions %} {% include 'snippets/book_tiles.html' with books=editions %}
</div> </div>

View file

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Server Error</h2> <h1 class="title">Server Error</h1>
<p>Something went wrong! Sorry about that.</p> <p>Something went wrong! Sorry about that.</p>
</div> </div>

View file

@ -2,7 +2,7 @@
{% load humanize %} {% load humanize %}
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Import Books from GoodReads</h2> <h1 class="title">Import Books from GoodReads</h1>
<form name="import" action="/import_data/" method="post" enctype="multipart/form-data"> <form name="import" action="/import_data/" method="post" enctype="multipart/form-data">
{% csrf_token %} {% csrf_token %}
<div class="field"> <div class="field">

View file

@ -4,7 +4,7 @@
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<div class="block login"> <div class="block login">
<h2 class="title">Create an Account</h2> <h1 class="title">Create an Account</h1>
<div> <div>
<form name="register" method="post" action="/user-register"> <form name="register" method="post" action="/user-register">
<input type=hidden name="invite_code" value="{{ invite.code }}"> <input type=hidden name="invite_code" value="{{ invite.code }}">

View file

@ -2,7 +2,7 @@
{% load humanize %} {% load humanize %}
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Invites</h2> <h1 class="title">Invites</h1>
<table class="table is-striped"> <table class="table is-striped">
<tr> <tr>
<th>Link</th> <th>Link</th>

View file

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Not Found</h2> <h1 class="title">Not Found</h1>
<p>The page your requested doesn't seem to exist!</p> <p>The page your requested doesn't seem to exist!</p>
</div> </div>

View file

@ -2,7 +2,7 @@
{% load humanize %}l {% load humanize %}l
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Notifications</h2> <h1 class="title">Notifications</h1>
<form name="clear" action="/clear-notifications" method="POST"> <form name="clear" action="/clear-notifications" method="POST">
{% csrf_token %} {% csrf_token %}

View file

@ -4,7 +4,7 @@
<div class="columns"> <div class="columns">
<div class="column"> <div class="column">
<div class="block"> <div class="block">
<h2 class="title">Reset Password</h2> <h1 class="title">Reset Password</h1>
{% for error in errors %} {% for error in errors %}
<p class="is-danger">{{ error }}</p> <p class="is-danger">{{ error }}</p>
{% endfor %} {% endfor %}

View file

@ -4,7 +4,7 @@
<div class="columns is-centered"> <div class="columns is-centered">
<div class="column is-half"> <div class="column is-half">
<div class="block"> <div class="block">
<h2 class="title">Reset Password</h2> <h1 class="title">Reset Password</h1>
{% if message %}<p>{{ message }}</p>{% endif %} {% if message %}<p>{{ message }}</p>{% endif %}
<p>A link to reset your password will be sent to your email address</p> <p>A link to reset your password will be sent to your email address</p>
<form name="reset-password" method="post" action="/reset-password-request"> <form name="reset-password" method="post" action="/reset-password-request">

View file

@ -3,7 +3,7 @@
{% block content %} {% block content %}
<div class="block"> <div class="block">
<h2 class="title">Books tagged "{{ tag.name }}"</h2> <h1 class="title">Books tagged "{{ tag.name }}"</h1>
{% include 'snippets/book_tiles.html' with books=books.all %} {% include 'snippets/book_tiles.html' with books=books.all %}
</div> </div>