From 087fadb571c7cbb86f9ae39bedd5432e02df06e2 Mon Sep 17 00:00:00 2001 From: Ngure Nyaga Date: Thu, 15 Jul 2021 16:03:17 +0300 Subject: [PATCH] chore: style password reset page --- .../templates/account/password_reset.html | 58 ++++++++++++++----- 1 file changed, 44 insertions(+), 14 deletions(-) diff --git a/pepfar_mle/templates/account/password_reset.html b/pepfar_mle/templates/account/password_reset.html index 31760ab9..b475196b 100644 --- a/pepfar_mle/templates/account/password_reset.html +++ b/pepfar_mle/templates/account/password_reset.html @@ -6,20 +6,50 @@ {% block head_title %}{% trans "Password Reset" %}{% endblock %} -{% block inner %} - -

{% trans "Password Reset" %}

- {% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} - {% endif %} +{% block bodyclass %} + class="bg-gradient-primary" +{% endblock %} -

{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

+{% block page %} + {# no modal #} +{% endblock page %} -
- {% csrf_token %} - {{ form|crispy }} - -
-

{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}

-{% endblock %} +{% block inner %} +
+
+
+
+
+
+ +
+
+
+

Password Reset

+
+ {% if user.is_authenticated %} + {% include "account/snippets/already_logged_in.html" %} + {% else %} +
{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}
+ {% endif %} +
+
+ {% csrf_token %} + {{ form|crispy }} + +
+
+
{% blocktrans %} + Please contact us if you have any trouble resetting your password.{% endblocktrans %} +
+
+
+
+
+
+
+
+
+ +{% endblock inner %}