1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

make login and signup pages look better

This commit is contained in:
Lynne Megido 2019-09-10 15:06:31 +10:00
parent b39a10c16f
commit 313dbc37fd
2 changed files with 6 additions and 3 deletions

View file

@ -47,6 +47,9 @@ body {
.no-margin { .no-margin {
margin: 0; margin: 0;
} }
.left-align {
text-align: left;
}
.panel-icon { .panel-icon {
width: 100px; width: 100px;

View file

@ -19,7 +19,7 @@
<label for="email" class="important full-width">Email</label> <label for="email" class="important full-width">Email</label>
<input type="email" name="email" placeholder="you@example.com"> <input type="email" name="email" placeholder="you@example.com">
{% if signup %} {% if signup %}
<p class="small"> <p class="small full-width left-align">
FediBooks requires your email address in order to send you alerts when your bot stops working, and for password resets. FediBooks requires your email address in order to send you alerts when your bot stops working, and for password resets.
</p> </p>
{% endif %} {% endif %}
@ -27,12 +27,12 @@
<label for="password" class="important full-width">Password</label> <label for="password" class="important full-width">Password</label>
<input type="password" pattern=".{8,}" name="password"> <input type="password" pattern=".{8,}" name="password">
{% if signup %} {% if signup %}
<p class="small"> <p class="small full-width left-align">
Passwords must be at least eight characters long. Passwords must be at least eight characters long.
</p> </p>
{% endif %} {% endif %}
</p> </p>
<input type="submit" value="{% if signup %}Create my account{% else %}Log in{% endif %}" class="button btn-primary full-width"> <input type="submit" value="{% if signup %}Create my account{% else %}Log in{% endif %}" class="button centred btn-primary full-width">
</form> </form>
</div> </div>