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/authenticate.twig

71 lines
3.3 KiB
Twig
Raw Normal View History

2016-01-04 20:14:09 +00:00
{% extends 'global/master.twig' %}
{% block title %}Authentication{% endblock %}
{% block content %}
2015-08-20 23:17:27 +00:00
{% if sakura.lockAuth %}
<h1 class="stylised" style="line-height: 1.8em; text-align: center;">Authentication is currently disallowed, try again later.</h1>
2015-04-24 19:31:09 +00:00
{% else %}
2015-04-06 21:23:54 +00:00
<div class="loginPage">
<div class="passwordForm">
<div class="head">
Lost Password
</div>
<form method="post" action="{{ urls.format('AUTH_ACTION') }}" id="passwordForm">
2015-04-06 21:23:54 +00:00
<input type="hidden" name="mode" value="forgotpassword" />
<input type="hidden" name="session" value="{{ php.sessionid }}" />
<input type="hidden" name="time" value="{{ php.time }}" />
<div class="leftAlign">
<label for="forgotUserName">Username:</label>
</div>
<div class="centreAlign">
<input class="inputStyling" type="text" id="forgotUserName" name="username" />
</div>
<div class="leftAlign">
<label for="forgotEmail">E-mail:</label>
</div>
<div class="centreAlign">
<input class="inputStyling" type="text" id="forgotEmail" name="email" />
</div>
<div class="centreAlign">
2015-04-27 15:13:52 +00:00
<input class="inputStyling" type="submit" name="submit" value="Request Password" id="requestPassBtn" />
2015-04-06 21:23:54 +00:00
</div>
<div class="subLinks centreAlign">
Contact us if you lost access to your e-mail address!
2015-04-06 21:23:54 +00:00
</div>
</form>
</div>
2016-01-09 21:57:54 +00:00
{% if sakura.requireActivation %}
<div class="resendForm">
2015-04-19 13:00:32 +00:00
<div class="head">
Resend Activation E-mail
2015-04-06 21:23:54 +00:00
</div>
<form method="post" action="{{ urls.format('AUTH_ACTION') }}" id="resendForm">
2015-04-19 13:00:32 +00:00
<input type="hidden" name="mode" value="resendactivemail" />
<input type="hidden" name="session" value="{{ php.sessionid }}" />
<input type="hidden" name="time" value="{{ php.time }}" />
<div class="leftAlign">
<label for="activeUserName">Username:</label>
</div>
<div class="centreAlign">
<input class="inputStyling" type="text" id="activeUserName" name="username" />
</div>
<div class="leftAlign">
<label for="activeEmail">E-mail:</label>
</div>
<div class="centreAlign">
<input class="inputStyling" type="text" id="activeEmail" name="email" />
</div>
<div class="centreAlign">
2015-04-27 15:13:52 +00:00
<input class="inputStyling" type="submit" name="submit" value="Request Activation" id="requestActiveBtn" />
2015-04-19 13:00:32 +00:00
</div>
<div class="subLinks centreAlign">
2015-04-24 19:31:09 +00:00
Read the footnote on the Lost Password form.
2015-04-19 13:00:32 +00:00
</div>
</form>
2015-04-06 21:23:54 +00:00
</div>
{% endif %}
2015-04-06 21:23:54 +00:00
</div>
2015-04-24 19:31:09 +00:00
{% endif %}
{% endblock %}