2016-02-05 12:26:31 +00:00
|
|
|
{% extends 'global/master.twig' %}
|
|
|
|
|
2016-02-27 16:46:16 +00:00
|
|
|
{% block title %}Login{% endblock %}
|
2016-02-05 12:26:31 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if sakura.lockAuth %}
|
2016-02-27 16:46:16 +00:00
|
|
|
<h1 class="stylised" style="line-height: 1.8em; text-align: center;">Logging in is disabled for security checkups! Try again later.</h1>
|
2016-02-05 12:26:31 +00:00
|
|
|
{% else %}
|
2016-02-27 16:46:16 +00:00
|
|
|
<div class="loginPage">
|
|
|
|
<div class="loginForm">
|
|
|
|
<div class="head">
|
|
|
|
Login
|
2016-02-05 12:26:31 +00:00
|
|
|
</div>
|
2016-02-27 16:46:16 +00:00
|
|
|
<form method="post" action="{{ route('auth.login') }}" id="loginForm">
|
|
|
|
<input type="hidden" name="redirect" value="{{ sakura.referrer ? sakura.referrer : route('main.index') }}" />
|
2016-03-27 22:15:51 +00:00
|
|
|
<input type="hidden" name="session" value="{{ session_id() }}" />
|
2016-02-27 16:46:16 +00:00
|
|
|
<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">
|
2016-03-25 17:10:42 +00:00
|
|
|
<button class="inputStyling" id="loginButton"><i class="fa fa-sign-in"></i> Login</button>
|
2016-02-27 16:46:16 +00:00
|
|
|
</div>
|
2016-03-25 17:10:42 +00:00
|
|
|
<div class="subLinks centreAlign" style="line-height: 1.5em;">
|
|
|
|
<p><a href="{{ route('auth.register') }}" class="default">I don't have an account yet!</a></p>
|
|
|
|
<p><a href="{{ route('auth.resetpassword') }}" class="default">I forgot my password!</a></p>
|
|
|
|
<p><a href="{{ route('auth.reactivate') }}" class="default">I want to reactivate my account!</a></p>
|
2016-02-27 16:46:16 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2016-02-05 12:26:31 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|