aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-05-06 19:58:19 +0200
committerArthurHoaro <arthur@hoa.ro>2016-05-06 19:58:19 +0200
commitdbcd06e988d8434f125b8a5ee8f5bbcb7cd87874 (patch)
tree9d71762955482098d655db7cc4e3370356c93f55 /tpl
parent6275a65969a84a360588e0a62b025963e9ec98e0 (diff)
downloadShaarli-dbcd06e988d8434f125b8a5ee8f5bbcb7cd87874.tar.gz
Shaarli-dbcd06e988d8434f125b8a5ee8f5bbcb7cd87874.tar.zst
Shaarli-dbcd06e988d8434f125b8a5ee8f5bbcb7cd87874.zip
Reindent the login template
Diffstat (limited to 'tpl')
-rw-r--r--tpl/loginform.html37
1 files changed, 19 insertions, 18 deletions
diff --git a/tpl/loginform.html b/tpl/loginform.html
index 678375fd..f0b45df2 100644
--- a/tpl/loginform.html
+++ b/tpl/loginform.html
@@ -1,26 +1,27 @@
1<!DOCTYPE html> 1<!DOCTYPE html>
2<html> 2<html>
3<head>{include="includes"}</head> 3<head>{include="includes"}</head>
4<body{if="ban_canLogin()"} onload="document.loginform.login.focus();"{/if}> 4<body
5{if="ban_canLogin()"} onload="document.loginform.login.focus();"{/if}>
5<div id="pageheader"> 6<div id="pageheader">
6 {include="page.header"} 7 {include="page.header"}
7 8
8 <div id="headerform"> 9 <div id="headerform">
9{if="!ban_canLogin()"} 10 {if="!ban_canLogin()"}
10 You have been banned from login after too many failed attempts. Try later. 11 You have been banned from login after too many failed attempts. Try later.
11{else} 12 {else}
12 <form method="post" name="loginform"> 13 <form method="post" name="loginform">
13 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label> 14 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label>
14 <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"></label> 15 <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"></label>
15 <input type="submit" value="Login" class="bigbutton" tabindex="4"> 16 <input type="submit" value="Login" class="bigbutton" tabindex="4">
16 <label for="longlastingsession"> 17 <label for="longlastingsession">
17 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"> 18 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3">
18 Stay signed in (Do not check on public computers)</label> 19 Stay signed in (Do not check on public computers)</label>
19 <input type="hidden" name="token" value="{$token}"> 20 <input type="hidden" name="token" value="{$token}">
20 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} 21 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
21 </form> 22 </form>
22{/if} 23 {/if}
23 </div> 24 </div>
24</div> 25</div>
25 26
26{include="page.footer"} 27{include="page.footer"}