2020-02-19 15:24:58 +00:00
|
|
|
{% extends "nopaque.html.j2" %}
|
|
|
|
|
2020-02-27 14:39:53 +00:00
|
|
|
{% set headline = ' ' %}
|
|
|
|
|
2020-02-19 15:24:58 +00:00
|
|
|
{% block page_content %}
|
2020-02-20 09:28:05 +00:00
|
|
|
<style>
|
|
|
|
main {
|
2020-02-27 14:41:06 +00:00
|
|
|
background-image: url("{{ url_for('static', filename='images/parallax_lq/04_german_text_book_paper.jpg') }}");
|
2020-02-20 09:32:02 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2020-02-20 09:28:05 +00:00
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2020-02-19 15:24:58 +00:00
|
|
|
<div class="col s12 m4">
|
2020-02-20 09:28:05 +00:00
|
|
|
<div class="card medium">
|
|
|
|
<div class="card-content">
|
2020-02-27 14:39:53 +00:00
|
|
|
<h2>Log in</h2>
|
2020-02-27 10:29:42 +00:00
|
|
|
<p>Want to boost your research and get going? nopaque is free and no download is needed. Register now!</p>
|
2020-02-20 09:28:05 +00:00
|
|
|
</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>
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col s12 m8">
|
2020-02-20 09:28:05 +00:00
|
|
|
<div class="card medium">
|
2020-02-19 15:24:58 +00:00
|
|
|
<form method="POST">
|
2020-03-02 13:13:32 +00:00
|
|
|
{{ login_form.hidden_tag() }}
|
2020-02-19 15:24:58 +00:00
|
|
|
<div class="card-content">
|
|
|
|
<div class="input-field">
|
|
|
|
<i class="material-icons prefix">person</i>
|
2020-02-20 08:45:38 +00:00
|
|
|
{{ login_form.user(class='validate') }}
|
|
|
|
{{ login_form.user.label }}
|
|
|
|
{% for error in login_form.user.errors %}
|
2020-02-19 15:24:58 +00:00
|
|
|
<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
|
2020-02-19 15:58:56 +00:00
|
|
|
{{ login_form.remember_me(class='validate') }}
|
2020-02-19 15:24:58 +00:00
|
|
|
<span class="lever"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-action right-align">
|
2020-02-24 08:27:02 +00:00
|
|
|
{{ macros.submit_button(login_form.submit) }}
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|