{% extends "layouts/base.html" %}
{% from "macros.html" import sidebar_classes %}
{% block body %}
{# Controls inside the panel re-render the panel by DEFAULT: hx-target is
inherited from here, so tabs/pagination/pause/resume/toolbar omit it. The
exceptions state their own target: the search box (#jobs), the accordion
body (`find .acc-body`, relative so colon job ids can't break the selector),
the schedulers table (#schedulers), and a job row's action buttons
(#queue-panel, overriding the row's accordion target). #}
{% if job_page is defined %}
{% include "partials/job_page.html" %}
{% elif workers is defined %}
{% include "partials/workers.html" %}
{% elif q %}
{% include "partials/queue.html" %}
{% else %}