Replaces the ad-hoc inline styling with a shared base template driven by CSS custom properties (light/dark palettes), a card-based two-column layout, and a persistent dark-mode toggle. Also moves quiet-hours' timezone from the container's TZ env var into a proper web UI setting (zoneinfo-backed), so it no longer needs a docker-compose.yml edit and restart to change.
21 lines
551 B
HTML
21 lines
551 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block page_class %}page-narrow{% endblock %}
|
|
|
|
{% block subtitle %}
|
|
<p class="sub">This management page needs an access token.</p>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="card">
|
|
{% if wrong %}
|
|
<div class="status err">Invalid token.</div>
|
|
{% endif %}
|
|
<form method="get" action="/">
|
|
<label for="token">Access token</label>
|
|
<input type="text" id="token" name="token" autofocus autocomplete="off">
|
|
<button type="submit">Continue</button>
|
|
</form>
|
|
</section>
|
|
{% endblock %}
|