2020-01-25 23:25:19 +00:00
|
|
|
{% extends 'layout.html' %}
|
|
|
|
{% block content %}
|
2020-03-15 21:15:36 +00:00
|
|
|
|
2020-06-01 18:54:08 +00:00
|
|
|
<div class="content-container">
|
|
|
|
<h2>About {{ site_settings.name }}</h2>
|
|
|
|
<p>
|
|
|
|
{{ site_settings.instance_description }}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<small>
|
|
|
|
<a href="/about/">More about this site</a>
|
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2020-03-15 21:15:36 +00:00
|
|
|
<div class="content-container login">
|
|
|
|
<h2>Create an Account</h2>
|
|
|
|
<p><small>
|
|
|
|
With a BookWyrm account, you can track and share your reading activity with
|
|
|
|
friends here and on any other federated server, like Mastodon and PixelFed.
|
|
|
|
</small></p>
|
|
|
|
|
2020-06-01 18:54:08 +00:00
|
|
|
{% if site_settings.allow_registration %}
|
2020-01-29 01:23:38 +00:00
|
|
|
<div>
|
2020-03-15 21:15:36 +00:00
|
|
|
<form name="register" method="post" action="/register">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ register_form.as_p }}
|
|
|
|
<button type="submit">Create account</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
2020-06-01 18:54:08 +00:00
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<small>
|
|
|
|
This instance is not open for registration.
|
|
|
|
</small>
|
|
|
|
{% endif %}
|
2020-03-15 21:15:36 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content-container login">
|
|
|
|
<h2>Log in</h2>
|
|
|
|
<div>
|
|
|
|
<form name="login" method="post" action="/user-login">
|
2020-01-29 20:24:50 +00:00
|
|
|
{% csrf_token %}
|
2020-01-29 07:23:05 +00:00
|
|
|
{{ login_form.as_p }}
|
2020-01-29 01:23:38 +00:00
|
|
|
<button type="submit">Log in</button>
|
|
|
|
</form>
|
2020-03-15 21:15:36 +00:00
|
|
|
<p><small><a href="/reset-password">Forgot your password?</a></small></p>
|
2020-01-29 01:23:38 +00:00
|
|
|
</div>
|
2020-03-15 21:15:36 +00:00
|
|
|
</div>
|
2020-01-29 03:05:59 +00:00
|
|
|
|
2020-01-29 01:23:38 +00:00
|
|
|
</div>
|
2020-01-25 23:25:19 +00:00
|
|
|
{% endblock %}
|