From 7fdc127e4f823508616676bf67265871b622d5e6 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Thu, 9 Jul 2015 19:00:34 +0530 Subject: add forgot password facility --- website/static/css/main.css | 12 ++- website/templates/cfp.html | 163 ++++++++++++++++++++++----------- website/templates/forgot-password.html | 52 +++++++++++ website/templates/update-password.html | 51 +++++++++++ website/templates/user-login.html | 61 ------------ website/templates/user-register.html | 12 +++ website/urls.py | 2 + website/views.py | 91 +++++++++++++++--- 8 files changed, 316 insertions(+), 128 deletions(-) create mode 100644 website/templates/forgot-password.html create mode 100644 website/templates/update-password.html delete mode 100644 website/templates/user-login.html (limited to 'website') diff --git a/website/static/css/main.css b/website/static/css/main.css index 7cb6991..c28a222 100644 --- a/website/static/css/main.css +++ b/website/static/css/main.css @@ -375,7 +375,6 @@ a:before, a:after { margin-right: 4px; } #footerwrap { - background: #2b2b2b; padding: 25px 0 15px 0; border-bottom: 1px solid #ddd; text-align: center; @@ -585,3 +584,14 @@ body .header { list-style-type: none; color: red; } + +.pwd-recovery-email { + height: 45px; + width: 350px; + margin-right: 5px; + border-radius: 4px; +} + +.pwd-recovery-btn { + height:45px; +} diff --git a/website/templates/cfp.html b/website/templates/cfp.html index 07d1041..8eab2c1 100644 --- a/website/templates/cfp.html +++ b/website/templates/cfp.html @@ -41,6 +41,15 @@
{% endif %} + {% if for_update_password %} +Kindly login to update your password
+Password has been updated successfully !
+New login details have been sent to your email address. Kindly check your mail box. Do not forget to check your spam folder.
+We look forward to your proposals. Conference aims to promote Python for Scientific Computing and Education. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.
-Login/Register to submit a talk - {% if invalid %} -
Invalid Username/Password
-OR
- Sign in with Google - Sign in with Github - Sign in with Facebook - {% endif %} +We look forward to your proposals. Conference aims to promote Python for Scientific Computing and Education. Topics like pedagogy, exploration, modeling or from both applied and developmental perspectives are welcome. Contributions from academia as well as industry are welcome. If you wish to propose a talk at the conference, kindly follow the guidelines given below.
+Login/Register to submit a talk + {% if invalid %} +
Invalid Username/Password
+Login with the details sent to you to update your password.
+Invalid Email address
+Enter the Email address you used while registration.
+We will send you the updated login details on your Email address.
+ +Password & Confirm Password did not match
+Invalid Username/Password
-Login with your SciPy India Account -
-OR
- Sign in with Google - Sign in with Github - Sign in with Facebook -Email ID is already registered !
+Have you already logged in using social logins ?
+or
+Click Here if you forgot your username or password
+