45 lines
2.0 KiB
HTML
45 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
|
|
<head>
|
|
{$pageName="loginform"}
|
|
{include="includes"}
|
|
</head>
|
|
<body>
|
|
{include="page.header"}
|
|
|
|
<div id="headerform" class="page-login container">
|
|
<div class="row">
|
|
<div class="col-md-6 col-md-offset-3">
|
|
<form method="post" name="loginform">
|
|
<div class="card">
|
|
<div class="card-header">{'Login'|t}</div>
|
|
<div class="card-body">
|
|
<div class="form-group">
|
|
<label class="form-label" for="login">{'Username'|t}</label>
|
|
<input type="text" name="login" id="login" class="form-control {if="empty($username)"}autofocus{/if}" tabindex="1" {if="!empty($username)"}value="{$username}"{/if}>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="form-label" for="password">{'Password'|t}</label>
|
|
<input type="password" name="password" id="password" class="form-control {if="!empty($username)"}autofocus{/if}" tabindex="2" >
|
|
</div>
|
|
<div class="form-group checkbox-wrapper">
|
|
<input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3" style="width: auto;"
|
|
{if="$remember_user_default"}checked="checked"{/if}>
|
|
<label for="longlastingsession" style="margin: 0;">{'Remember me'|t}</label>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer">
|
|
<button type="submit" class="btn btn-primary" tabindex="4">{'Login'|t}</button>
|
|
<input type="hidden" name="token" value="{$token}">
|
|
{if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{include="page.footer"}
|
|
</body>
|
|
</html>
|