Status repeated the Monitors page's counts, check strip and uptime. Monitors now has one header row and every column Status had: the last 30 checks, latest response with its trend, uptime over 24h / 7d / 30d (the range picker goes) and TLS days on every row. /status and /status/rows and the nav link are removed outright; the dashboard Overview (/status/widget) stays and its Details link goes to Monitors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
587 B
HTML
16 lines
587 B
HTML
{% extends "base.html" %}
|
|
{% from "_macros.html" import page_header %}
|
|
{% block title %}Monitors — Steward{% endblock %}
|
|
{% block content %}
|
|
{% call page_header("Monitors", "Checked every " ~ poll_interval ~ "s. Problems first.") %}
|
|
{% if session.user_role in ['operator', 'admin'] %}<a class="btn btn-sm" href="/monitors/new">Add monitor</a>{% endif %}
|
|
{% endcall %}
|
|
|
|
<div id="monitor-rows"
|
|
hx-get="/monitors/rows"
|
|
hx-trigger="load, every {{ poll_interval }}s"
|
|
hx-swap="innerHTML">
|
|
<div class="card"><p class="field-hint">Loading…</p></div>
|
|
</div>
|
|
{% endblock %}
|