This commit is contained in:
Mateusz Gruszczyński committed 2026-11-28 17:36:53 +01:00
1 parent 5b6d4a7903
commit 4d1087e357
160 files changed
+2407 -1933

No files matched your search

-1
View File
@@ -173,7 +173,6 @@
if (!enabled.checked) badges.push([t("vhDisabled"), "danger"]);
headBadges.replaceChildren(...badges.map(([text, cls]) => el("span", text, `pill ${cls}`.trim())));
};
// Two sections like the other editors: identity/addresses and protocols.
const listenerSection = (key, cls) => { const box = el("section", undefined, `location-card listener-section ${cls}`), heading = el("h4", undefined, "location-card-title"), sectionGrid = el("div", undefined, "vh-grid"); heading.append(label("span", key)); box.append(heading, sectionGrid); return [box, sectionGrid]; };
const [identityBox, identityGrid] = listenerSection("listenerSectionIdentity", "listener-identity"), [protocolBox, protocolGrid] = listenerSection("listenerSectionProtocols", "listener-protocols");
identityGrid.append(...[id, name, scope].map(control => control.closest("label")), grid.querySelector(".host-chip-field"));