summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration
diff options
context:
space:
mode:
authormaheshgudi2016-07-11 16:07:04 +0530
committermaheshgudi2016-07-11 16:10:55 +0530
commit2725f202757694d966d00c413b327bb163fba67f (patch)
treebcf980d4422dec9bd896638999b77b5a4149839f /yaksh/templates/registration
parent87f3f30b4288bcc867fd0f18f7d845484aaf910c (diff)
downloadonline_test-2725f202757694d966d00c413b327bb163fba67f.tar.gz
online_test-2725f202757694d966d00c413b327bb163fba67f.tar.bz2
online_test-2725f202757694d966d00c413b327bb163fba67f.zip
changed templates for forgot password and change password
Diffstat (limited to 'yaksh/templates/registration')
-rw-r--r--yaksh/templates/registration/password_change_done.html16
-rw-r--r--yaksh/templates/registration/password_change_form.html18
-rw-r--r--yaksh/templates/registration/password_reset_complete.html7
-rw-r--r--yaksh/templates/registration/password_reset_confirm.html17
-rw-r--r--yaksh/templates/registration/password_reset_done.html4
-rw-r--r--yaksh/templates/registration/password_reset_form.html12
6 files changed, 0 insertions, 74 deletions
diff --git a/yaksh/templates/registration/password_change_done.html b/yaksh/templates/registration/password_change_done.html
deleted file mode 100644
index fef07d1..0000000
--- a/yaksh/templates/registration/password_change_done.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{% extends "base.html" %}
-
-{% block title %}Password change successful{% endblock %}
-{% block pagetitle %}Online Test {% endblock %}
-{% block script %}
-<script type="text/javascript">
- window.setTimeout(function()
- {
- location.href="{{ URL_ROOT }}/exam/"
- }, 2000);
-</script>
-{% endblock %}
-{% block content %}
-<h3>Your password has been changed successfully.</h3>
-<h4>Redirecting ...</h4>
-{% endblock %} \ No newline at end of file
diff --git a/yaksh/templates/registration/password_change_form.html b/yaksh/templates/registration/password_change_form.html
deleted file mode 100644
index 48292f8..0000000
--- a/yaksh/templates/registration/password_change_form.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-<!DOCTYPE html>
-{% block title %} Change Password {% endblock %}
-
-{% block pagetitle %} Online Test {% endblock %}
-
-{% block content %}
-<form action="" method="post" >
- {% csrf_token %}
- <center>
- <table class=span1>
- {{ form }}
- </table>
- </center>
- <center><button class="btn" type="submit">Change Password</button>
- <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/");'>Cancel</button></center>
-</form>
-{% endblock content %}
diff --git a/yaksh/templates/registration/password_reset_complete.html b/yaksh/templates/registration/password_reset_complete.html
deleted file mode 100644
index 0801d3b..0000000
--- a/yaksh/templates/registration/password_reset_complete.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% extends "base.html" %}
-{% block title %}Password reset complete{% endblock %}
-{% block pagetitle %} Online Test {% endblock %}
-{% block content %}
-<p>Your password has been reset. </p>
-<p><a href="{{ login_url }}">Log in</a></p>
-{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_confirm.html b/yaksh/templates/registration/password_reset_confirm.html
deleted file mode 100644
index 5566499..0000000
--- a/yaksh/templates/registration/password_reset_confirm.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% extends "base.html" %}
-{% block title %}Reset Password{% endblock %}
-{% block pagetitle %} Online Test {% endblock %}
-{% block formtitle %} Reset password {% endblock %}
-
-{% block content %}
- {% 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>
- </form>
- {% else %}
- <p>This reset link is no longer valid!</p>
- {% endif %}
-{% endblock %}
diff --git a/yaksh/templates/registration/password_reset_done.html b/yaksh/templates/registration/password_reset_done.html
deleted file mode 100644
index ace3cc9..0000000
--- a/yaksh/templates/registration/password_reset_done.html
+++ /dev/null
@@ -1,4 +0,0 @@
-{% extends "base.html" %}
-{% block title %}Password reset successful{% endblock %}
-{% block pagetitle %} Online Test {% endblock %}
-{% block formtitle %} Instruction for setting new password has been mailed to your registered email address {% endblock %}
diff --git a/yaksh/templates/registration/password_reset_form.html b/yaksh/templates/registration/password_reset_form.html
deleted file mode 100644
index 0dbaf09..0000000
--- a/yaksh/templates/registration/password_reset_form.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "base.html" %}
-{% block title %} Forgot Password {% endblock %}
-{% block pagetitle %} Online Test {% endblock %}
-{% block formtitle %} Email will be send to the registered email address {% endblock %}
-{% block content %}
-<form action="" method="post">
- {% csrf_token %}
- {{ form }}
- <button class="btn" type="submit">Request</button>
- <a class="btn" href="{{URL_ROOT}}/exam/login/">Cancel</a>
-</form>
-{% endblock content %}