refactor to make way for dockerization

This commit is contained in:
2022-11-19 16:44:50 -05:00
parent 400c870056
commit ab63eeff96
25 changed files with 1 additions and 1 deletions

26
app/templates/login.html Normal file
View File

@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block content %}
<span><h1>{% block title %} Login {% endblock %}</h1></span>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="notification is-danger">
{{ messages[0] }}
</div>
{% endif %}
{% endwith %}
<form method="post">
{{ form.csrf_token }}
<p>
{{ form.userName.label }}
{{ form.userName }}
</p>
<p>
{{ form.password.label }}
{{ form.password }}
</p>
<p>
<button class="btn btn-primary" type="submit">Submit</button>
</p>
</form>
{% endblock %}