refactor to make way for dockerization
This commit is contained in:
26
app/templates/login.html
Normal file
26
app/templates/login.html
Normal 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 %}
|
Reference in New Issue
Block a user