cyberman/views/login.tt

64 lines
1.5 KiB
Plaintext
Raw Normal View History

<center>
2017-08-20 00:45:25 +02:00
<br />
<h1>Log in</h1>
<br />
2017-08-20 00:45:25 +02:00
<% IF account_created %>
<div class="msgBox">
2019-02-23 05:53:45 +01:00
Your account has been created and a confirmation email sent to <% params.email | html_entity %>. Please confirm your email address to confirm your registration.
2017-08-20 00:45:25 +02:00
</div>
<br /><br />
<% END %>
2017-08-20 00:45:25 +02:00
<% IF params.pwchange %>
<div class="msgBox">
2019-02-23 05:53:45 +01:00
Your password has been changed and all sessions logged out. Please log in again.
2017-08-20 00:45:25 +02:00
</div>
<br /><br />
<% END %>
<% IF error %>
<div class="msgBox">
<% IF e_no_user %>
2019-02-23 05:53:45 +01:00
Your email address is not registered or the password is incorrect.
2017-08-20 00:45:25 +02:00
<% END %>
<% IF e_pass %>
2019-02-23 05:53:45 +01:00
Your email address is not registered or the password is incorrect.
2017-08-20 00:45:25 +02:00
<% END %>
<% IF e_not_confirmed %>
2019-02-23 05:53:45 +01:00
Please confirm your email address.
2017-08-20 00:45:25 +02:00
<% END %>
</div>
<br /><br />
<% END %>
</center>
<div class="body">
2017-08-20 00:45:25 +02:00
<form method=POST class="login" action="login">
<table>
<tr>
<td>
<label for="email">Email address:</label>
</td>
<td>
2019-02-23 05:53:45 +01:00
<input type="email" name="email" id="email" required/>
2017-08-20 00:45:25 +02:00
</td>
</tr>
<tr>
<td>
<label for="password">Password:</label>
</td>
<td>
2019-02-23 05:53:45 +01:00
<input type="password" name="password" id="password" required/>
2017-08-20 00:45:25 +02:00
</td>
</tr>
</table>
<br />
2019-02-23 05:53:45 +01:00
[&nbsp;<button action="submit" class="textButton">Log&nbsp;in</button>&nbsp;]
[&nbsp;<a href="index" class="bracketButton">Go&nbsp;back</a>&nbsp;]
2017-08-20 00:45:25 +02:00
<br /><br />
2019-02-23 05:53:45 +01:00
[&nbsp;<a href="forgot" class="bracketButton">Recover password</a>&nbsp;]
2017-08-20 00:45:25 +02:00
</form>
</div>