2019-07-04 13:17:51 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
<div class="col s12 m6">
|
|
|
|
<div class="card medium">
|
|
|
|
<div class="card-image">
|
|
|
|
<img src="{{ url_for('static', filename='images/favicon.png') }}" alt="">
|
|
|
|
<span class="card-title grey-text text-darken-4">Welcome to Opaque!</span>
|
|
|
|
</div>
|
|
|
|
<div class="card-content">
|
|
|
|
<p>Sign in into an exisiting account or register a new one!</p>
|
2019-07-08 08:16:23 +00:00
|
|
|
<br>
|
2019-07-08 12:06:35 +00:00
|
|
|
<div class="card-action">
|
|
|
|
<a class="btn" href="{{url_for('auth.register')}}">Register</a>
|
|
|
|
</div>
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-05 12:47:35 +00:00
|
|
|
|
2019-07-04 13:17:51 +00:00
|
|
|
<div class="col s12 m6">
|
|
|
|
<div class="card medium">
|
|
|
|
<div class="card-content">
|
|
|
|
<span class="card-title">Log In</span>
|
2019-07-08 07:05:59 +00:00
|
|
|
<form method="POST">
|
|
|
|
{{ 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>
|
|
|
|
{{ form.login(class='validate') }}
|
|
|
|
{{ form.login.label }}
|
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-04 13:17:51 +00:00
|
|
|
</div>
|
2019-07-08 08:16:23 +00:00
|
|
|
<div class="switch left">
|
2019-07-08 08:07:26 +00:00
|
|
|
<label>
|
|
|
|
Remember me
|
|
|
|
{{ form.remember_me() }}
|
|
|
|
<span class="lever"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-07-08 12:14:35 +00:00
|
|
|
<a href="{{ url_for('auth.password_reset_request') }}" class="right">Forgot Password?</a>
|
2019-07-04 13:17:51 +00:00
|
|
|
<div class="card-action">
|
2019-07-08 07:05:59 +00:00
|
|
|
{{ form.submit(class='btn right') }}
|
2019-07-04 13:17:51 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|