From 16e04c0c68a4f7e538879d630dfb1f43755a3c53 Mon Sep 17 00:00:00 2001
From: Nico Vermaas <vermaas@astron.nl>
Date: Tue, 1 Feb 2022 08:41:23 +0100
Subject: [PATCH] small gui and css change

---
 atdb/atdb/static/taskdatabase/style.css       | 19 +++++++++++--------
 .../static/taskdatabase/style.css             |  2 +-
 .../templates/taskdatabase/index.html         |  2 +-
 .../templates/taskdatabase/monitoring.html    |  2 +-
 4 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/atdb/atdb/static/taskdatabase/style.css b/atdb/atdb/static/taskdatabase/style.css
index ee9a90de..b8cd66eb 100644
--- a/atdb/atdb/static/taskdatabase/style.css
+++ b/atdb/atdb/static/taskdatabase/style.css
@@ -19,26 +19,27 @@ TD {
 
 .max {
    font-weight: bold;
-   color: blue;
    background-color: lightgreen;
 }
 
 .aggregate {
   font-weight: bold;
-  color: blue;
   background-color: lightgreen;
 }
 
-.modal-content {
-    overflow: scroll !important;
+.aggregate_failed {
+  font-weight: bold;
+  color: red;
+  background-color: lightgreen;
 }
 
+
 .error,.failed,.staging_failed,.processed_failed,.scrubbed_failed,.stored_failed,.archived_failed {
   color: red;
   font-weight: bold;
 }
 
-.processed {
+.processed,.ok,.running {
  color: green;
  font-weight: bold;
 }
@@ -48,8 +49,6 @@ TD {
   font-style: italic;
 }
 
-
-
 .processing,.processing_copying {
  font-weight: bold;
  background-color: lightyellow;
@@ -114,5 +113,9 @@ p.title {
 }
 
 .modal-dialog .modal-lg {
-         max-width: 75% !important;
+    max-width: 75% !important;
+}
+
+.modal-content {
+    overflow: scroll !important;
 }
\ No newline at end of file
diff --git a/atdb/taskdatabase/static/taskdatabase/style.css b/atdb/taskdatabase/static/taskdatabase/style.css
index 2bbe0efe..b8cd66eb 100644
--- a/atdb/taskdatabase/static/taskdatabase/style.css
+++ b/atdb/taskdatabase/static/taskdatabase/style.css
@@ -39,7 +39,7 @@ TD {
   font-weight: bold;
 }
 
-.processed,.ok {
+.processed,.ok,.running {
  color: green;
  font-weight: bold;
 }
diff --git a/atdb/taskdatabase/templates/taskdatabase/index.html b/atdb/taskdatabase/templates/taskdatabase/index.html
index cb4547b6..5d638aa9 100644
--- a/atdb/taskdatabase/templates/taskdatabase/index.html
+++ b/atdb/taskdatabase/templates/taskdatabase/index.html
@@ -80,7 +80,7 @@
         {% include 'taskdatabase/pagination.html' %}
        </div>
     </div>
-    <p class="footer"> Version 1.0.0 (31 jan 2021 - 14:00)
+    <p class="footer"> Version 1.0.0 (1 feb 2021 - 8:00)
 
 </div>
 
diff --git a/atdb/taskdatabase/templates/taskdatabase/monitoring.html b/atdb/taskdatabase/templates/taskdatabase/monitoring.html
index cbe5c5d5..95fc5c13 100644
--- a/atdb/taskdatabase/templates/taskdatabase/monitoring.html
+++ b/atdb/taskdatabase/templates/taskdatabase/monitoring.html
@@ -10,7 +10,7 @@
                <h5>Health and Status of the LDV services.</h5>
 
                <table class="table table-striped">
-                   <th>LDV-Service</th><th>Host</th><th>Status</th><th>Timestamp</th><th>Working on</th><th>Description</th>
+                   <th>LDV-Service</th><th>Host</th><th>Status</th><th>Timestamp</th><th>Process id</th><th>Description</th>
                    <tbody>
                       {{ monitor_results | safe }}
                     </tbody>
-- 
GitLab