Compare commits

...

2 Commits

Author SHA1 Message Date
0ca0c3cb83 pvid style 2023-04-24 03:56:51 +02:00
9a9c30bd2f 50% 2023-04-24 03:56:22 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ main > table {
}
.hybrid {
background-image: linear-gradient(135deg, hsl(var(--tagged) 100% 60%) 1.6rem, hsl(var(--untagged) 100% 60%) 1.6rem);
background-image: linear-gradient(135deg, hsl(var(--tagged) 100% 60%) 50%, hsl(var(--untagged) 100% 60%) 50%);
}
.shutdown {
background-color: lightgray;

View File

@ -50,7 +50,7 @@ function display_port($interface, $odd) {
$tagged = $interface["tagged"] ?? "0";
$untagged = $interface["untagged"] ?? "0";
$pvid = $interface["pvid"] ?? "0";
echo "<td class='number $shutdown $linktype' title='${interface[0]}' style='--tagged: $tagged; --untagged: $untagged; --pvid: $pvid'>${interface["port"]}</td>\n";
echo "<td class='number $shutdown $linktype' title='${interface[0]}' style='--pvid: $pvid; --tagged: $tagged; --untagged: $untagged;'>${interface["port"]}</td>\n";
}
}