From 0ca91b7d7ba99f4783ae1ed19fa948e6eb4c144f Mon Sep 17 00:00:00 2001 From: Kamil Date: Tue, 26 Nov 2024 15:14:30 +0000 Subject: [PATCH] Added Progressbar for task status --- templates/partials/_task_status.html | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/templates/partials/_task_status.html b/templates/partials/_task_status.html index 05f22fe..c32f89c 100644 --- a/templates/partials/_task_status.html +++ b/templates/partials/_task_status.html @@ -4,19 +4,30 @@ {{ task.state }} {% if task.info.percent %} - {{ task.info.percent }}% +
+
+ {{ task.info.percent|round(2) }}% +
+
{% else %} - N/A + N/A {% endif %}
- -
-{% endfor %} \ No newline at end of file +{% endfor %}