{% if not connected %}
Not connected
{% elif error %}
{{ error }}
{% elif queue and queue.groups %}
{{ queue.total_queued }} queued
{{ queue.total_processing }} processing
{% if queue.oldest_wait %}
{{ queue.oldest_wait }} oldest
{% endif %}
{% for group in queue.groups %}
{% if platform_domain and group.project_id and group.version_id %} {{ group.project_name }} {% elif platform_domain and group.project_id %} {{ group.project_name }} {% else %} {{ group.project_name }} {% endif %} {% if group.version_name %} {{ group.version_name }} {% endif %} {% if group.has_stuck %} ⚠ stuck {% elif group.all_done and group.error_count == 0 %} ✓ done {% elif group.all_done and group.error_count > 0 %} {{ group.error_count }} failed {% endif %}
{% if group.created_by %}
{{ group.created_by | join(', ') }}
{% endif %}
{%- for scan in group.scans -%} {%- if scan.likely_stuck -%}⚠{%- elif scan.is_error -%}✕{%- elif scan.is_done -%}✓{%- elif scan.status == 'INITIAL' -%}⏳{%- else -%}⚙{%- endif -%} {%- endfor -%} {{ group.scans | length }} scan{{ 's' if group.scans | length != 1 else '' }} {{ group.oldest_wait_display }}
{% for scan in group.scans %}
{{ scan.type }} {%- if scan.likely_stuck -%}⚠ STUCK {%- elif scan.is_error -%}✕ ERROR {%- elif scan.is_done -%}✓ DONE {%- elif scan.status == 'INITIAL' -%}⏳ INITIAL {%- else -%}⚙ STARTED {%- endif -%} {{ scan.wait_display }}
{% endfor %}
{% endfor %}
{% else %}
No scans in queue
{% endif %}