fixes
This commit is contained in:
		| @ -1,6 +1,3 @@ | ||||
| *{ | ||||
|     print-color-adjust: exact; | ||||
| } | ||||
| :root { | ||||
|     --k: 1353651.53435435; | ||||
| } | ||||
| @ -36,6 +33,7 @@ td { | ||||
|     height: 2em; | ||||
|     mix-blend-mode: darken; | ||||
|     padding: 2px; | ||||
|     print-color-adjust: exact; | ||||
| } | ||||
| .vlan { | ||||
|     background-color: hsl(calc(var(--k)*var(--pvid)) 100% 60%); | ||||
|  | ||||
| @ -16,9 +16,9 @@ $stack = array(); | ||||
| foreach ($interfaces as $interface) { | ||||
|     if (!isset($stack[$interface["member"]])) $stack[$interface["member"]] = array(); | ||||
|     $interface["style"] = ""; | ||||
|     if ($interface["pvid"]) $interface["style"] .= "--pvid: ${interface["pvid"]}; "; | ||||
|     if ($interface["tagged"]) $interface["style"] .= "--tagged: ${interface["tagged"]}; "; | ||||
|     if ($interface["untagged"]) $interface["style"] .= "--untagged: ${interface["untagged"]}; "; | ||||
|     if (!empty($interface["pvid"])) $interface["style"] .= "--pvid: ${interface["pvid"]}; "; | ||||
|     if (!empty($interface["tagged"])) $interface["style"] .= "--tagged: ${interface["tagged"]}; "; | ||||
|     if (!empty($interface["untagged"])) $interface["style"] .= "--untagged: ${interface["untagged"]}; "; | ||||
|     $stack[$interface["member"]][$interface["port"]] = $interface; | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user