IPAM: duplikaatti-IP-tarkistus, vapaat lohkot, asiakas-kentän poisto + varattu oletus

- Duplikaatti-IP/verkko -tarkistus: estää saman verkko-osoitteen lisäämisen kahdesti
- Vapaan tilan näyttö: kun subnet avataan, näytetään vapaat osoitelohkot lasten välissä (vihreä "Vapaa"-rivi)
- Asiakas-kenttä poistettu IPAM-näkymästä (taulukot, lomake, haku)
- Varattu oletustilaksi verkkoa/VLANia lisättäessä

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 09:50:18 +02:00
parent 8a73423bf1
commit 44053d27f2
4 changed files with 128 additions and 31 deletions

View File

@@ -1090,6 +1090,10 @@ span.empty {
.ipam-bc-current { color:#333; font-weight:600; cursor:default; }
.ipam-bc-current:hover { text-decoration:none; }
.ipam-usage { display:inline-block; margin-left:0.5rem; padding:1px 6px; border-radius:8px; font-size:0.72rem; font-weight:600; background:#f0f4ff; color:#4338ca; }
.ipam-free-row { background:#f0fdf4 !important; }
.ipam-free-row:hover { background:#dcfce7 !important; }
.ipam-type-free { display:inline-block; padding:1px 8px; border-radius:4px; font-size:0.75rem; font-weight:700; background:#d1fae5; color:#065f46; }
.ipam-network-free { color:#059669; background:#ecfdf5; }
/* Role badge */
.role-badge {