Add text content to index and login

This commit is contained in:
Alexandre Iooss 2021-09-22 22:12:03 +02:00
parent 6a6892b560
commit c136bf7df4
3 changed files with 48 additions and 8 deletions

View file

@ -10,7 +10,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
{% endblock %}
{% block content %}
<div class="card bg-light mx-auto" style="max-width: 30rem;">
<div class="card bg-light mx-auto" style="max-width: 35rem;">
<h3 class="card-header text-center">
{% trans "Log in" %}
</h3>
@ -36,8 +36,9 @@ SPDX-License-Identifier: GPL-2.0-or-later
{{ form }}
<input type="submit" value="{% trans 'Log in' %}" class="btn btn-primary btn-block btn-lg">
<a href="{% url 'password_reset' %}"
class="badge badge-light">{% trans 'Forgotten your password or username?' %}</a>
class="badge bg-light text-dark">{% trans 'Forgotten your password or username?' %}</a>
</form>
</div>
</div>
<p class="small text-center mt-1">{% trans "If any problem, please contact the server owners at" %} <code>photos[at]crans.org</code>.</p>
{% endblock %}