aboutsummaryrefslogtreecommitdiff
path: root/sklad/login.tmpl
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-13 22:50:08 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-13 23:54:24 +0200
commitbcfb9fbc2bc035149a71df1ffef96f23e668e815 (patch)
tree3a2cad243a1f729cd212fd0432ddbfe7e1362a57 /sklad/login.tmpl
parentf5790dbff9cec6d3fbd09952ba5453ef7a13baf9 (diff)
downloadsklad-bcfb9fbc2bc035149a71df1ffef96f23e668e815.tar.gz
sklad-bcfb9fbc2bc035149a71df1ffef96f23e668e815.tar.xz
sklad-bcfb9fbc2bc035149a71df1ffef96f23e668e815.zip
sklad: implement login and logout
So far there are no other pages, and nothing links to the logout.
Diffstat (limited to 'sklad/login.tmpl')
-rw-r--r--sklad/login.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/sklad/login.tmpl b/sklad/login.tmpl
new file mode 100644
index 0000000..4df6c3a
--- /dev/null
+++ b/sklad/login.tmpl
@@ -0,0 +1,14 @@
+{{ define "Title" }}Přihlášení{{ end }}
+{{ define "Content" }}
+
+<form method=post>
+<label for=password>Heslo:</label>
+<input type=password name=password id=password>
+<input type=submit value="Přihlásit">
+</form>
+
+{{ if .IncorrectPassword }}
+<p>Bylo zadáno nesprávné heslo.
+{{ end }}
+
+{{ end }}