Added templates for login and logout
authorNishanth Amuluru <nishanth@fossee.in>
Fri, 07 Jan 2011 10:49:48 +0530
changeset 24 d152c2211a3a
parent 23 d736049a518f
child 25 48d68e75e9cc
Added templates for login and logout
templates/registration/logged_out.html
templates/registration/login.html
templates/registration/logout.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/registration/logged_out.html	Fri Jan 07 10:49:48 2011 +0530
@@ -0,0 +1,12 @@
+{% extends "base.html" %}
+{% load i18n %}
+
+{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a></div>{% endblock %}
+
+{% block content %}
+
+<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
+
+<p><a href="../">{% trans 'Log in again' %}</a></p>
+
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/registration/login.html	Fri Jan 07 10:49:48 2011 +0530
@@ -0,0 +1,8 @@
+{% extends 'base.html' %}
+{% block content %}
+<form action="/accounts/login/" method="post">
+{{ form.as_p }}
+<input type="submit" value="Login" />
+</form>
+<a href="/accounts/password/reset">Forgot password?</a>
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/registration/logout.html	Fri Jan 07 10:49:48 2011 +0530
@@ -0,0 +1,6 @@
+{% extends 'base.html' %}
+{% block content %}
+You have successfully logged out of PyTasks.
+<br><br>
+<a href="/">Click here</a> to go back to PyTask Homepage
+{% endblock %}