diff options
author | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-08-28 12:21:29 +0200 |
commit | e1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch) | |
tree | ae3450c92daec3b99059a569510a24d6ab6753a6 /loginform.html | |
parent | 03588331342e2a401ae4a8617f6225325d099fa7 (diff) | |
download | shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.tar.xz shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.zip |
Diffstat (limited to '')
-rw-r--r-- | loginform.html | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/loginform.html b/loginform.html index eb6d837..761aec0 100644 --- a/loginform.html +++ b/loginform.html @@ -1,15 +1,15 @@ <!DOCTYPE html> -<html> +<html{if="$language !== 'auto'"} lang="{$language}"{/if}> <head> {include="includes"} </head> <body> {include="page.header"} -{if="!ban_canLogin($conf)"} +{if="!$user_can_login"} <div class="pure-g pure-alert pure-alert-error pure-alert-closable center"> <div class="pure-u-2-24"></div> <div class="pure-u-20-24"> - {'You have been banned after too many failed login attempts. Try again later.'|t} + <p>{'You have been banned after too many failed login attempts. Try again later.'|t}</p> </div> <div class="pure-u-2-24"> <i class="fa fa-times pure-alert-close"></i> @@ -18,23 +18,23 @@ {else} <div class="pure-g"> <div class="pure-u-lg-1-3 pure-u-1-24"></div> - <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24"> + <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24 login-form-container"> <form method="post" name="loginform"> <h2 class="window-title">{'Login'|t}</h2> <div> - <input type="text" name="login" placeholder="{'Username'|t}" - {if="!empty($username)"}value="{$username}"{/if} class="autofocus" tabindex="20"> + <input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" + {if="!empty($username)"}value="{$username}"{/if} class="autofocus"> </div> <div> - <input type="password" name="password" placeholder="{'Password'|t}" class="autofocus" tabindex="21"> + <input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" class="autofocus"> </div> <div class="remember-me"> <input type="checkbox" name="longlastingsession" id="longlastingsessionform" - checked="checked" tabindex="22"> + {if="$remember_user_default"}checked="checked"{/if}> <label for="longlastingsessionform">{'Remember me'|t}</label> </div> <div> - <input type="submit" value="{'Login'|t}" class="bigbutton" tabindex="23"> + <input type="submit" value="{'Login'|t}" class="bigbutton"> </div> <input type="hidden" name="token" value="{$token}"> {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} @@ -47,4 +47,3 @@ {include="page.footer"} </body> </html> - |