From 2a8fc5dcdaba6f27bb46e2b353c3730eebe7f6e3 Mon Sep 17 00:00:00 2001 From: dormant-user Date: Sun, 29 Sep 2024 14:41:06 -0500 Subject: [PATCH] Convert collapsible sections into tables --- pyninja/monitor/templates/main.html | 82 +++++++++++++++++++++-------- pyninja/operations.py | 1 - 2 files changed, 61 insertions(+), 22 deletions(-) diff --git a/pyninja/monitor/templates/main.html b/pyninja/monitor/templates/main.html index bf05769..2b8df57 100644 --- a/pyninja/monitor/templates/main.html +++ b/pyninja/monitor/templates/main.html @@ -28,10 +28,10 @@ .docker-stats { height: 100%; margin: 2%; - display: none; /* Hide the container initially */ + display: none; /* Hide the container initially */ align-items: center; justify-content: center; - flex-direction: column; /* Ensure vertical alignment */ + flex-direction: column; /* Ensure vertical alignment */ } .docker-stats h3 { @@ -42,10 +42,10 @@ .service-stats { height: 100%; margin: 2%; - display: none; /* Hide the container initially */ + display: none; /* Hide the container initially */ align-items: center; justify-content: center; - flex-direction: column; /* Ensure vertical alignment */ + flex-direction: column; /* Ensure vertical alignment */ } .service-stats h3 { @@ -56,10 +56,10 @@ .process-stats { height: 100%; margin: 2%; - display: none; /* Hide the container initially */ + display: none; /* Hide the container initially */ align-items: center; justify-content: center; - flex-direction: column; /* Ensure vertical alignment */ + flex-direction: column; /* Ensure vertical alignment */ } .process-stats h3 { @@ -70,7 +70,7 @@ table { width: 80%; border-collapse: collapse; - display: none; /* Hide the table initially */ + display: none; /* Hide the table initially */ } table, th, td { @@ -218,6 +218,26 @@ } +