srv/poe_manager/templates/switche.html aktualisiert
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
<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" style="display:inline;">
|
||||
<input type="hidden" name="delete_switch" value="{{ s['hostname'] }}">
|
||||
<button class="btn btn-sm btn-danger" type="submit">Löschen</button>
|
||||
<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?');">
|
||||
Löschen
|
||||
</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user