Compare commits
2 Commits
812cecb9df
...
0ca0c3cb83
Author | SHA1 | Date | |
---|---|---|---|
0ca0c3cb83 | |||
9a9c30bd2f |
@ -41,7 +41,7 @@ main > table {
|
|||||||
|
|
||||||
}
|
}
|
||||||
.hybrid {
|
.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 {
|
.shutdown {
|
||||||
background-color: lightgray;
|
background-color: lightgray;
|
||||||
|
@ -50,7 +50,7 @@ function display_port($interface, $odd) {
|
|||||||
$tagged = $interface["tagged"] ?? "0";
|
$tagged = $interface["tagged"] ?? "0";
|
||||||
$untagged = $interface["untagged"] ?? "0";
|
$untagged = $interface["untagged"] ?? "0";
|
||||||
$pvid = $interface["pvid"] ?? "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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user