From 894e6af24df53c4fc91931f7bcb19d5572c2630a Mon Sep 17 00:00:00 2001 From: Jan Klopper Date: Thu, 13 Feb 2025 11:47:49 +0100 Subject: [PATCH] remove inline styling / svg graph as not compatible with out CSP (#4075) Co-authored-by: stephanie0x00 <9821756+stephanie0x00@users.noreply.github.com> Co-authored-by: Donny Peeters <46660228+Donnype@users.noreply.github.com> --- .../rocky/templates/tasks/partials/stats.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rocky/rocky/templates/tasks/partials/stats.html b/rocky/rocky/templates/tasks/partials/stats.html index d7ea383d151..8a0fdff0c0c 100644 --- a/rocky/rocky/templates/tasks/partials/stats.html +++ b/rocky/rocky/templates/tasks/partials/stats.html @@ -4,8 +4,8 @@

{% translate "Task statistics - Last 24 hours" %}

{% if not stats_error %} -
- +
+
@@ -23,25 +23,25 @@

{% translate "Task statistics - Last 24 hours" %}

{% for timestamp, values in stats.items %} - - - - - - -
{% translate "All times in UTC, blocks of 1 hour." %}
{{ timestamp }}: + {{ values.pending }} + {{ values.queued }} + {{ values.dispatched }} + {{ values.running }} + {{ values.completed }} + {{ values.failed }} + {{ values.cancelled }}