2019-08-29 01:15:15 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>FediBooks</title>
|
|
|
|
{% include 'imports.html' %}
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
2019-08-29 05:08:11 +00:00
|
|
|
<h1 class="thin centred">{% if signup %}Sign up{% else %}Log in{% endif %}</h1>
|
2019-08-29 01:15:15 +00:00
|
|
|
</div>
|
2019-09-03 03:22:00 +00:00
|
|
|
|
|
|
|
{% include 'error.html' %}
|
2019-08-29 01:15:47 +00:00
|
|
|
|
2019-08-29 01:35:06 +00:00
|
|
|
<div class="container centred">
|
2019-08-29 05:08:11 +00:00
|
|
|
<form action="/do/{% if signup %}signup{% else %}login{% endif %}" method="POST">
|
2019-08-29 01:35:06 +00:00
|
|
|
<p>
|
2019-08-29 13:51:31 +00:00
|
|
|
<label for="email" class="important full-width">Email</label>
|
2019-08-29 01:15:47 +00:00
|
|
|
<input type="email" name="email" placeholder="you@example.com">
|
2019-08-29 05:08:11 +00:00
|
|
|
{% if signup %}
|
2019-09-10 05:06:31 +00:00
|
|
|
<p class="small full-width left-align">
|
2019-08-29 05:08:11 +00:00
|
|
|
FediBooks requires your email address in order to send you alerts when your bot stops working, and for password resets.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2019-08-29 01:15:47 +00:00
|
|
|
<br>
|
2019-08-29 13:51:31 +00:00
|
|
|
<label for="password" class="important full-width">Password</label>
|
2019-09-01 07:09:08 +00:00
|
|
|
<input type="password" pattern=".{8,}" name="password">
|
2019-08-29 05:08:11 +00:00
|
|
|
{% if signup %}
|
2019-09-10 05:06:31 +00:00
|
|
|
<p class="small full-width left-align">
|
2019-08-29 05:08:11 +00:00
|
|
|
Passwords must be at least eight characters long.
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2019-08-29 01:35:06 +00:00
|
|
|
</p>
|
2019-09-10 05:06:31 +00:00
|
|
|
<input type="submit" value="{% if signup %}Create my account{% else %}Log in{% endif %}" class="button centred btn-primary full-width">
|
2019-08-29 01:35:06 +00:00
|
|
|
</form>
|
2019-08-29 01:15:15 +00:00
|
|
|
</div>
|
|
|
|
|
2019-08-29 01:15:47 +00:00
|
|
|
{% include 'footer.html' %}
|
|
|
|
</body>
|
2019-08-29 01:15:15 +00:00
|
|
|
</html>
|