summaryrefslogtreecommitdiffstats
path: root/templates/login.htm
diff options
context:
space:
mode:
authorJokler <jokler@protonmail.com>2020-06-21 06:37:46 +0200
committerJokler <jokler@protonmail.com>2020-06-21 06:37:46 +0200
commite6468b012d5b33dd16992652da57f11dd5a6e82f (patch)
treee89add440df79d4036b9b44d8c77ee6d69e67201 /templates/login.htm
downloadjoklerpoints-master.tar.gz
joklerpoints-master.zip
Initial commitHEADmaster
Diffstat (limited to 'templates/login.htm')
-rw-r--r--templates/login.htm19
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/login.htm b/templates/login.htm
new file mode 100644
index 0000000..e107aeb
--- /dev/null
+++ b/templates/login.htm
@@ -0,0 +1,19 @@
+{% extends "base.htm" %}
+
+{% block title %}Login{% endblock %}
+
+{% block content %}
+<h1>Login</h1>
+{% if failed -%}
+ <div class="error">Invalid Login Data</div>
+{% endif -%}
+<form class="fixed-form" action="/login" method="POST">
+ <input type="text" placeholder="Enter Username" name="user" required>
+ <input type="password" placeholder="Enter Password" name="password" required>
+
+ <button type="submit">Login</button>
+</form>
+{% endblock %}
+
+<!-- vim: expandtab sw=2 ts=2
+-->