{# Current-state fragment for the full-metrics page — polled live via HTMX. Each poll re-renders the latest snapshot the server has. #} {% from "_macros.html" import status_badge %} {# A percentage bar graded by Settings → Thresholds for `kind` (cpu, mem, disk). #} {% macro bar(pct, kind) %}
Not counted, reading a constant with nothing wired to them: {% for label, c in unwired_temps.items() %}{{ label }} {{ "%.0f"|format(c) }}°C{{ ", " if not loop.last }}{% endfor %}.
{% endif %}