summaryrefslogtreecommitdiff
path: root/arduino_blog/templates/login.html
diff options
context:
space:
mode:
authorPrashant S2020-02-27 17:21:19 +0530
committerGitHub2020-02-27 17:21:19 +0530
commit61c91c743fabb5c31127e8f8a8109364eda9b8ff (patch)
treed7a1e70ff6bc1fe40ab580326bd92b6f6807e205 /arduino_blog/templates/login.html
parent802bbc270363d1432cb28cd88d6c9003d8b99b6c (diff)
parente1fe11723b0d064684137667ba40c32df34483ed (diff)
downloadarduino_projects_website-61c91c743fabb5c31127e8f8a8109364eda9b8ff.tar.gz
arduino_projects_website-61c91c743fabb5c31127e8f8a8109364eda9b8ff.tar.bz2
arduino_projects_website-61c91c743fabb5c31127e8f8a8109364eda9b8ff.zip
Merge pull request #1 from prashantsinalkar/master
updated ui and code
Diffstat (limited to 'arduino_blog/templates/login.html')
-rw-r--r--arduino_blog/templates/login.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/arduino_blog/templates/login.html b/arduino_blog/templates/login.html
new file mode 100644
index 0000000..7c9bfc2
--- /dev/null
+++ b/arduino_blog/templates/login.html
@@ -0,0 +1,44 @@
+{% extends "base.html" %}
+
+{% load widget_tweaks %}
+{% load static %}
+{% block content %}
+ <section id="cfp" class="section cfp">
+ <div class="container">
+ <p>
+ <center>
+ {% if user and not user.is_anonymous %}
+ <h2>Submit Proposal </h2>
+ {% else %}
+ <h2>Login</h2>
+ {% endif %}
+ </center>
+ </p>
+ {% if registration_complete %}
+ <center>
+ <p>Thank You for your registration. You can now log in by clicking
+ <a href="{% url 'arduino_blog:user_login' %}">here!</a>
+ </p>
+ <br/>
+ <br/>
+ </center>
+ {% endif %}
+ <form action="" method="POST">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <button type="button" class="btn btn-success" name ="login" type="submit">Login</button>
+ <br/>
+ <br/>
+ <a style="padding-right : 20px;" href="{% url 'arduino_blog:user_register' %}" class="btn btn btn-primary">Create an Account
+ </a>
+ <!-- <br><br>
+ <a href="/2019/forgotpassword/" class="btn btn-primary">Forgot Password?</a> -->
+ </form>
+ </p>
+ <br>
+ </div>
+
+ </section>
+ {% endblock %}
+
+