forked from Ugric/cov-to-ics
22 lines
766 B
Django/Jinja
22 lines
766 B
Django/Jinja
{%set page_title = "Login"%}
|
|
{% extends "base.jinja" %}
|
|
{% block body %}
|
|
<form class="login-box" method="POST" action="{{url_for('login_post')}}">
|
|
<h2>Coventry University login</h2>
|
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
|
|
<div class="field-label">Username</div>
|
|
<input type="text" name="username" placeholder="JokerT53" required>
|
|
|
|
<div class="field-label">Password</div>
|
|
<input type="password" name="password" placeholder="••••••••" required>
|
|
|
|
<p class="hint">Your credentials are sent straight to the university server and never stored on our servers.</p>
|
|
|
|
<button type="submit">Log in</button>
|
|
|
|
{% if error|trim %}<div class="error">{{error}}</div>{% endif %}
|
|
</form>
|
|
{% endblock %}
|