{# Global progress bar fragment. Polled by base.html via HTMX. #} {# When no runs are active, returns an empty fragment — base.html wraps us in a
so the empty fragment just collapses the bar. #} {% if runs %}
{% else %} {# Empty fragment — bar is hidden. The outer wrapper in base.html still polls every 2s so the bar reappears as soon as a run starts. #} {% endif %}