summaryrefslogtreecommitdiffstats
path: root/templates/auth
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 19:36:25 -0700
committerAndrew Godwin2022-11-17 19:36:25 -0700
commitadf2449d373bcd07e2b0ce557beeb1f49d1894e4 (patch)
treef9178fded8a38d02546b098ebb71b3797eb18964 /templates/auth
parent6adfdbabe0d44c17f32abc9d48a6e252e2a0792e (diff)
downloadtakahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.tar.gz
takahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.tar.bz2
takahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.zip
Add the user settings page too
Diffstat (limited to 'templates/auth')
-rw-r--r--templates/auth/perform_reset.html (renamed from templates/auth/reset.html)0
-rw-r--r--templates/auth/perform_reset_success.html (renamed from templates/auth/reset_success.html)0
-rw-r--r--templates/auth/trigger_reset.html18
-rw-r--r--templates/auth/trigger_reset_success.html14
4 files changed, 32 insertions, 0 deletions
diff --git a/templates/auth/reset.html b/templates/auth/perform_reset.html
index 42eced9..42eced9 100644
--- a/templates/auth/reset.html
+++ b/templates/auth/perform_reset.html
diff --git a/templates/auth/reset_success.html b/templates/auth/perform_reset_success.html
index 001e5d7..001e5d7 100644
--- a/templates/auth/reset_success.html
+++ b/templates/auth/perform_reset_success.html
diff --git a/templates/auth/trigger_reset.html b/templates/auth/trigger_reset.html
new file mode 100644
index 0000000..b81c380
--- /dev/null
+++ b/templates/auth/trigger_reset.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}Reset Password{% endblock %}
+
+{% block content %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ <fieldset>
+ <legend>Reset Password</legend>
+ {% for field in form %}
+ {% include "forms/_field.html" %}
+ {% endfor %}
+ </fieldset>
+ <div class="buttons">
+ <button>Send Email</button>
+ </div>
+ </form>
+{% endblock %}
diff --git a/templates/auth/trigger_reset_success.html b/templates/auth/trigger_reset_success.html
new file mode 100644
index 0000000..c0c1a0d
--- /dev/null
+++ b/templates/auth/trigger_reset_success.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block title %}Password Reset Sent{% endblock %}
+
+{% block content %}
+ <form>
+ <fieldset>
+ <legend>Password Reset Sent</legend>
+ <p>
+ Please check your email at <tt>{{ email }}</tt> for the reset link.
+ </p>
+ </fieldset>
+ </form>
+{% endblock %}