summaryrefslogtreecommitdiffstats
path: root/at/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'at/templates/login.html')
-rw-r--r--at/templates/login.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/at/templates/login.html b/at/templates/login.html
new file mode 100644
index 0000000..b4174b8
--- /dev/null
+++ b/at/templates/login.html
@@ -0,0 +1,17 @@
+<html>
+<body>
+<h2>Login</h2>
+{% for error in get_flashed_messages() %}
+<p class="error">{{ error }}</p>
+{% endfor %}
+<form action="" method="POST">
+<table>
+<label><tr><td>login</td><td><input type="text" name="login" value="{{ login }}"></td></tr></label>
+<label><tr><td>password</td><td><input type="password" name="password"></td></tr></label>
+{% if goto %}
+<input type="hidden" name="goto" value="{{ goto }}">
+{% endif %}
+<tr><td></td><td><input type="submit" value="login"></input></td></tr>
+</form>
+</body>
+</html>