summaryrefslogtreecommitdiff
path: root/apps/accounts/templates
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accounts/templates')
-rw-r--r--apps/accounts/templates/accounts/login.html15
-rw-r--r--apps/accounts/templates/accounts/register.html18
2 files changed, 33 insertions, 0 deletions
diff --git a/apps/accounts/templates/accounts/login.html b/apps/accounts/templates/accounts/login.html
new file mode 100644
index 0000000..5f11c28
--- /dev/null
+++ b/apps/accounts/templates/accounts/login.html
@@ -0,0 +1,15 @@
+{% extends 'base.html' %}
+
+{% block title %}Login - fsweb{% endblock %}
+
+{% block content %}
+Log in.
+<form method="post">{% csrf_token %}
+ <input name="username" type="text" placeholder="username"><br>
+ <input name="password" type="text" placeholder="password"><br>
+ <button type="submit">Log In</button>
+</form>
+Don't have an account? <a href="/accounts/register">Register</a>
+<br>
+Forgot your password? Unfortunate.
+{% endblock %}
diff --git a/apps/accounts/templates/accounts/register.html b/apps/accounts/templates/accounts/register.html
new file mode 100644
index 0000000..213250f
--- /dev/null
+++ b/apps/accounts/templates/accounts/register.html
@@ -0,0 +1,18 @@
+{% extends 'base.html' %}
+
+{% block title %}Login - fsweb{% endblock %}
+
+{% block content %}
+Create account.<br>
+<form method="post">{% csrf_token %}
+ <input name="username" type="text" placeholder="username"><br>
+ <input name="password1" type="text" placeholder="password"><br>
+ <input name="password2" type="text" placeholder="password confirmation"><br>
+ <input name="email" type="text" placeholder="email (optional)"><br>
+ <button type="submit">Register</button>
+</form>
+<br>
+{{ form.errors }}
+<br>
+Already have an account? <a href="/accounts/login">Go to Login</a>
+{% endblock %}