From 8ecace0493d4113dc814943582a706dd3c9a8523 Mon Sep 17 00:00:00 2001 From: Martin Hohenberg Date: Fri, 19 Jun 2026 07:33:38 +0200 Subject: [PATCH] Restyle job status badges queued: black + yellow outline + yellow text printing: yellow + black text done: green (unchanged) cancelled: grey failed: red (unchanged) Co-Authored-By: Claude Sonnet 4.6 --- app/templates/dashboard.html | 6 +++--- app/templates/job_detail.html | 6 +++--- app/templates/jobs.html | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 2cfb5be..d08d47b 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -86,11 +86,11 @@ {{ j.printer.name if j.printer else '—' }} {% set s = j.status.value %} - {% if s == 'printing' %}printing + {% if s == 'printing' %}printing {% elif s == 'done' %}done {% elif s == 'failed' %}failed - {% elif s == 'cancelled' %}cancelled - {% else %}queued + {% elif s == 'cancelled' %}cancelled + {% else %}queued {% endif %} {{ j.created_at.strftime('%d.%m %H:%M') }} diff --git a/app/templates/job_detail.html b/app/templates/job_detail.html index 1d029b3..776272a 100644 --- a/app/templates/job_detail.html +++ b/app/templates/job_detail.html @@ -11,11 +11,11 @@
{{ job.file_name or job.name }}
{% set s = job.status.value %} {% if job.priority %}Priority{% endif %} - {% if s == 'printing' %}printing + {% if s == 'printing' %}printing {% elif s == 'done' %}done {% elif s == 'failed' %}failed - {% elif s == 'cancelled' %}cancelled - {% else %}queued + {% elif s == 'cancelled' %}cancelled + {% else %}queued {% endif %}
{{ job.job_uuid or '—' }}
diff --git a/app/templates/jobs.html b/app/templates/jobs.html index c850614..c71ef4a 100644 --- a/app/templates/jobs.html +++ b/app/templates/jobs.html @@ -79,11 +79,11 @@ {% set s = j.status.value %} - {% if s == 'printing' %}printing + {% if s == 'printing' %}printing {% elif s == 'done' %}done {% elif s == 'failed' %}failed - {% elif s == 'cancelled' %}cancelled - {% else %}queued + {% elif s == 'cancelled' %}cancelled + {% else %}queued {% endif %} {{ j.created_at.strftime('%d.%m.%Y %H:%M') }}