aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/registration/password_reset_complete.html7
-rw-r--r--templates/registration/password_reset_confirm.html17
-rw-r--r--templates/registration/password_reset_done.html12
-rw-r--r--templates/registration/password_reset_email.html12
-rw-r--r--templates/registration/password_reset_form.html10
-rw-r--r--templates/registration/password_reset_subject.txt1
6 files changed, 59 insertions, 0 deletions
diff --git a/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html
new file mode 100644
index 0000000..c0bccc1
--- /dev/null
+++ b/templates/registration/password_reset_complete.html
@@ -0,0 +1,7 @@
+{% extends 'registration/base_simple.html' %}
+
+{% block content %}
+ <p>
+ Your password has been set. You may go ahead and <a href="{% url 'signin' %}">sign in</a> now.
+ </p>
+{% endblock %} \ No newline at end of file
diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html
new file mode 100644
index 0000000..6838eb8
--- /dev/null
+++ b/templates/registration/password_reset_confirm.html
@@ -0,0 +1,17 @@
+{% extends 'registration/base_simple.html' %}
+
+{% block content %}
+ {% if validlink %}
+ <h3>Change password</h3>
+ <form method="post">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <button type="submit">Change password</button>
+ </form>
+ {% else %}
+ <p>
+ The password reset link was invalid, possibly because it has already been used.
+ Please request a new password reset.
+ </p>
+ {% endif %}
+{% endblock %} \ No newline at end of file
diff --git a/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html
new file mode 100644
index 0000000..6abc3e1
--- /dev/null
+++ b/templates/registration/password_reset_done.html
@@ -0,0 +1,12 @@
+{% extends 'registration/base_simple.html' %}
+
+{% block content %}
+ <p>
+ We've emailed you instructions for setting your password, if an account exists with the email you entered.
+ You should receive them shortly.
+ </p>
+ <p>
+ If you don't receive an email, please make sure you've entered the address you registered with,
+ and check your spam folder.
+ </p>
+{% endblock %} \ No newline at end of file
diff --git a/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html
new file mode 100644
index 0000000..da2c169
--- /dev/null
+++ b/templates/registration/password_reset_email.html
@@ -0,0 +1,12 @@
+{% autoescape off %}
+To initiate the password reset process for your {{ user.get_username }} TestSite Account,
+click the link below:
+
+{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
+
+If clicking the link above doesn't work, please copy and paste the URL in a new browser
+window instead.
+
+Sincerely,
+The TestSite Team
+{% endautoescape %} \ No newline at end of file
diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html
new file mode 100644
index 0000000..d0d6250
--- /dev/null
+++ b/templates/registration/password_reset_form.html
@@ -0,0 +1,10 @@
+{% extends 'registration/base_simple.html' %}
+
+{% block content %}
+ <h3>Forgot password</h3>
+ <form method="post">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <button type="submit">Submit</button>
+ </form>
+{% endblock %} \ No newline at end of file
diff --git a/templates/registration/password_reset_subject.txt b/templates/registration/password_reset_subject.txt
new file mode 100644
index 0000000..7b5a65b
--- /dev/null
+++ b/templates/registration/password_reset_subject.txt
@@ -0,0 +1 @@
+TestSite password reset \ No newline at end of file