diff --git a/index.php b/index.php
index 06e907d..6e359d9 100644
--- a/index.php
+++ b/index.php
@@ -27,7 +27,7 @@
$cfgPaths = glob($fullpath . '/*.cfg');
if (count($cfgPaths)) {
$str .= "
\n";
diff --git a/style.css b/style.css
index 049b10d..382db0a 100644
--- a/style.css
+++ b/style.css
@@ -29,7 +29,7 @@ main > table {
}
.access,
.pvid {
- background-color: hsl(var(--pvid) 100% 60%);
+ background-color: hsl(calc(67*var(--pvid)) 100% 60%);
}
.trunk {
position: relative;
@@ -41,7 +41,7 @@ main > table {
}
.hybrid {
- background-image: linear-gradient(135deg, hsl(var(--tagged) 100% 60%) 50%, hsl(var(--untagged) 100% 60%) 50%);
+ background-image: linear-gradient(135deg, hsl(calc(67*var(--tagged)) 100% 60%) 50%, hsl(calc(67*var(--untagged)) 100% 60%) 50%);
}
.shutdown {
background-color: lightgray;
diff --git a/vlans.php b/vlans.php
index ab68510..6d8f2a1 100644
--- a/vlans.php
+++ b/vlans.php
@@ -19,16 +19,11 @@ foreach ($interfaces as $interface) {
}
$stack[$interface["member"]][$interface["port"]] = $interface;
}
-
-echo "\n";
?>
-Tableau des VLANs - =$sysname[1] ?? "Switch sans nom"?>
+=$sysname[1] ?? "Switch sans nom"?> - Tableau des VLANs
@@ -77,9 +72,9 @@ foreach ($vlans as $vlan) {
}
}
?>
-T | Trunk |
-H | Hybride (tagged/untagged) |
-S | Interface désactivée |
+ | Trunk |
+ | Hybride (tagged/untagged) |
+ | Interface désactivée |