From 8db6fd363b27eab9d538173f07f90844eb5a7d0d Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 7 Apr 2017 15:59:41 +0530 Subject: Add template to display account activation status of user --- yaksh/templates/yaksh/activation_status.html | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 yaksh/templates/yaksh/activation_status.html (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/activation_status.html b/yaksh/templates/yaksh/activation_status.html new file mode 100644 index 0000000..4ffd50e --- /dev/null +++ b/yaksh/templates/yaksh/activation_status.html @@ -0,0 +1,47 @@ +{% extends "base.html" %} + +{% block pagetitle %} Yaksh Account Activation {% endblock %} +{% block title %} Yaksh Account Activation {% endblock %} +{% block content %} +{% if success %} +
+ + Click Here to Login +
+{% else %} + {% if msg %} +
+ +
+
+ {% csrf_token %} +
+ Enter Email Address for verification:

+ + +
+
+ {% endif %} +{% endif %} +
+{% if new_activation_msg %} +
+ + Click Here to Login
+{% endif %} +{% if activation_msg %} +
+ + Click Here to Login
+{% endif %} + +{% endblock content %} \ No newline at end of file -- cgit From da1d135a1834d20c0aa5d2f75ea15a0d7a9eba8a Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 27 Apr 2017 15:33:47 +0530 Subject: Change activation_status template and add update_email url in urls.py --- yaksh/templates/yaksh/activation_status.html | 58 +++++++++++++++++++++------- 1 file changed, 45 insertions(+), 13 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/activation_status.html b/yaksh/templates/yaksh/activation_status.html index 4ffd50e..c196300 100644 --- a/yaksh/templates/yaksh/activation_status.html +++ b/yaksh/templates/yaksh/activation_status.html @@ -2,13 +2,29 @@ {% block pagetitle %} Yaksh Account Activation {% endblock %} {% block title %} Yaksh Account Activation {% endblock %} +{% block css%} + +{% endblock %} +{% block nav %} + +{% endblock %} {% block content %} {% if success %}
- Click Here to Login + Home
{% else %} {% if msg %} @@ -21,27 +37,43 @@ {% csrf_token %}
Enter Email Address for verification:

- - +
{% endif %} {% endif %}
-{% if new_activation_msg %} -
- - Click Here to Login
-{% endif %} {% if activation_msg %}
- Click Here to Login
+ Home + {% endif %} -{% endblock content %} \ No newline at end of file +{% if email_err_msg %} +
+ +
+
+ {% csrf_token %} +
+ + + + + + + + + +
Enter Username:
Enter New Email Address:
+
+ +
+
+{% endif %} +{% endblock content %} -- cgit