This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/main/login.twig

43 lines
2 KiB
Twig
Raw Normal View History

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') }}" />
<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>
2016-02-05 12:26:31 +00:00
</div>
{% endif %}
{% endblock %}