aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/loginform.html
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2017-01-06 11:40:54 +0100
committerGitHub <noreply@github.com>2017-01-06 11:40:54 +0100
commit7418f7cb60524c3bfc2f240386b5e3e7eb9b3257 (patch)
tree4b0c89c133ad1679c5db3a4f0f6b94079f776395 /tpl/default/loginform.html
parent93b1fe54fb99efff30eec0d405cc7319fbbc1f95 (diff)
parent01c6e32a02034ab119d83364c4648ce55d75543b (diff)
downloadShaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.gz
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.tar.zst
Shaarli-7418f7cb60524c3bfc2f240386b5e3e7eb9b3257.zip
Merge pull request #732 from ArthurHoaro/feature/theme-manager
Theme manager: improvements
Diffstat (limited to 'tpl/default/loginform.html')
-rw-r--r--tpl/default/loginform.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html
new file mode 100644
index 00000000..84176385
--- /dev/null
+++ b/tpl/default/loginform.html
@@ -0,0 +1,38 @@
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" id="longlastingsession" tabindex="3">
28 Stay signed in (Do not check on public computers)</label>
29 <input type="hidden" name="token" value="{$token}">
30 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
31 </form>
32 {/if}
33 </div>
34</div>
35
36{include="page.footer"}
37</body>
38</html>