2020-02-19 15:24:58 +00:00
|
|
|
{% extends "nopaque.html.j2" %}
|
2020-10-23 06:51:46 +00:00
|
|
|
{% import 'materialize/wtf.html.j2' as wtf %}
|
2020-02-19 15:24:58 +00:00
|
|
|
|
2020-10-23 06:51:46 +00:00
|
|
|
{% block styles %}
|
|
|
|
{{ super() }}
|
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-10-23 06:51:46 +00:00
|
|
|
{% endblock styles %}
|
2020-02-20 09:28:05 +00:00
|
|
|
|
2020-10-23 06:51:46 +00:00
|
|
|
{% block page_content %}
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s12 m4">
|
|
|
|
<div class="card medium">
|
|
|
|
<div class="card-content">
|
2020-10-23 08:26:04 +00:00
|
|
|
<h1 id="title">{{ title }}</h1>
|
2020-10-23 06:51:46 +00:00
|
|
|
<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('.register') }}"><i class="material-icons left">person_add</i>Register</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-20 09:28:05 +00:00
|
|
|
</div>
|
2020-02-19 15:24:58 +00:00
|
|
|
|
2020-10-23 06:51:46 +00:00
|
|
|
<div class="col s12 m8">
|
|
|
|
<div class="card medium">
|
|
|
|
<form method="POST">
|
|
|
|
<div class="card-content">
|
|
|
|
{{ login_form.hidden_tag() }}
|
|
|
|
{{ wtf.render_field(login_form.user, material_icon='person') }}
|
|
|
|
{{ wtf.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('.reset_password_request') }}">Forgot your password?</a>
|
|
|
|
</div>
|
|
|
|
<div class="col s6 right-align">
|
|
|
|
{{ wtf.render_field(login_form.remember_me) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
2020-10-23 06:51:46 +00:00
|
|
|
<div class="card-action right-align">
|
|
|
|
{{ wtf.render_field(login_form.submit, material_icon='send') }}
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
2020-10-23 06:51:46 +00:00
|
|
|
</form>
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
2020-10-23 06:51:46 +00:00
|
|
|
</div>
|
2020-02-19 15:24:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|