aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2022-04-26 18:04:16 +0200
committerMiquel Lionel <lionelmiquel@sfr.fr>2022-04-26 18:04:16 +0200
commit361d5ac7b225fc43ac53da58c023da2fc11b4b38 (patch)
treec1165f452e88cb83e46df0b71b2ff74eb592b8e0
parent9315f397791c4bf8f7c7f18f2d9e80aea8ba9f80 (diff)
downloadgpigeon-361d5ac7b225fc43ac53da58c023da2fc11b4b38.tar.gz
gpigeon-361d5ac7b225fc43ac53da58c023da2fc11b4b38.zip
Add autofocus on login and link generation fields
-rwxr-xr-xgpigeon-template.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index 03dee0b..c6479fa 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -356,7 +356,7 @@ if (ValidCookie($IDCookie, $cookiesDir) or argon2id_verify($argon2idHash,$passwo
<form method="POST">
$hiddenPasswordField
$textStrings{linkAsker_field_label}<br>
- <input id="mailfield" tabindex="1" type="text" name="mail">
+ <input id="mailfield" tabindex="1" type="text" name="mail" autofocus>
<input id="genlinkbtn" tabindex="2" type="submit" value="$textStrings{create_link_btn}">
<label id="notiflinkbymail" for="notiflinkbymail">
$textStrings{checkbox_notiflinkbymail}
@@ -412,7 +412,7 @@ else{
<tbody>
<tr>
<td>Password :</td>
- <td><input type="password" name="password"></td>
+ <td><input type="password" name="password" autofocus></td>
</tr>
<tr>
<td></td>