]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - tpl/default/loginform.html
tpl: default/vintage: pluginsadmin: fix link to documentation
[github/shaarli/Shaarli.git] / tpl / default / loginform.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 {include="includes"}
5 </head>
6 <body>
7 {include="page.header"}
8 {if="!$user_can_login"}
9 <div class="pure-g pure-alert pure-alert-error pure-alert-closable center">
10 <div class="pure-u-2-24"></div>
11 <div class="pure-u-20-24">
12 {'You have been banned after too many failed login attempts. Try again later.'|t}
13 </div>
14 <div class="pure-u-2-24">
15 <i class="fa fa-times pure-alert-close"></i>
16 </div>
17 </div>
18 {else}
19 <div class="pure-g">
20 <div class="pure-u-lg-1-3 pure-u-1-24"></div>
21 <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24 login-form-container">
22 <form method="post" name="loginform">
23 <h2 class="window-title">{'Login'|t}</h2>
24 <div>
25 <input type="text" name="login" placeholder="{'Username'|t}"
26 {if="!empty($username)"}value="{$username}"{/if} class="autofocus" tabindex="20">
27 </div>
28 <div>
29 <input type="password" name="password" placeholder="{'Password'|t}" class="autofocus" tabindex="21">
30 </div>
31 <div class="remember-me">
32 <input type="checkbox" name="longlastingsession" id="longlastingsessionform"
33 {if="$remember_user_default"}checked="checked"{/if}
34 tabindex="22">
35 <label for="longlastingsessionform">{'Remember me'|t}</label>
36 </div>
37 <div>
38 <input type="submit" value="{'Login'|t}" class="bigbutton" tabindex="23">
39 </div>
40 <input type="hidden" name="token" value="{$token}">
41 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
42 </form>
43 </div>
44 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
45 </div>
46 {/if}
47
48 {include="page.footer"}
49 </body>
50 </html>
51