From 612bc953cc82bee292a6a230b6604cc3070ea6d8 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 15 Oct 2013 16:47:08 -0500 Subject: Before getting rid of query_string in DecodeUser --- .../new_security/forgot_password_step2.html | 33 +++++++++ .../templates/new_security/password_reset.html | 78 ++++++++++++++++++++++ .../templates/new_security/register_user.html | 56 +++++++--------- .../wqflask/templates/new_security/registered.html | 11 ++- 4 files changed, 141 insertions(+), 37 deletions(-) create mode 100644 wqflask/wqflask/templates/new_security/forgot_password_step2.html create mode 100644 wqflask/wqflask/templates/new_security/password_reset.html diff --git a/wqflask/wqflask/templates/new_security/forgot_password_step2.html b/wqflask/wqflask/templates/new_security/forgot_password_step2.html new file mode 100644 index 00000000..1295e589 --- /dev/null +++ b/wqflask/wqflask/templates/new_security/forgot_password_step2.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block title %}Register{% endblock %} +{% block content %} +
+
+

Password Reset

+

+ Check your email. +

+
+
+ +
+ + +

You will receive an email with the subject "{{ subject }}".

+ +

You must click the link in the email to reset the password.

+ +

If you don't see the email, check your spam folder.

+
+ +{% endblock %} + +{% block js %} + + + {% include "new_security/_scripts.html" %} + + +{% endblock %} diff --git a/wqflask/wqflask/templates/new_security/password_reset.html b/wqflask/wqflask/templates/new_security/password_reset.html new file mode 100644 index 00000000..c66ddd07 --- /dev/null +++ b/wqflask/wqflask/templates/new_security/password_reset.html @@ -0,0 +1,78 @@ +{% extends "base.html" %} +{% block title %}Register{% endblock %} +{% block content %} + + {{ header("Password Reset", "Create a new password.") }} + + +
+ + +
+ + +

Enter your new password

+ + + {% if errors %} +
+ Please note: +
    + {% for error in errors %} +
  • {{error}}
  • + {% endfor %} +
+
+ {% endif %} + +
+
+ + + +
+ +
+ +
+
+ + + +
+ +
+ +
+
+ +
+
+ +
+
+ +
+ +
+
+
+ +{% endblock %} + +{% block js %} + + + {% include "new_security/_scripts.html" %} + + +{% endblock %} diff --git a/wqflask/wqflask/templates/new_security/register_user.html b/wqflask/wqflask/templates/new_security/register_user.html index 2a02e7ca..998d2a7b 100644 --- a/wqflask/wqflask/templates/new_security/register_user.html +++ b/wqflask/wqflask/templates/new_security/register_user.html @@ -1,36 +1,31 @@ {% extends "base.html" %} {% block title %}Register{% endblock %} {% block content %} -
-
-

Register

-

- It's easy and fast to make an account. -

-
-
+ + {{ header("Register", "It's fast and easy to make an account.") }} +
- +

Already have an account?

- - + + Sign in using existing account - - + +
- +

Don't have an account?

- +
Register here
- + {% if errors %} -
+
Please note:
    {% for error in errors %} @@ -39,11 +34,11 @@
{% endif %} - +
- +
@@ -51,7 +46,7 @@ data-trigger="change" data-required="true" data-type="email" data-maxlength="50">
- +
@@ -59,28 +54,28 @@ data-trigger="change" data-required="true" data-minlength="5" data-maxlength="50">
- +
- +
-
- +
+ - +
@@ -88,26 +83,25 @@ data-trigger="change" data-required="true" data-equalto="#password">
- +
- + - +
{% endblock %} -{% block js %} +{% block js %} - + {% include "new_security/_scripts.html" %} {% endblock %} - diff --git a/wqflask/wqflask/templates/new_security/registered.html b/wqflask/wqflask/templates/new_security/registered.html index 391a6044..49dc961f 100644 --- a/wqflask/wqflask/templates/new_security/registered.html +++ b/wqflask/wqflask/templates/new_security/registered.html @@ -15,20 +15,19 @@

One last step

-

You will receive an email with the subject "GeneNetwork email verification".

- +

You will receive an email with the subject "{{ subject }}".

+

You must click the link in the email to complete registration.

- +

If you don't see the email, check your spam folder.

{% endblock %} -{% block js %} +{% block js %} - + {% include "new_security/_scripts.html" %} {% endblock %} - -- cgit v1.2.3