From d3b47d378271256224dbe848413bec511fdb6d70 Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Fri, 8 Sep 2023 12:08:41 +0200 Subject: [PATCH] Re-added legend, bit of cleanup --- templates/runs.html | 46 +++++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/templates/runs.html b/templates/runs.html index 05ec0ab..6c4e26c 100644 --- a/templates/runs.html +++ b/templates/runs.html @@ -23,36 +23,47 @@
- - +

Jobs status

+
+ - + - + - + + + + +
CMSSW version
run_key
run_key
Known jobsJob status +
+
Running:
+
Stopped:
+
Crashed:
+
+
Total jobs
-
- - -
+
+ + +
- +
-
-
+
+
- +
-
+ {% endblock %} @@ -197,6 +208,13 @@ el_run_key.innerHTML = `${global_data[1]}`; let el_known_jobs = document.getElementById("run-info-known-jobs"); el_known_jobs.innerHTML = `${clients_data.length}`; + + let el_jobs_running = document.getElementById("jobs-running"); + el_jobs_running.innerHTML=state_G; + let el_jobs_stopped = document.getElementById("jobs-stopped"); + el_jobs_stopped.innerHTML=state_Y; + let el_jobs_crashed = document.getElementById("jobs-crashed"); + el_jobs_crashed.innerHTML=state_R; };