diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 11:07:55 +0200 |
commit | 83faedadff76c5bdca036f39f13943f63b27e164 (patch) | |
tree | 6f44cede16ec6a60f10b9699e211e0818f06d2c8 /tpl/vintage/loginform.html | |
parent | 1d9eb22a3df85b67fe6652c0876cd7382c2fb525 (diff) | |
parent | 658988f3aeba7a5a938783249ccf2765251e5597 (diff) | |
download | Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.gz Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.tar.zst Shaarli-83faedadff76c5bdca036f39f13943f63b27e164.zip |
Merge tag 'v0.9.7' into stable
Release v0.9.7
Diffstat (limited to 'tpl/vintage/loginform.html')
-rw-r--r-- | tpl/vintage/loginform.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tpl/vintage/loginform.html b/tpl/vintage/loginform.html new file mode 100644 index 00000000..1becd44f --- /dev/null +++ b/tpl/vintage/loginform.html | |||
@@ -0,0 +1,40 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head>{include="includes"}</head> | ||
4 | <body | ||
5 | {if="ban_canLogin($conf)"} | ||
6 | {if="empty($username)"} | ||
7 | onload="document.loginform.login.focus();" | ||
8 | {else} | ||
9 | onload="document.loginform.password.focus();" | ||
10 | {/if} | ||
11 | {/if}> | ||
12 | <div id="pageheader"> | ||
13 | {include="page.header"} | ||
14 | |||
15 | <div id="headerform"> | ||
16 | {if="!ban_canLogin($conf)"} | ||
17 | You have been banned from login after too many failed attempts. Try later. | ||
18 | {else} | ||
19 | <form method="post" name="loginform"> | ||
20 | <label for="login">Login: <input type="text" id="login" name="login" tabindex="1" | ||
21 | {if="!empty($username)"}value="{$username}"{/if}> | ||
22 | </label> | ||
23 | <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"> | ||
24 | </label> | ||
25 | <input type="submit" value="Login" class="bigbutton" tabindex="4"> | ||
26 | <label for="longlastingsession"> | ||
27 | <input type="checkbox" name="longlastingsession" | ||
28 | id="longlastingsession" tabindex="3" | ||
29 | {if="$remember_user_default"}checked="checked"{/if}> | ||
30 | Stay signed in (Do not check on public computers)</label> | ||
31 | <input type="hidden" name="token" value="{$token}"> | ||
32 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} | ||
33 | </form> | ||
34 | {/if} | ||
35 | </div> | ||
36 | </div> | ||
37 | |||
38 | {include="page.footer"} | ||
39 | </body> | ||
40 | </html> | ||