summaryrefslogtreecommitdiff
path: root/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/login.html')
-rw-r--r--templates/login.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000..26a2329
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Create Account</title>
+ </head>
+ <body>
+ <div class="column is-4 is-offset-4">
+ <h3 class="title">Login</h3>
+ <div class="box">
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <div class="notification is-danger">
+ {{ messages[0] }}
+ </div>
+ {% endif %}
+ {% endwith %}
+ <form method="POST" action="/login">
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="email" name="email" placeholder="Your Email" autofocus="">
+ </div>
+ </div>
+
+ <div class="field">
+ <div class="control">
+ <input class="input is-large" type="password" name="password" placeholder="Your Password">
+ </div>
+ </div>
+ <div class="field">
+ <label class="checkbox">
+ <input type="checkbox" name="remember">
+ Remember me
+ </label>
+ </div>
+ <button class="button is-block is-info is-large is-fullwidth">Login</button>
+ </form>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file