{# Health chips: rendered inline with the panel (no pop-in), then refreshed
on job events (throttled - the buckets are per-minute, sub-second repaints
buy nothing) and a slow tick. Targets its OWN id (not "this"): if this region
ever fires after the panel navigated away, the id is gone and htmx aborts -
a "this" target would re-root to the inherited #queue-panel and wipe it. #}
{# Flow throughput, active tab only (where in-flight flows live). Self-refreshing
band (stable wrapper morphs its own inner html on job events). #}
{% if state == 'active' and fm %}
{# Shown by CSS (:has) only while a job row is open - the live table is paused so it
can't move under you. Tells the operator why updates stopped (and how to resume). #}
{{ icon('pause', 'w-3.5 h-3.5') }}
Live updates paused while you're viewing a job - close it to resume.
{% with name = q.name %}
{% if query %}{% include "partials/search_results.html" %}{% else %}{% include "partials/jobs.html" %}{% endif %}
{% endwith %}
{% include "partials/names.html" %}
{# same mt-8 rhythm as the by-name section above, with or without it present #}
{% with name = q.name, schedulers = q.schedulers %}{% include "partials/schedulers.html" %}{% endwith %}