MyShaarli/tpl/default/loginform.html

39 lines
1.3 KiB
HTML
Raw Normal View History

2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
<html>
<head>{include="includes"}</head>
2016-05-06 19:58:19 +02:00
<body
{if="ban_canLogin($conf)"}
{if="empty($username)"}
onload="document.loginform.login.focus();"
{else}
onload="document.loginform.password.focus();"
{/if}
{/if}>
2013-02-26 10:09:41 +01:00
<div id="pageheader">
2016-05-06 19:58:19 +02:00
{include="page.header"}
2013-02-26 10:09:41 +01:00
2016-05-06 19:58:19 +02:00
<div id="headerform">
{if="!ban_canLogin($conf)"}
2016-05-06 19:58:19 +02:00
You have been banned from login after too many failed attempts. Try later.
{else}
<form method="post" name="loginform">
<label for="login">Login: <input type="text" id="login" name="login" tabindex="1"
{if="!empty($username)"}value="{$username}"{/if}>
</label>
<label for="password">Password: <input type="password" id="password" name="password" tabindex="2">
</label>
2016-05-06 19:58:19 +02:00
<input type="submit" value="Login" class="bigbutton" tabindex="4">
<label for="longlastingsession">
<input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3">
Stay signed in (Do not check on public computers)</label>
<input type="hidden" name="token" value="{$token}">
{if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
</form>
{/if}
</div>
2013-02-26 10:09:41 +01:00
</div>
{include="page.footer"}
</body>
</html>