nopaque/app/templates/auth/login.html.j2

32 lines
1.1 KiB
Plaintext
Raw Normal View History

{% extends "base.html.j2" %}
{% import "materialize/wtf.html.j2" as wtf %}
2020-02-19 15:24:58 +00:00
2020-10-23 06:51:46 +00:00
{% block page_content %}
<div class="container">
<div class="row">
2022-09-02 11:07:30 +00:00
<div class="col s12 m8 offset-m2">
<h1 id="title">{{ title }}</h1>
<p>Want to boost your research and get going? Nopaque is free and no download is needed. <a href="{{ url_for('.register') }}">Register now</a>!</p>
2020-02-19 15:24:58 +00:00
2022-09-02 11:07:30 +00:00
<form method="POST">
<div class="card-panel">
{{ form.hidden_tag() }}
{{ wtf.render_field(form.user, material_icon='person') }}
{{ wtf.render_field(form.password, material_icon='vpn_key') }}
<div class="row">
<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(form.remember_me) }}
2020-10-23 06:51:46 +00:00
</div>
2020-02-19 15:24:58 +00:00
</div>
2022-09-02 11:07:30 +00:00
{{ wtf.render_field(form.submit, material_icon='send', class_='width-100') }}
</div>
</form>
2020-10-23 06:51:46 +00:00
</div>
2020-02-19 15:24:58 +00:00
</div>
</div>
2021-12-01 13:15:20 +00:00
{% endblock page_content %}