From b41e32ff4b5709212c3f5f22387d3f2f05c8e823 Mon Sep 17 00:00:00 2001 From: Tobias Block Date: Tue, 23 Jul 2024 01:32:03 +0000 Subject: [PATCH] Fix for display of processing logs. --- VERSION | 2 +- webinterface/templates/queue.html | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 44905ca5..27ae704b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.1-beta.3 \ No newline at end of file +0.3.1-beta.4 \ No newline at end of file diff --git a/webinterface/templates/queue.html b/webinterface/templates/queue.html index f52fb285..2b70c7aa 100755 --- a/webinterface/templates/queue.html +++ b/webinterface/templates/queue.html @@ -930,7 +930,7 @@
0) { - $("#process_logs_display").text(data[0].logs) + $("#process_logs_display").text(""); + for (var i = 0; i < data.length; i++) { + $("#process_logs_display").append("### Module " + (i+1).toString() + " -- Begin\n\n"); + $("#process_logs_display").append(data[i].logs); + $("#process_logs_display").append("\n### Module " + (i+1).toString() + " -- Complete\n\n"); + } } else { $("#process_logs_display").text("No processing log available for selected task.") } $("#process_logs").addClass("is-active"); }, - timeout: 3000 + timeout: 5000 }); }