summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/registration')
-rw-r--r--yaksh/templates/registration/password_change_done.html20
-rw-r--r--yaksh/templates/registration/password_reset_complete.html13
-rw-r--r--yaksh/templates/registration/password_reset_confirm.html13
-rw-r--r--yaksh/templates/registration/password_reset_done.html19
-rw-r--r--yaksh/templates/registration/password_reset_form.html17
5 files changed, 69 insertions, 13 deletions
diff --git a/yaksh/templates/registration/password_change_done.html b/yaksh/templates/registration/password_change_done.html
index 14df20c..bac19fa 100644
--- a/yaksh/templates/registration/password_change_done.html
+++ b/yaksh/templates/registration/password_change_done.html
@@ -1,6 +1,12 @@
{% extends "base.html" %}
-
-{% block pagetitle %}Password change successful{% endblock %}
+{% block pagetitle %}
+<div class="yakshnav fixed-top" style=" padding-top: 0.5%;padding-bottom: 0.5%;">
+ <a class="navbar-brand" href="{{ URL_ROOT }}/exam/" >
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
+ </img>
+ </a>
+</div>
+{% endblock %}
{% block script %}
<script type="text/javascript">
window.setTimeout(function()
@@ -10,6 +16,12 @@
</script>
{% endblock %}
{% block content %}
-<h3>Your password has been changed successfully.</h3>
-<h4>Redirecting ...</h4>
+<div class="row align-items-center">
+ <div class="col">
+ <h3>Your password has been changed successfully.</h3>
+ <h4>Redirecting ...</h4>
+ </div>
+
+ <div class="col"><img src="{{ URL_ROOT }}/static/yaksh/images/profile_change.gif/"></div>
+</div>
{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_complete.html b/yaksh/templates/registration/password_reset_complete.html
index 0c1bae2..bc9245f 100644
--- a/yaksh/templates/registration/password_reset_complete.html
+++ b/yaksh/templates/registration/password_reset_complete.html
@@ -1,6 +1,15 @@
{% extends "base.html" %}
-{% block pagetitle %}Password reset complete{% endblock %}
+{% block pagetitle %}
+<div class="yakshnav fixed-top" style=" padding-top: 0.5%;padding-bottom: 0.5%;">
+ <a class="navbar-brand" href="{{ URL_ROOT }}/exam/" >
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
+ </img>
+ </a>
+</div>
+{% endblock %}
{% block content %}
+<div class="container">
<p>Your password has been reset. </p>
-<p><a href="{{ login_url }}">Log in</a></p>
+<p><a href="{{ login_url }}" class="btn btn-success">Log in</a></p>
+</div>
{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_confirm.html b/yaksh/templates/registration/password_reset_confirm.html
index 1b0a1b7..49563ac 100644
--- a/yaksh/templates/registration/password_reset_confirm.html
+++ b/yaksh/templates/registration/password_reset_confirm.html
@@ -1,15 +1,24 @@
{% extends "base.html" %}
-{% block pagetitle %}Reset Password{% endblock %}
+{% block pagetitle %}
+<div class="yakshnav fixed-top" style=" padding-top: 0.5%;padding-bottom: 0.5%;">
+ <a class="navbar-brand" href="{{ URL_ROOT }}/exam/" >
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
+ </img>
+ </a>
+</div>
+{% endblock %}
{% block content %}
+<center><h4>Reset Password</h4>
{% if validlink %}
<p>Please enter your new password twice so we can verify you typed it in correctly</p>.
<form method="post">
{% csrf_token %}
{{ form.as_p }}
- <button class= "btn" type="submit">Submit</button>
+ <button class= "btn btn-success" type="submit">Submit</button>
</form>
{% else %}
<p>This reset link is no longer valid!</p>
{% endif %}
+</center>
{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_done.html b/yaksh/templates/registration/password_reset_done.html
index 1ac7b60..8f259c7 100644
--- a/yaksh/templates/registration/password_reset_done.html
+++ b/yaksh/templates/registration/password_reset_done.html
@@ -1,3 +1,18 @@
{% extends "base.html" %}
-{% block title %}Password reset successful{% endblock %}
-{% block pagetitle %} Instruction for setting new password has been mailed to your registered email address {% endblock %}
+{% block pagetitle %}
+<div class="yakshnav fixed-top" style=" padding-top: 0.5%;padding-bottom: 0.5%;">
+ <a class="navbar-brand" href="{{ URL_ROOT }}/exam/" >
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
+ </img>
+ </a>
+</div>
+{% endblock %}
+
+{% block content %}
+<center>
+<h4>Password reset successful</h4>
+<div class="alert alert-success animated flash col-md-8">
+Instruction for setting new password has been mailed to your registered email address
+</div>
+</center>
+{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_form.html b/yaksh/templates/registration/password_reset_form.html
index 0444584..de05df9 100644
--- a/yaksh/templates/registration/password_reset_form.html
+++ b/yaksh/templates/registration/password_reset_form.html
@@ -1,10 +1,21 @@
{% extends "base.html" %}
-{% block pagetitle %} Email will be send to the registered email address {% endblock %}
+{% block pagetitle %}
+<div class="yakshnav fixed-top" style=" padding-top: 0.5%;padding-bottom: 0.5%;">
+ <a class="navbar-brand" href="{{ URL_ROOT }}/exam/" >
+ <img src="{{ URL_ROOT }}/static/yaksh/images/yaksh_banner.png" alt="YAKSH">
+ </img>
+ </a>
+</div>
+{% endblock %}
+
{% block content %}
+<center>
+<h4>Email will be send to the registered email address</h4>
<form action="" method="post">
{% csrf_token %}
{{ form }}
- <button class="btn" type="submit">Request</button>
- <a class="btn" href="{{URL_ROOT}}/exam/login/">Cancel</a>
+ <button class="btn btn-success" type="submit">Request</button>
+ <a class="btn btn-danger" href="{{URL_ROOT}}/exam/login/">Cancel</a>
</form>
+</center>
{% endblock content %}