{# Partial: status indicator for one module on the index page. Renders a (lives inside the compact "last run" cell). Swaps itself (outerHTML) every 3s while running; stops when idle. #} {% if module.running %} running {% elif not module.enabled %} disabled {% elif module.last_status %} {{ module.last_status }} {% else %} never ran {% endif %}