From 08f9b4462e1b54494cdafe29f3f8f961d2d2857c Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 15 Aug 2018 23:19:50 +0530 Subject: added registraions template --- static/website/templates/registration/login.html | 41 +++++++++++++++++++++++ static/website/templates/registration/signup.html | 39 +++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 static/website/templates/registration/login.html create mode 100644 static/website/templates/registration/signup.html diff --git a/static/website/templates/registration/login.html b/static/website/templates/registration/login.html new file mode 100644 index 0000000..86a90c6 --- /dev/null +++ b/static/website/templates/registration/login.html @@ -0,0 +1,41 @@ +{% load static %} + + +{% include 'header.html' %} + +
+ + {% include 'navbar.html' %} + {% block content %} +
+
+
+ {% if user.is_authenticated %} + Hi {{ user.username }}! +{% else %} +

You are not logged in

+ login +{% endif %} +

Login

+
+ {% csrf_token %} + {{ form.as_p }} + +
+ + + + +
+ + + +
+ +
+ {% endblock %} + + + {% include 'footer.html' %} + + diff --git a/static/website/templates/registration/signup.html b/static/website/templates/registration/signup.html new file mode 100644 index 0000000..0094401 --- /dev/null +++ b/static/website/templates/registration/signup.html @@ -0,0 +1,39 @@ + +{% load static %} + + +{% include 'header.html' %} + +
+ + {% include 'navbar.html' %} + {% block content %} +
+
+
+ {% if user.is_authenticated %} + Hi {{ user.username }}! +{% else %} +

You are not logged in !!!!!

+{% endif %} +

Sign up

+
+ {% csrf_token %} + {{ form.as_p }} + +
+ + +
+ + + +
+ +
+ {% endblock %} + + + {% include 'footer.html' %} + + -- cgit