diff options
author | prashantsinalkar | 2019-08-27 12:29:12 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-08-27 12:29:12 +0530 |
commit | b9c709823e26f5b20d3732e1788b871cdd961a03 (patch) | |
tree | a9089f56541854b48ddbda733832a153c6d53927 /static/website/templates/registration/login.html | |
parent | 50e8fc0832d81d124abd7606b15502545bf84b23 (diff) | |
download | SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.tar.gz SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.tar.bz2 SciPy2019-b9c709823e26f5b20d3732e1788b871cdd961a03.zip |
added intial code for project
Diffstat (limited to 'static/website/templates/registration/login.html')
-rw-r--r-- | static/website/templates/registration/login.html | 41 |
1 files changed, 41 insertions, 0 deletions
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 %} +<!DOCTYPE html> +<html lang="en"> +{% include 'header.html' %} +<body data-spy="scroll" data-target="#site-nav"> +<div class="se-pre-con"></div> + + {% include 'navbar.html' %} + {% block content %} + <section id="login" class="section login"> + <div class="container"> + <div class="row"> + {% if user.is_authenticated %} + Hi {{ user.username }}! +{% else %} + <p>You are not logged in</p> + <a href="{% url 'auth:login' %}">login</a> +{% endif %} +<h2>Login</h2> +<form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button type="submit">Login</button> +</form> + </form> + + + <!-- End form --> + </div> + + + + </div> + </div> +</section> + {% endblock %} + + + {% include 'footer.html' %} + </body> +</html> |