summaryrefslogtreecommitdiff
path: root/yaksh/templates/registration
diff options
context:
space:
mode:
authoradityacp2016-03-23 11:14:47 +0530
committeradityacp2016-04-15 13:57:44 +0530
commit234cf831861045796a7bcf4e08a46b0c38016f75 (patch)
tree4af3e5a066b3aee420d60eef4fcc5e7a67fdc037 /yaksh/templates/registration
parent97bdb23fbacc3e625beb96efdf58431f42604a81 (diff)
downloadonline_test-234cf831861045796a7bcf4e08a46b0c38016f75.tar.gz
online_test-234cf831861045796a7bcf4e08a46b0c38016f75.tar.bz2
online_test-234cf831861045796a7bcf4e08a46b0c38016f75.zip
EditProfile, ChangePassword, StudentsEnrollment facility
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
2 files changed, 34 insertions, 0 deletions
diff --git a/yaksh/templates/registration/password_change_done.html b/yaksh/templates/registration/password_change_done.html
new file mode 100644
index 0000000..fef07d1
--- /dev/null
+++ b/yaksh/templates/registration/password_change_done.html
@@ -0,0 +1,16 @@
+{% 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
new file mode 100644
index 0000000..48292f8
--- /dev/null
+++ b/yaksh/templates/registration/password_change_form.html
@@ -0,0 +1,18 @@
+{% 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 %}