feat(firewall): Regeln nach Zone-Pair gruppieren — v1.2.65

- Regeln werden standardmäßig nach Zone-Pair (src→dst) gruppiert
- Jede Gruppe hat einen farbigen Header mit Zone-Badges + Regelanzahl
- Toggle-Button in der Filter-Bar: Gruppen-Ansicht ↔ flache Liste
- Move-up/down bleibt global korrekt (Priority über alle Gruppen)
- CSS: .fw-zone-section* mit nahtlosem Header → Tabelle Übergang
- i18n EN + DE

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-06-02 14:04:56 +02:00
parent 9580070a50
commit d425b696f1
5 changed files with 125 additions and 26 deletions

View File

@@ -3023,6 +3023,40 @@ h1, h2, h3, h4, h5, h6 {
border-bottom-color: #E2E8F0 !important;
}
/* ── Firewall Zone-Sections ──────────────────────────────────────────── */
.fw-zone-section {
margin-bottom: 20px;
}
.fw-zone-section-header {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
background: #F8FAFC;
border: 1px solid #E2E8F0;
border-bottom: none;
border-radius: 8px 8px 0 0;
font-size: 12px;
font-weight: 600;
color: #334155;
}
.fw-zone-section-arrow {
color: #94A3B8;
font-size: 13px;
}
.fw-zone-section-count {
margin-left: auto;
font-size: 11px;
font-weight: 400;
color: #94A3B8;
}
.fw-zone-section .ant-table-wrapper {
border-radius: 0 0 8px 8px !important;
}
.fw-zone-section .ant-table {
border-radius: 0 !important;
}
/* ── Firewall Filter-Bar ─────────────────────────────────────────────── */
.fw-filter-bar {
display: flex;