]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/loginform.html
CachedPage: move to a proper file, add tests
[github/shaarli/Shaarli.git] / tpl / loginform.html
1 <!DOCTYPE html>
2 <html>
3 <head>{include="includes"}</head>
4 <body{if="ban_canLogin()"} onload="document.loginform.login.focus();"{/if}>
5 <div id="pageheader">
6 {include="page.header"}
7
8 <div id="headerform">
9 {if="!ban_canLogin()"}
10 You have been banned from login after too many failed attempts. Try later.
11 {else}
12 <form method="post" name="loginform">
13 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label>
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">
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>
19 <input type="hidden" name="token" value="{$token}">
20 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
21 </form>
22 {/if}
23 </div>
24 </div>
25
26 {include="page.footer"}
27 </body>
28 </html>