mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 16:44:23 +08:00
⛄ Sync 2026-09-23 11:01:39
This commit is contained in:
1 parent
a8c6f9b0fc
commit
0b87d429f8
9 files changed
+96
-31
No files matched your search
@@ -152,6 +152,8 @@
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
margin-block: auto;
|
||||
/* Override Footstrap's negative SVG container margins to preserve card padding. */
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
.dashboard-donut svg {
|
||||
@@ -474,6 +476,10 @@
|
||||
color: var(--dashboard-text-muted);
|
||||
}
|
||||
|
||||
.dashboard-client-addresses {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
|
||||
/* ---- Responsive ---- */
|
||||
@media screen and (max-width: 760px) {
|
||||
@@ -506,7 +512,3 @@
|
||||
--dashboard-plot-h: 140px;
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard-client-addresses {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
@@ -250,11 +250,11 @@ return baseclass.extend({
|
||||
},
|
||||
|
||||
clientAddresses(hint) {
|
||||
const ipv4 = L.toArray(hint?.ipaddrs || hint?.ipv4);
|
||||
const ipv4 = L.toArray(hint?.ipaddrs || hint?.ipv4).find(Boolean);
|
||||
const ipv6 = L.toArray(hint?.ip6addrs || hint?.ipv6)
|
||||
.filter(address => !/^fe[89ab][0-9a-f]:/i.test(address));
|
||||
.find(address => address && !/^fe[89ab][0-9a-f]:/i.test(address));
|
||||
|
||||
return Array.from(new Set(ipv4.concat(ipv6).filter(Boolean)));
|
||||
return [ ipv4, ipv6 ].filter(Boolean);
|
||||
},
|
||||
|
||||
renderUpdateData(radios, networks, hosthints) {
|
||||
|
||||
Reference in new issue
Block a user