Hardware-Informationen, Installations-/Aktions-Log, De-/Reprovisionieren, Gerät löschen (Soft Delete, mit Bestätigungsseite) - via Pico-Dropdown, kein zusätzliches JS. Spricht die neuen anode-Endpunkte aus provisioning-server an. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
817 B
HTML
23 lines
817 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Gerät löschen — Tuxflotte{% endblock %}
|
|
{% block content %}
|
|
<p><a href="/geraete">← Geräteliste</a></p>
|
|
<h2>Gerät löschen</h2>
|
|
|
|
<p>Soll dieses Gerät wirklich gelöscht werden?</p>
|
|
<figure>
|
|
<table>
|
|
<tbody>
|
|
<tr><td>Hostname</td><td>{{ device.hostname or "—" }}</td></tr>
|
|
<tr><td>Kennung</td><td><code>{{ device.device_fingerprint }}</code></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</figure>
|
|
<p>Das Gerät verschwindet danach aus Ihrer Geräteliste. Bereits erfasste Hardware-Daten und das Aktions-Log gehen dabei nicht verloren.</p>
|
|
|
|
<form method="post" action="/geraete/{{ device.id }}/loeschen">
|
|
<button type="submit">Ja, Gerät löschen</button>
|
|
<a href="/geraete" role="button" class="secondary outline">Abbrechen</a>
|
|
</form>
|
|
{% endblock %}
|