summaryrefslogtreecommitdiffstats
path: root/templates/auth
diff options
context:
space:
mode:
Diffstat (limited to 'templates/auth')
-rw-r--r--templates/auth/reset.html20
-rw-r--r--templates/auth/reset_success.html14
-rw-r--r--templates/auth/signup.html18
-rw-r--r--templates/auth/signup_success.html15
4 files changed, 67 insertions, 0 deletions
diff --git a/templates/auth/reset.html b/templates/auth/reset.html
new file mode 100644
index 0000000..42eced9
--- /dev/null
+++ b/templates/auth/reset.html
@@ -0,0 +1,20 @@
+{% extends "base.html" %}
+
+{% block title %}Reset Password{% endblock %}
+
+{% block content %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ <fieldset>
+ <legend>Reset Password</legend>
+ <p>You are resetting your password for {{ reset.user.email }}.</p>
+ <p>Please choose your new password below.</p>
+ {% for field in form %}
+ {% include "forms/_field.html" %}
+ {% endfor %}
+ </fieldset>
+ <div class="buttons">
+ <button>Reset</button>
+ </div>
+ </form>
+{% endblock %}
diff --git a/templates/auth/reset_success.html b/templates/auth/reset_success.html
new file mode 100644
index 0000000..001e5d7
--- /dev/null
+++ b/templates/auth/reset_success.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+
+{% block title %}Password Reset{% endblock %}
+
+{% block content %}
+ <form>
+ <fieldset>
+ <legend>Password Reset</legend>
+ <p>
+ Your password for <tt>{{ email }}</tt> has been reset!
+ </p>
+ </fieldset>
+ </form>
+{% endblock %}
diff --git a/templates/auth/signup.html b/templates/auth/signup.html
new file mode 100644
index 0000000..d519476
--- /dev/null
+++ b/templates/auth/signup.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}Create Account{% endblock %}
+
+{% block content %}
+ <form action="." method="POST">
+ {% csrf_token %}
+ <fieldset>
+ <legend>Create An Account</legend>
+ {% for field in form %}
+ {% include "forms/_field.html" %}
+ {% endfor %}
+ </fieldset>
+ <div class="buttons">
+ <button>Create</button>
+ </div>
+ </form>
+{% endblock %}
diff --git a/templates/auth/signup_success.html b/templates/auth/signup_success.html
new file mode 100644
index 0000000..20fc7c2
--- /dev/null
+++ b/templates/auth/signup_success.html
@@ -0,0 +1,15 @@
+{% extends "base.html" %}
+
+{% block title %}Email Sent{% endblock %}
+
+{% block content %}
+ <form>
+ <fieldset>
+ <legend>Email Sent</legend>
+ <p>
+ An email has been sent to <tt>{{ email }}</tt> - please follow
+ the link inside to finish creating your account.
+ </p>
+ </fieldset>
+ </form>
+{% endblock %}