2017-01-14 15:52:17 +01:00
|
|
|
<!DOCTYPE html>
|
2019-07-12 23:56:43 +02:00
|
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
2017-01-14 15:52:17 +01:00
|
|
|
<head>
|
|
|
|
{include="includes"}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
{include="page.header"}
|
2017-10-25 23:03:31 +02:00
|
|
|
{if="!$user_can_login"}
|
2017-01-14 15:52:17 +01:00
|
|
|
<div class="pure-g pure-alert pure-alert-error pure-alert-closable center">
|
|
|
|
<div class="pure-u-2-24"></div>
|
|
|
|
<div class="pure-u-20-24">
|
2019-07-12 23:54:42 +02:00
|
|
|
<p>{'You have been banned after too many failed login attempts. Try again later.'|t}</p>
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<div class="pure-u-2-24">
|
|
|
|
<i class="fa fa-times pure-alert-close"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{else}
|
|
|
|
<div class="pure-g">
|
|
|
|
<div class="pure-u-lg-1-3 pure-u-1-24"></div>
|
2018-05-10 13:26:11 +02:00
|
|
|
<div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24 login-form-container">
|
2017-01-14 15:52:17 +01:00
|
|
|
<form method="post" name="loginform">
|
|
|
|
<h2 class="window-title">{'Login'|t}</h2>
|
|
|
|
<div>
|
2019-07-12 23:54:42 +02:00
|
|
|
<input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}"
|
|
|
|
{if="!empty($username)"}value="{$username}"{/if} class="autofocus">
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<div>
|
2019-07-12 23:54:42 +02:00
|
|
|
<input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" class="autofocus">
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<div class="remember-me">
|
|
|
|
<input type="checkbox" name="longlastingsession" id="longlastingsessionform"
|
2019-07-12 23:54:42 +02:00
|
|
|
{if="$remember_user_default"}checked="checked"{/if}>
|
2017-01-14 15:52:17 +01:00
|
|
|
<label for="longlastingsessionform">{'Remember me'|t}</label>
|
|
|
|
</div>
|
|
|
|
<div>
|
2019-07-12 23:54:42 +02:00
|
|
|
<input type="submit" value="{'Login'|t}" class="bigbutton">
|
2017-01-14 15:52:17 +01:00
|
|
|
</div>
|
|
|
|
<input type="hidden" name="token" value="{$token}">
|
|
|
|
{if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="pure-u-lg-1-3 pure-u-1-8"></div>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{include="page.footer"}
|
|
|
|
</body>
|
|
|
|
</html>
|