{# jobs/list_partial.html — HTMX polling target. Returns a complete (outerHTML swap) so the HTMX attributes are preserved after each poll. Rendered by GET /jobs/list-partial. #} {% from "partials/_macros.html" import status_badge, type_badge %} {% for job in jobs %} {{ loop.index }} {{ type_badge(job.type) }} {{ job.name }} {{ status_badge(job.status) }} {{ job.created_at.strftime('%Y-%m-%d %H:%M:%S') }} View {% else %} No jobs. {% endfor %}