mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
49 lines
1.5 KiB
Django/Jinja
49 lines
1.5 KiB
Django/Jinja
{% extends "nopaque.html.j2" %}
|
|
|
|
{% set headline = ' ' %}
|
|
|
|
{% block page_content %}
|
|
<style>
|
|
main {
|
|
background-image: url("{{ url_for('static', filename='images/parallax_lq/04_german_text_book_paper.jpg') }}");
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
</style>
|
|
|
|
<div class="col s12 m4">
|
|
<div class="card medium">
|
|
<div class="card-content">
|
|
<h2>Log in</h2>
|
|
<p>Want to boost your research and get going? nopaque is free and no download is needed. Register now!</p>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
<a class="btn" href="{{ url_for('auth.register') }}"><i class="material-icons left">person_add</i>Register</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col s12 m8">
|
|
<div class="card medium">
|
|
<form method="POST">
|
|
<div class="card-content">
|
|
{{ login_form.hidden_tag() }}
|
|
{{ M.render_field(login_form.user, material_icon='person') }}
|
|
{{ M.render_field(login_form.password, material_icon='vpn_key') }}
|
|
<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">
|
|
{{ M.render_field(login_form.remember_me) }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-action right-align">
|
|
{{ M.render_field(login_form.submit, material_icon='send') }}
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|