{# Cooperative control panel. POSTs write the control_state row; the monitor obeys it within ~3s. All actions carry the X-Avai-Token header (injected from localStorage by dashboard.html); the server fails closed without it. Swapped into #control on load/poll and after every action. #} {% set disabled = (ctrl.disabled_collectors.split(',') if ctrl and ctrl.disabled_collectors else []) %} {% set paused = ctrl and ctrl.paused %}