{# http/rows.html — HTMX fragment for HTTP monitor status list #} {# ── Summary ─────────────────────────────────────────────────────────────── #}
| Monitor | Status | Response | History | TLS expiry | |
|---|---|---|---|---|---|
|
{{ m.name }}
{{ m.method }} {{ m.url }}
{% if not m.enabled %}
paused
{% endif %}
|
{% if not latest %}
pending
{% elif latest.is_up %}
{{ latest.status_code }}
{% else %}
{{ latest.status_code or latest.error_msg or "error" }}
{% if latest.content_matched == false %}
content mismatch
{% endif %}
{% endif %}
|
{% if latest and latest.response_ms is not none %} {{ "%.0f" | format(latest.response_ms) }}ms {% else %} — {% endif %} | {{ item.sparkline_ms | safe }} | {% if item.tls_days is not none %} {{ item.tls_days | int }}d {% elif m.url.startswith('https://') %} — {% endif %} |