]>
Commit | Line | Data |
---|---|---|
402b0346 | 1 | <!DOCTYPE html> |
85287293 | 2 | <html {if="$language !== 'auto'"} lang="{$language}"{/if}> |
402b0346 A |
3 | <head> |
4 | {include="includes"} | |
5 | </head> | |
6 | <body> | |
7 | {include="page.header"} | |
44acf706 | 8 | {if="!$user_can_login"} |
402b0346 A |
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"> | |
85287293 | 12 | <p>{'You have been banned after too many failed login attempts. Try again later.'|t}</p> |
402b0346 A |
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> | |
9d0fc862 | 21 | <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24 login-form-container"> |
402b0346 A |
22 | <form method="post" name="loginform"> |
23 | <h2 class="window-title">{'Login'|t}</h2> | |
24 | <div> | |
85287293 LC |
25 | <input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" |
26 | {if="!empty($username)"}value="{$username}"{/if} class="autofocus"> | |
402b0346 A |
27 | </div> |
28 | <div> | |
85287293 | 29 | <input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" class="autofocus"> |
402b0346 A |
30 | </div> |
31 | <div class="remember-me"> | |
32 | <input type="checkbox" name="longlastingsession" id="longlastingsessionform" | |
85287293 | 33 | {if="$remember_user_default"}checked="checked"{/if}> |
402b0346 A |
34 | <label for="longlastingsessionform">{'Remember me'|t}</label> |
35 | </div> | |
36 | <div> | |
85287293 | 37 | <input type="submit" value="{'Login'|t}" class="bigbutton"> |
402b0346 A |
38 | </div> |
39 | <input type="hidden" name="token" value="{$token}"> | |
40 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} | |
41 | </form> | |
42 | </div> | |
43 | <div class="pure-u-lg-1-3 pure-u-1-8"></div> | |
44 | </div> | |
45 | {/if} | |
46 | ||
47 | {include="page.footer"} | |
402b0346 A |
48 | </body> |
49 | </html> |