From 553039d9e6e8e9b86235e749f6a7c98dfcbb0b74 Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Sat, 4 Jan 2025 11:11:30 +0100 Subject: [PATCH] patch --- www/public/assets/icons/docker.svg | 73 ------------------- www/public/assets/icons/tux.svg | 38 ---------- www/public/resources/styles/stats-hosts.css | 8 +- .../includes/containers/hosts/list.inc.php | 58 ++++++++------- 4 files changed, 37 insertions(+), 140 deletions(-) delete mode 100644 www/public/assets/icons/docker.svg delete mode 100644 www/public/assets/icons/tux.svg diff --git a/www/public/assets/icons/docker.svg b/www/public/assets/icons/docker.svg deleted file mode 100644 index b41942aa..00000000 --- a/www/public/assets/icons/docker.svg +++ /dev/null @@ -1,73 +0,0 @@ - - diff --git a/www/public/assets/icons/tux.svg b/www/public/assets/icons/tux.svg deleted file mode 100644 index c952ff36..00000000 --- a/www/public/assets/icons/tux.svg +++ /dev/null @@ -1,38 +0,0 @@ - - diff --git a/www/public/resources/styles/stats-hosts.css b/www/public/resources/styles/stats-hosts.css index 8ea1badb..4f7203b5 100644 --- a/www/public/resources/styles/stats-hosts.css +++ b/www/public/resources/styles/stats-hosts.css @@ -20,7 +20,13 @@ } .hosts-compact-view { - grid-template-columns: 35% 65%; + grid-template-columns: 35% 60%; + align-items: center; +} + +.hosts-compact-view2 { + grid-template-columns: 40% 20%; + justify-content: space-evenly; } .host-additionnal-info { diff --git a/www/views/includes/containers/hosts/list.inc.php b/www/views/includes/containers/hosts/list.inc.php index 9b1b8aa6..75f8063d 100644 --- a/www/views/includes/containers/hosts/list.inc.php +++ b/www/views/includes/containers/hosts/list.inc.php @@ -261,7 +261,7 @@
@@ -274,37 +274,39 @@
= ucfirst($os) ?>
-= ucfirst($type) ?>
+= $packagesInstalledTotal ?>
- -- 0) { - if ($packagesAvailableTotal >= $packagesCountConsideredCritical) { - echo '' . $packagesAvailableTotal . ''; - } elseif ($packagesAvailableTotal >= $packagesCountConsideredOutdated) { - echo '' . $packagesAvailableTotal . ''; - } else { - echo '' . $packagesAvailableTotal . ''; - } - } ?> -
+