{# Full Scan-Queue body — swappable via HTMX (/api/queue/full). Handles disconnected / error / empty / populated states internally. (The /queue page redirects to /setup when unconfigured, but the polled fragment can still return connected=False if config is lost mid-session — so a disconnected tab must not masquerade as an empty queue.) #} {% if not connected %}