srv/poe_manager/templates/switche.html aktualisiert

This commit is contained in:
2025-10-07 23:16:01 +02:00
parent 0e80925a11
commit 738b7f9cb0

View File

@@ -25,8 +25,9 @@
<button class="btn btn-sm button login white" data-bs-toggle="modal" data-bs-target="#editSwitchModal{{ loop.index }}">Bearbeiten</button>
<!-- Löschen -->
<form method="post" action="{{ url_for('delete_switch', hostname=sw['hostname']) }}" style="display:inline;">
<button class="btn btn-danger btn-sm" onclick="return confirm('Willst du den Switch wirklich löschen?');">
<form method="post" style="display:inline;">
<input type="hidden" name="delete_switch" value="{{ d['hostname'] }}">
<button class="btn btn-danger btn-sm" onclick="return confirm('Willst du das Gerät wirklich löschen?');">
Löschen
</button>
</form>