]>
Commit | Line | Data |
---|---|---|
f26d4d56 A |
1 | <!DOCTYPE html> |
2 | <html> | |
3 | <head> | |
4 | {include="includes"} | |
5 | </head> | |
6 | <body> | |
7 | {include="page.header"} | |
8 | {if="!ban_canLogin()"} | |
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. | |
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-8"></div> | |
21 | <div id="login-form" class="pure-u-lg-1-3 pure-u-3-4"> | |
22 | <form method="post" name="loginform"> | |
23 | <h2>Login</h2> | |
24 | <div> | |
25 | <input type="text" name="login" placeholder="Username" tabindex="3"> | |
26 | </div> | |
27 | <div> | |
28 | <input type="password" name="password" placeholder="Password" tabindex="4"> | |
29 | </div> | |
30 | <div class="remember-me"> | |
31 | <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="5"> | |
32 | <label for="longlastingsession">Remember me</label> | |
33 | </div> | |
34 | <div> | |
35 | <input type="submit" value="Login" class="bigbutton" tabindex="6"> | |
36 | </div> | |
37 | <input type="hidden" name="token" value="{$token}"> | |
38 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} | |
39 | </form> | |
40 | </div> | |
41 | <div class="pure-u-lg-1-3 pure-u-1-8"></div> | |
42 | </div> | |
43 | ||
44 | {/if} | |
45 | ||
46 | ||
47 | </div> | |
48 | ||
49 | {include="page.footer"} | |
50 | <script> | |
51 | document.getElementsByName('login')[1].focus(); | |
52 | </script> | |
53 | </body> | |
54 | </html> | |
55 |