summaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-11-03 08:45:10 +0100
committereliott <eliott@cactuswax.net>2007-11-03 08:45:10 +0100
commit39a548fd2629f3b6383990264b2e331b3aea99fb (patch)
treef68c3156dad5f7814473ceff2461679ddf11a2e8 /templates/registration
downloadarchweb-39a548fd2629f3b6383990264b2e331b3aea99fb.tar.gz
archweb-39a548fd2629f3b6383990264b2e331b3aea99fb.tar.xz
Initial import for public release...
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
Diffstat (limited to 'templates/registration')
-rw-r--r--templates/registration/login.html23
-rw-r--r--templates/registration/logout.html10
2 files changed, 33 insertions, 0 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html
new file mode 100644
index 0000000..b3b264c
--- /dev/null
+++ b/templates/registration/login.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<div class="greybox">
+<h2 class="title">Developer Login</h2>
+{% if form.has_errors %}
+<p class="error">Your username and password didn't match. Please try again.</p>
+{% endif %}
+<br /><br />
+
+<form method="post" action=".">
+<input type="hidden" name="next" value="{% if next %}{{ next }}{% else %}/{% endif %}" />
+<table>
+ <tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr>
+ <tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr>
+ <tr><td colspan="2" align="right"><input type="submit" value="Login" /></td></tr>
+</table>
+</form>
+</div>
+
+{% endblock %}
+
diff --git a/templates/registration/logout.html b/templates/registration/logout.html
new file mode 100644
index 0000000..2b82986
--- /dev/null
+++ b/templates/registration/logout.html
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+
+{% block content %}
+
+<div class="greybox">
+You've been logged out.
+</div>
+
+{% endblock %}
+