From b9c709823e26f5b20d3732e1788b871cdd961a03 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 27 Aug 2019 12:29:12 +0530 Subject: added intial code for project --- static/website/templates/registration/login.html | 41 ++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 static/website/templates/registration/login.html (limited to 'static/website/templates/registration/login.html') diff --git a/static/website/templates/registration/login.html b/static/website/templates/registration/login.html new file mode 100644 index 0000000..319897c --- /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' %} + + -- cgit