diff options
author | Prashant S | 2018-08-16 14:54:58 +0530 |
---|---|---|
committer | GitHub | 2018-08-16 14:54:58 +0530 |
commit | 5fc9c374d7139d8364519a9f28f07be645d62eeb (patch) | |
tree | 7d48d9bbd7d72e4ddf2607fb987dc2cdee5a5419 /static/website/templates/registration | |
parent | 9674af451d6ede8fc3a3ee1527eb8ac2f1a61cb2 (diff) | |
parent | ae12447a47f7298bb411a1d4191e8d3dcf975e01 (diff) | |
download | SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.tar.gz SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.tar.bz2 SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.zip |
Merge pull request #7 from prashantsinalkar/master
added submit cfp
Diffstat (limited to 'static/website/templates/registration')
-rw-r--r-- | static/website/templates/registration/login.html | 41 | ||||
-rw-r--r-- | static/website/templates/registration/signup.html | 39 |
2 files changed, 80 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..86a90c6 --- /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 '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> 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 @@ +<!-- templates/signup.html --> +{% 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> +{% endif %} + <h2>Sign up</h2> + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button type="submit">Sign up</button> + </form> + + + </div> + + + + </div> + </div> +</section> + {% endblock %} + + + {% include 'footer.html' %} + </body> +</html> |