aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-14 10:31:32 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-14 10:31:32 +0200
commitfbb76679f36963daea01ef65bd939846d42b0cc1 (patch)
tree4a711378c4ee0305af1cef3ae99092da2bafd982
parente003427f9f86b0b3898cca67b39a96e391fd1b16 (diff)
downloadsklad-fbb76679f36963daea01ef65bd939846d42b0cc1.tar.gz
sklad-fbb76679f36963daea01ef65bd939846d42b0cc1.tar.xz
sklad-fbb76679f36963daea01ef65bd939846d42b0cc1.zip
sklad: autofocus desirable input fields
-rw-r--r--sklad/base.tmpl2
-rw-r--r--sklad/login.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/sklad/base.tmpl b/sklad/base.tmpl
index 542d019..d92a818 100644
--- a/sklad/base.tmpl
+++ b/sklad/base.tmpl
@@ -53,7 +53,7 @@
<a href=/series>Řady</a>
<form method=get action=/search>
- <input type=text name=q><input type=submit value="Hledat">
+ <input type=text name=q autofocus><input type=submit value="Hledat">
</form>
<form method=post action=/logout>
diff --git a/sklad/login.tmpl b/sklad/login.tmpl
index dab1172..c34ab53 100644
--- a/sklad/login.tmpl
+++ b/sklad/login.tmpl
@@ -6,7 +6,7 @@
<form method=post>
<label for=password>Heslo:</label>
-<input type=password name=password id=password
+<input type=password name=password id=password autofocus
><input type=submit value="Přihlásit">
</form>