diff options
author | Přemysl Janouch <p@janouch.name> | 2019-04-14 22:30:40 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-04-14 22:30:40 +0200 |
commit | 1331f3b5642f521236fcb1ec21ee43d5b76c0b91 (patch) | |
tree | 1213c2f2014cf0eff5a4a881b02cbebf91a604b8 /cmd/sklad/login.tmpl | |
parent | 7d9410c6b3a724e3670941f7ec2d00e7966d0b1a (diff) | |
download | sklad-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.tmpl | 17 |
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 }} |