24 lines
772 B
HTML
24 lines
772 B
HTML
{% extends "base.html" %}
|
|||
|
|
{% block title %}Sign in{% endblock %}
|
||
|
|
{% block content %}
|
||
|
|
<div class="auth-shell">
|
||
|
|
<div class="auth-card">
|
||
|
|
<div class="auth-prompt">authenticate</div>
|
||
|
|
<h1>Sign in to {{ brand_name }}</h1>
|
||
|
|
<p class="auth-sub">{% if is_backoffice %}Administrator console.{% else %}Alert operations console.{% endif %}</p>
|
||
|
|
<form method="post" class="form" novalidate>
|
||
|
|
{{ form.csrf_token }}
|
||
|
|
<div>
|
||
|
|
{{ form.username.label }}
|
||
|
|
{{ form.username(autocomplete="username", autofocus=True) }}
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
{{ form.password.label }}
|
||
|
|
{{ form.password(autocomplete="current-password") }}
|
||
|
|
</div>
|
||
|
|
{{ form.submit(class_="btn btn-primary btn-block") }}
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
{% endblock %}
|