feat(wireguard): selektiver .conf-Import — Auswahl einzelner Interfaces per Modal
- GET /wireguard/importable listet alle .conf-Dateien in /etc/wireguard/ mit already_in-Flag (bereits in DB) - POST /wireguard/import nimmt optionale Names-Liste; ohne Namen → alles - edgeguard-ctl wg-import [iface…] importiert nur die genannten Interfaces - UI: Checkbox-Modal mit "Alle neuen auswählen" + Einzelauswahl; bereits importierte Interfaces disabled + grüner Tag Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -701,6 +701,17 @@
|
||||
"online": "Online",
|
||||
"offline": "Offline",
|
||||
"traffic": "Traffic"
|
||||
},
|
||||
"import": {
|
||||
"btn": ".conf importieren",
|
||||
"modalTitle": "WireGuard-Konfigurationen aus /etc/wireguard importieren",
|
||||
"hint": "Wähle aus, welche .conf-Dateien importiert werden sollen. Bereits importierte Interfaces sind ausgegraut.",
|
||||
"selectAll": "Alle neuen auswählen",
|
||||
"alreadyIn": "bereits importiert",
|
||||
"noFiles": "Keine .conf-Dateien in /etc/wireguard gefunden.",
|
||||
"okBtn": "Ausgewählte importieren",
|
||||
"ok": "{{ifaces}} Interface(s), {{peers}} Peer(s) importiert",
|
||||
"failed": "Import fehlgeschlagen"
|
||||
}
|
||||
},
|
||||
"dashboard": {
|
||||
|
||||
Reference in New Issue
Block a user