{% extends "ui/_layout.html" %} {% block title %}Dashboard - bty-web{% endblock %} {% block subnav %} {% set right_html %}live{% endset %} {% with sections=None, right_html=right_html %} {% include "ui/_subnav.html" %} {% endwith %} {% endblock %} {% block intro %} {% from "ui/_intro_box.html" import render as intro_box %} {% call intro_box() %} Fleet overview. Counters and recent activity update live as machines check in via PXE, operators bind catalog entries to MACs, image uploads complete, and target boxes signal flash-done. Drill into any count to see the underlying rows. {% endcall %} {% endblock %} {% block content %} {# The counter cards subscribe to /events/machines via SSE; the server publishes a fresh ``dashboard-counts`` HTML fragment on every machine mutation and image upload, which htmx-ext-sse swaps in below. ``sse-target`` opts the swap target into the layout-level "flash green when content changes" animation. #}