summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshen2019-05-17 16:47:18 +0530
committerAkshen2019-05-17 16:47:18 +0530
commit5c7b4b7c8dd0b161a92b9127234b8f89c95aa42a (patch)
treea3492d10c21c9720832f47b2d9155a6d79b3c218
parentedad33a7c2439c1206de77242df750a0d4007fd6 (diff)
downloadFOSSEE_animations-5c7b4b7c8dd0b161a92b9127234b8f89c95aa42a.tar.gz
FOSSEE_animations-5c7b4b7c8dd0b161a92b9127234b8f89c95aa42a.tar.bz2
FOSSEE_animations-5c7b4b7c8dd0b161a92b9127234b8f89c95aa42a.zip
Forgot Password templates fixed
-rw-r--r--fossee_anime/settings.py2
-rw-r--r--fossee_manim/templates/registration/base.html2
-rw-r--r--fossee_manim/templates/registration/password_change_done.html5
-rw-r--r--fossee_manim/templates/registration/password_change_form.html6
-rw-r--r--fossee_manim/templates/registration/password_reset_complete.html5
-rw-r--r--fossee_manim/templates/registration/password_reset_confirm.html8
-rw-r--r--fossee_manim/templates/registration/password_reset_done.html11
-rw-r--r--fossee_manim/templates/registration/password_reset_form.html17
8 files changed, 38 insertions, 18 deletions
diff --git a/fossee_anime/settings.py b/fossee_anime/settings.py
index 02aefb2..b620525 100644
--- a/fossee_anime/settings.py
+++ b/fossee_anime/settings.py
@@ -41,8 +41,8 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
- 'django.contrib.admin',
'fossee_manim',
+ 'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
diff --git a/fossee_manim/templates/registration/base.html b/fossee_manim/templates/registration/base.html
index 1a4945d..495831d 100644
--- a/fossee_manim/templates/registration/base.html
+++ b/fossee_manim/templates/registration/base.html
@@ -68,7 +68,7 @@
</div>
{% else %}
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="{% url 'proposal_status' %}">Proposal Status</a>
+ <a class="dropdown-item" href="{% url 'proposal_status' %}">Submitted Proposals</a>
<a class="dropdown-item" href="{% url 'view_profile' %}">View Profile</a>
<a class="dropdown-item" href="{% url 'logout' %}">Logout</a>
</div>
diff --git a/fossee_manim/templates/registration/password_change_done.html b/fossee_manim/templates/registration/password_change_done.html
index 93b93cb..d72f7f5 100644
--- a/fossee_manim/templates/registration/password_change_done.html
+++ b/fossee_manim/templates/registration/password_change_done.html
@@ -1,6 +1,6 @@
-{% extends "base.html" %}
+{% extends "registration/base.html" %}
-{% block pagetitle %}
+{% block title %}
Password change successful
{% endblock %}
@@ -14,6 +14,7 @@
{% endblock %}
{% block content %}
+ <br>
<h3>Your password has been changed successfully.</h3>
<h4>Redirecting ...</h4>
{% endblock %} \ No newline at end of file
diff --git a/fossee_manim/templates/registration/password_change_form.html b/fossee_manim/templates/registration/password_change_form.html
index 918f820..5b09d89 100644
--- a/fossee_manim/templates/registration/password_change_form.html
+++ b/fossee_manim/templates/registration/password_change_form.html
@@ -1,8 +1,9 @@
-{% extends "base.html" %}
+{% extends "registration/base.html" %}
<!DOCTYPE html>
-{% block pagetitle %} Change Password {% endblock %}
+{% block title %} Change Password {% endblock %}
{% block content %}
+<div class="container">
<form action="" method="post" >
{% csrf_token %}
<center>
@@ -13,4 +14,5 @@
<center><button class="btn" type="submit">Change Password</button>
<button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/login/");'>Cancel</button></center>
</form>
+</div>
{% endblock content %} \ No newline at end of file
diff --git a/fossee_manim/templates/registration/password_reset_complete.html b/fossee_manim/templates/registration/password_reset_complete.html
index 1ff3f76..1da9b4a 100644
--- a/fossee_manim/templates/registration/password_reset_complete.html
+++ b/fossee_manim/templates/registration/password_reset_complete.html
@@ -1,7 +1,8 @@
-{% extends "base.html" %}
+{% extends "registration/base.html" %}
-{% block pagetitle %}Password reset complete{% endblock %}
+{% block title %}Password reset complete{% endblock %}
{% block content %}
+<br>
<p>Your password has been reset. </p>
{% endblock %} \ No newline at end of file
diff --git a/fossee_manim/templates/registration/password_reset_confirm.html b/fossee_manim/templates/registration/password_reset_confirm.html
index 9f5b47a..ce84fda 100644
--- a/fossee_manim/templates/registration/password_reset_confirm.html
+++ b/fossee_manim/templates/registration/password_reset_confirm.html
@@ -1,8 +1,11 @@
-{% extends "base.html" %}
-{% block pagetitle %}Reset Password{% endblock %}
+{% extends "registration/base.html" %}
+{% block title %}Reset Password{% endblock %}
{% block content %}
+ <br>
+ <div class="container">
{% if validlink %}
+
<p>Please enter your new password twice so we can verify you typed it in correctly</p>.
<form method="post">
{% csrf_token %}
@@ -12,4 +15,5 @@
{% else %}
<p>This reset link is no longer valid!</p>
{% endif %}
+ </div>
{% endblock %} \ No newline at end of file
diff --git a/fossee_manim/templates/registration/password_reset_done.html b/fossee_manim/templates/registration/password_reset_done.html
index 0d335b8..e91ff73 100644
--- a/fossee_manim/templates/registration/password_reset_done.html
+++ b/fossee_manim/templates/registration/password_reset_done.html
@@ -1,9 +1,14 @@
-{% extends "base.html" %}
+{% extends "registration/base.html" %}
{% block title %}
Password reset successful
{% endblock %}
-{% block pagetitle %}
- Instruction for setting new password has been mailed to your registered email address
+{% block content %}
+ <div class="container">
+ <br>
+ <h3>Instruction for setting new password has been mailed
+ to your registered email address
+ </h3>
+ </div>
{% endblock %} \ No newline at end of file
diff --git a/fossee_manim/templates/registration/password_reset_form.html b/fossee_manim/templates/registration/password_reset_form.html
index c67fdfc..5bf049f 100644
--- a/fossee_manim/templates/registration/password_reset_form.html
+++ b/fossee_manim/templates/registration/password_reset_form.html
@@ -1,14 +1,21 @@
-{% extends "base.html" %}
+{% extends "registration/base.html" %}
-{% block pagetitle %}
- Email will be send to the registered email address
+{% block title %}
+ Forgot Password
{% endblock %}
{% block content %}
+<br>
+<br>
+<div class="container">
+<h3>Email will be send to the registered email address</h3>
<form action="" method="post">
{% csrf_token %}
- {{ form }}
- <button class="btn" type="submit">Request</button>
+ <table class="table table-bordered">
+ {{ form }}
+ </table>
+ <button class="btn btn-success btn-sm" type="submit">Request</button>
<a class="btn" href="{{URL_ROOT}}/login/">Cancel</a>
</form>
+</div>
{% endblock content %} \ No newline at end of file