41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block body %}
|
|
<div class="container-fluid mt-5">
|
|
<div class="row justify-content-center tab-content">
|
|
<div class="col-sm col-lg-3">
|
|
<form method="post">
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
<input id="email" name="email" type="email" class="form-control">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input id="password" name="password" type="password" class="form-control">
|
|
</div>
|
|
<div class="form-group custom-control custom-checkbox">
|
|
<input id="remember" name="remember" type="checkbox" class="custom-control-input">
|
|
<label class="custom-control-label" for="remember">Remember me</label>
|
|
</div>
|
|
<button id="submit" name="submit" type="submit" class="btn btn-primary">Submit</button>
|
|
</form>
|
|
<div class="mt-3">
|
|
<a href="{{ google_url }}">
|
|
<img src="/static/images/sign_in_with_google.png" alt="Sign in with Google">
|
|
</a>
|
|
</div>
|
|
<div class="mt-3">
|
|
Don't have an account? <a href="{{ url_for('register') }}">Register</a>
|
|
</div>
|
|
{% with messages = get_flashed_messages() %}
|
|
{% if messages %}
|
|
<div class="alert alert-danger mt-2" role="alert">
|
|
{{ messages[0] }}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|