aboutsummaryrefslogtreecommitdiff
path: root/cmd/sklad/login.tmpl
diff options
context:
space:
mode:
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 }}