diff options
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/login.html | 23 | ||||
-rw-r--r-- | templates/registration/logout.html | 10 |
2 files changed, 33 insertions, 0 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html new file mode 100644 index 00000000..b3b264c3 --- /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 00000000..2b829869 --- /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 %} + |