diff options
-rw-r--r-- | inc/shaarli.css | 14 | ||||
-rw-r--r-- | tpl/loginform.html | 10 |
2 files changed, 20 insertions, 4 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css index c4348c70..c979ff5e 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css | |||
@@ -975,6 +975,20 @@ div.dailyNoEntry { | |||
975 | margin: 3px; | 975 | margin: 3px; |
976 | } | 976 | } |
977 | 977 | ||
978 | #headerform label { | ||
979 | width: 100%; | ||
980 | display: block; | ||
981 | height: auto; | ||
982 | line-height: 25px; | ||
983 | padding-bottom: 10px; | ||
984 | } | ||
985 | |||
986 | #headerform label input[type=text], | ||
987 | #headerform label input[type=password]{ | ||
988 | float: right; | ||
989 | width: 70%; | ||
990 | } | ||
991 | |||
978 | .searchform, .tagfilter { | 992 | .searchform, .tagfilter { |
979 | display: block !important; | 993 | display: block !important; |
980 | margin: 0px 3px 7px 0px !important; | 994 | margin: 0px 3px 7px 0px !important; |
diff --git a/tpl/loginform.html b/tpl/loginform.html index 954f6f1f..91b948dd 100644 --- a/tpl/loginform.html +++ b/tpl/loginform.html | |||
@@ -10,10 +10,12 @@ | |||
10 | You have been banned from login after too many failed attempts. Try later. | 10 | You have been banned from login after too many failed attempts. Try later. |
11 | {else} | 11 | {else} |
12 | <form method="post" name="loginform"> | 12 | <form method="post" name="loginform"> |
13 | Login: <input type="text" name="login" tabindex="1"> | 13 | <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label> |
14 | Password : <input type="password" name="password" tabindex="2"> | 14 | <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"></label> |
15 | <input type="submit" value="Login" class="bigbutton" tabindex="4"><br> | 15 | <input type="submit" value="Login" class="bigbutton" tabindex="4"> |
16 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"><label for="longlastingsession"> Stay signed in (Do not check on public computers)</label> | 16 | <label for="longlastingsession"> |
17 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"> | ||
18 | Stay signed in (Do not check on public computers)</label> | ||
17 | <input type="hidden" name="token" value="{$token}"> | 19 | <input type="hidden" name="token" value="{$token}"> |
18 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if} | 20 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if} |
19 | </form> | 21 | </form> |