aboutsummaryrefslogtreecommitdiff
path: root/cmd/sklad/login.tmpl
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-14 22:30:40 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-14 22:30:40 +0200
commit1331f3b5642f521236fcb1ec21ee43d5b76c0b91 (patch)
tree1213c2f2014cf0eff5a4a881b02cbebf91a604b8 /cmd/sklad/login.tmpl
parent7d9410c6b3a724e3670941f7ec2d00e7966d0b1a (diff)
downloadsklad-1331f3b5642f521236fcb1ec21ee43d5b76c0b91.tar.gz
sklad-1331f3b5642f521236fcb1ec21ee43d5b76c0b91.tar.xz
sklad-1331f3b5642f521236fcb1ec21ee43d5b76c0b91.zip
Move commands under cmd/
Diffstat (limited to 'cmd/sklad/login.tmpl')
-rw-r--r--cmd/sklad/login.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/cmd/sklad/login.tmpl b/cmd/sklad/login.tmpl
new file mode 100644
index 0000000..c34ab53
--- /dev/null
+++ b/cmd/sklad/login.tmpl
@@ -0,0 +1,17 @@
+{{ define "Title" }}Přihlášení{{ end }}
+{{ define "HeaderControls" }}<!-- text/template requires content -->{{ end }}
+{{ define "Content" }}
+
+<h2>Přihlášení</h2>
+
+<form method=post>
+<label for=password>Heslo:</label>
+<input type=password name=password id=password autofocus
+><input type=submit value="Přihlásit">
+</form>
+
+{{ if .IncorrectPassword }}
+<p>Bylo zadáno nesprávné heslo.
+{{ end }}
+
+{{ end }}