From c2a414e18d19c304bc5a1d9f74639968cc86bef5 Mon Sep 17 00:00:00 2001 From: Nishanth Amuluru Date: Fri, 7 Jan 2011 10:49:48 +0530 Subject: Added templates for login and logout --- templates/registration/logged_out.html | 12 ++++++++++++ templates/registration/login.html | 8 ++++++++ templates/registration/logout.html | 6 ++++++ 3 files changed, 26 insertions(+) create mode 100644 templates/registration/logged_out.html create mode 100644 templates/registration/login.html create mode 100644 templates/registration/logout.html diff --git a/templates/registration/logged_out.html b/templates/registration/logged_out.html new file mode 100644 index 0000000..9b37497 --- /dev/null +++ b/templates/registration/logged_out.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block breadcrumbs %}{% endblock %} + +{% block content %} + +

{% trans "Thanks for spending some quality time with the Web site today." %}

+ +

{% trans 'Log in again' %}

+ +{% endblock %} diff --git a/templates/registration/login.html b/templates/registration/login.html new file mode 100644 index 0000000..b2e60d6 --- /dev/null +++ b/templates/registration/login.html @@ -0,0 +1,8 @@ +{% extends 'base.html' %} +{% block content %} +
+{{ form.as_p }} + +
+Forgot password? +{% endblock %} diff --git a/templates/registration/logout.html b/templates/registration/logout.html new file mode 100644 index 0000000..480adfe --- /dev/null +++ b/templates/registration/logout.html @@ -0,0 +1,6 @@ +{% extends 'base.html' %} +{% block content %} +You have successfully logged out of PyTasks. +

+Click here to go back to PyTask Homepage +{% endblock %} -- cgit