2022-06-22 18:11:22 +00:00
|
|
|
{%- import "utils.html" as utils with context -%}
|
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<div style="display:grid;height:80%;">
|
|
|
|
<div style="margin:auto;">
|
2022-08-22 16:50:20 +00:00
|
|
|
{% if error %}
|
|
|
|
<p class="primary-color">Invalid password.</p>
|
|
|
|
{% endif %}
|
2022-07-03 20:42:14 +00:00
|
|
|
<form class="form" action="/admin/login" method="POST">
|
2022-06-22 18:11:22 +00:00
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
2022-07-10 09:04:28 +00:00
|
|
|
<input type="hidden" name="redirect" value="{{ redirect }}">
|
2022-07-04 17:02:30 +00:00
|
|
|
<input type="password" placeholder="password" name="password" autofocus>
|
|
|
|
<input type="submit" value="login">
|
2022-06-22 18:11:22 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|