2019-07-04 13:17:51 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
2019-07-09 14:59:04 +00:00
|
|
|
<div class="col s12 m4">
|
|
|
|
<h3>New to Opaque?</h3>
|
2019-07-10 07:47:29 +00:00
|
|
|
<p>It's free to join and easy to use. Continue on to our registration page to create your Opaque account.</p>
|
2019-07-09 14:59:04 +00:00
|
|
|
<p><a href="{{ url_for('auth.register') }}" class="waves-effect waves-light btn">Registration</a>
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
2019-07-05 12:47:35 +00:00
|
|
|
|
2019-07-09 14:59:04 +00:00
|
|
|
<div class="col s12 m8">
|
|
|
|
<div class="card small">
|
2019-07-09 12:13:56 +00:00
|
|
|
<form method="POST">
|
|
|
|
<div class="card-content">
|
2019-07-08 07:05:59 +00:00
|
|
|
{{ form.hidden_tag() }}
|
2019-07-04 13:17:51 +00:00
|
|
|
<div class="input-field">
|
2019-07-09 09:00:41 +00:00
|
|
|
<i class="material-icons prefix">person</i>
|
2019-07-09 14:59:04 +00:00
|
|
|
{{ form.login(class='validate', placeholder='Email address or username') }}
|
2019-07-09 09:00:41 +00:00
|
|
|
{{ form.login.label }}
|
2019-07-09 12:13:56 +00:00
|
|
|
{% for error in form.login.errors %}
|
2019-07-12 15:22:15 +00:00
|
|
|
<span class="helper-text red-text">{{ error }}</span>
|
2019-07-09 12:13:56 +00:00
|
|
|
{% endfor %}
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
|
|
|
<div class="input-field">
|
2019-07-08 14:09:28 +00:00
|
|
|
<i class="material-icons prefix">vpn_key</i>
|
2019-07-08 07:05:59 +00:00
|
|
|
{{ form.password(class='validate') }}
|
|
|
|
{{ form.password.label }}
|
2019-07-09 12:13:56 +00:00
|
|
|
{% for error in form.password.errors %}
|
2019-07-12 15:22:15 +00:00
|
|
|
<span class="helper-text red-text">{{ error }}</span>
|
2019-07-09 12:13:56 +00:00
|
|
|
{% endfor %}
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
2019-07-10 07:47:29 +00:00
|
|
|
<a href="{{ url_for('auth.password_reset_request') }}" class="left">Forgot your password?</a>
|
2019-07-09 14:59:04 +00:00
|
|
|
<div class="switch right">
|
2019-07-08 08:07:26 +00:00
|
|
|
<label>
|
|
|
|
Remember me
|
|
|
|
{{ form.remember_me() }}
|
|
|
|
<span class="lever"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-07-09 12:13:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="card-action">
|
|
|
|
{{ form.submit(class='btn right') }}
|
|
|
|
</div>
|
|
|
|
</form>
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|