42 lines
2 KiB
Twig
42 lines
2 KiB
Twig
{% extends 'global/master.twig' %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if sakura.lockAuth %}
|
|
<h1 class="stylised" style="line-height: 1.8em; text-align: center;">Logging in is disabled for security checkups! Try again later.</h1>
|
|
{% else %}
|
|
<div class="loginPage">
|
|
<div class="loginForm">
|
|
<div class="head">
|
|
Login
|
|
</div>
|
|
<form method="post" action="{{ route('auth.login') }}" id="loginForm">
|
|
<input type="hidden" name="redirect" value="{{ sakura.referrer ? sakura.referrer : route('main.index') }}" />
|
|
<input type="hidden" name="session" value="{{ php.sessionid }}" />
|
|
<div class="leftAlign">
|
|
<label for="loginUserName">Username:</label>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="text" id="loginUserName" name="username" autofocus="true" />
|
|
</div>
|
|
<div class="leftAlign">
|
|
<label for="loginPassword">Password:</label>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="password" id="loginPassword" name="password" />
|
|
</div>
|
|
<div class="subLinks centreAlign">
|
|
<input class="inputStyling" name="remember" type="checkbox" class="ignore-css" id="loginRemember" /><label for="loginRemember">Remember Me</a>
|
|
</div>
|
|
<div class="centreAlign">
|
|
<input class="inputStyling" type="submit" id="loginButton" name="submit" value="Login" />
|
|
</div>
|
|
<div class="subLinks centreAlign">
|
|
future links to password forgot, reactivate and register here
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|