diff options
-rw-r--r-- | templates/registration/logged_out.html | 12 | ||||
-rw-r--r-- | templates/registration/login.html | 8 | ||||
-rw-r--r-- | templates/registration/logout.html | 6 |
3 files changed, 26 insertions, 0 deletions
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 %}<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 %} 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 action="/accounts/login/" method="post"> +{{ form.as_p }} +<input type="submit" value="Login" /> +</form> +<a href="/accounts/password/reset">Forgot password?</a> +{% 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. +<br><br> +<a href="/">Click here</a> to go back to PyTask Homepage +{% endblock %} |