2022-06-22 18:11:22 +00:00
|
|
|
{%- import "utils.html" as utils with context -%}
|
|
|
|
{% extends "layout.html" %}
|
2022-11-18 05:35:03 +00:00
|
|
|
{% block head %}
|
|
|
|
<meta name="robots" content="noindex, nofollow">
|
|
|
|
{% endblock %}
|
2022-09-20 18:00:35 +00:00
|
|
|
{% block main_tag %} class="main-flex"{% endblock %}
|
2022-06-22 18:11:22 +00:00
|
|
|
{% block content %}
|
2022-08-28 15:36:58 +00:00
|
|
|
<div class="centered">
|
2022-09-20 18:00:35 +00:00
|
|
|
<div>
|
|
|
|
{% if error %}
|
|
|
|
<p class="primary-color">Invalid password.</p>
|
|
|
|
{% endif %}
|
2022-11-04 18:28:21 +00:00
|
|
|
<form class="form" action="{{ BASE_URL }}/admin/login" method="POST">
|
2022-09-20 18:00:35 +00:00
|
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
|
|
|
<input type="hidden" name="redirect" value="{{ redirect }}">
|
|
|
|
<input type="password" placeholder="password" name="password" autofocus>
|
|
|
|
<input type="submit" value="login">
|
|
|
|
</form>
|
|
|
|
</div>
|
2022-06-22 18:11:22 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|