From d3637b220740dd552855b81d38a5da4107233786 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 20 Dec 2019 12:20:25 +0530 Subject: Change the password reset page and change password page --- .../registration/password_change_done.html | 39 ++++++++++--------- .../registration/password_change_form.html | 16 +++++++- .../registration/password_reset_complete.html | 14 ++++--- .../registration/password_reset_confirm.html | 14 ++++--- .../registration/password_reset_done.html | 20 ++++++---- .../registration/password_reset_form.html | 44 +++++++++++++++------- 6 files changed, 94 insertions(+), 53 deletions(-) (limited to 'yaksh') diff --git a/yaksh/templates/registration/password_change_done.html b/yaksh/templates/registration/password_change_done.html index bac19fa..7e075de 100644 --- a/yaksh/templates/registration/password_change_done.html +++ b/yaksh/templates/registration/password_change_done.html @@ -1,27 +1,30 @@ {% extends "base.html" %} -{% block pagetitle %} -
- +{% block title %} Change Password {% endblock %} + +{% block nav %} +
+ + {% endblock %} {% block script %} {% endblock %} {% block content %} -
-
-

Your password has been changed successfully.

-

Redirecting ...

-
- -
-
+

+
+
+
+

Your password has been changed successfully.

+

Redirecting ...

+
+
+
+
{% endblock %} diff --git a/yaksh/templates/registration/password_change_form.html b/yaksh/templates/registration/password_change_form.html index b618410..18dfa2e 100644 --- a/yaksh/templates/registration/password_change_form.html +++ b/yaksh/templates/registration/password_change_form.html @@ -1,8 +1,18 @@ {% extends "base.html" %} {% block pagetitle %} Change Password {% endblock %} +{% block title %} Change Password {% endblock %} + +{% block nav %} + +{% endblock %} {% block content %} +

{% csrf_token %}
@@ -10,7 +20,9 @@ {{ form }}
-
-
+
+
+
{% endblock content %} diff --git a/yaksh/templates/registration/password_reset_complete.html b/yaksh/templates/registration/password_reset_complete.html index bc9245f..d606db9 100644 --- a/yaksh/templates/registration/password_reset_complete.html +++ b/yaksh/templates/registration/password_reset_complete.html @@ -1,13 +1,15 @@ {% extends "base.html" %} -{% block pagetitle %} -
- +{% block title %} Forgot Password {% endblock %} + +{% block nav %} +
+ + {% endblock %} {% block content %} +

Your password has been reset.

Log in

diff --git a/yaksh/templates/registration/password_reset_confirm.html b/yaksh/templates/registration/password_reset_confirm.html index 49563ac..110a82c 100644 --- a/yaksh/templates/registration/password_reset_confirm.html +++ b/yaksh/templates/registration/password_reset_confirm.html @@ -1,14 +1,16 @@ {% extends "base.html" %} -{% block pagetitle %} -
- +{% block title %} Forgot Password {% endblock %} + +{% block nav %} +
+ + {% endblock %} {% block content %} +

Reset Password

{% if validlink %}

Please enter your new password twice so we can verify you typed it in correctly

. diff --git a/yaksh/templates/registration/password_reset_done.html b/yaksh/templates/registration/password_reset_done.html index 8f259c7..a6f30a0 100644 --- a/yaksh/templates/registration/password_reset_done.html +++ b/yaksh/templates/registration/password_reset_done.html @@ -1,18 +1,22 @@ {% extends "base.html" %} -{% block pagetitle %} - + + {% endblock %} {% block content %} +

-

Password reset successful

-
+

Password reset successful

+
Instruction for setting new password has been mailed to your registered email address
+
+Go to Login
{% endblock %} diff --git a/yaksh/templates/registration/password_reset_form.html b/yaksh/templates/registration/password_reset_form.html index de05df9..fd2220f 100644 --- a/yaksh/templates/registration/password_reset_form.html +++ b/yaksh/templates/registration/password_reset_form.html @@ -1,21 +1,39 @@ {% extends "base.html" %} -{% block pagetitle %} - + + {% endblock %} {% block content %} +

-

Email will be send to the registered email address

-
- {% csrf_token %} - {{ form }} - - Cancel -
+

Enter your registered email address to reset your password

+
+
+
+
+

Forgot Password?

+
+
+
+ {% csrf_token %} + + {{ form }} +

+ + Cancel +
+
+
+
+
+
+
{% endblock content %} -- cgit