mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
53 lines
2.0 KiB
Django/Jinja
53 lines
2.0 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
|
|
{% block page_content %}
|
|
<div class="col s12 m4">
|
|
<h3>Cyber cyber</h3>
|
|
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
|
|
</div>
|
|
|
|
<div class="col s12 m8">
|
|
<div class="card">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
<span class="card-title">Log in</span>
|
|
{{ login_form.hidden_tag() }}
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">person</i>
|
|
{{ login_form.user(class='validate') }}
|
|
{{ login_form.user.label }}
|
|
{% for error in login_form.user.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="input-field">
|
|
<i class="material-icons prefix">vpn_key</i>
|
|
{{ login_form.password(class='validate') }}
|
|
{{ login_form.password.label }}
|
|
{% for error in login_form.password.errors %}
|
|
<span class="helper-text red-text">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="row" style="margin-bottom: 0;">
|
|
<div class="col s6 left-align">
|
|
<a href="{{ url_for('auth.reset_password_request') }}">Forgot your password?</a>
|
|
</div>
|
|
<div class="col s6 right-align">
|
|
<div class="switch">
|
|
<label>
|
|
Remember me
|
|
{{ login_form.remember_me(class='validate') }}
|
|
<span class="lever"></span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
<button class="btn waves-effect waves-light" id="login-form-submit" name="login-form-submit" type="submit">Log in<i class="material-icons right">send</i></button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|