summaryrefslogtreecommitdiffstats
path: root/templates/login.htm
diff options
context:
space:
mode:
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
+-->