changes to the admin instace style

This commit is contained in:
2026-08-28 16:16:28 +02:00
parent e224741092
commit 36b09f57c4
+4 -4
View File
@@ -53,7 +53,7 @@
</span> </span>
</td> </td>
<td> <td>
<span class="pill {{ 'ok' if item.status in ['Läuft', 'ready', 'active'] else 'error' }}"> <span class="pill {{ 'ok' if item.status in ['Läuft', 'ready', 'active'] else ('inactive' if item.status == 'storniert' else 'error') }}">
{{ item.status or 'Unbekannt' }} {{ item.status or 'Unbekannt' }}
</span> </span>
</td> </td>
@@ -61,9 +61,9 @@
<td class="last-msg-cell">{{ item.last_message or '-' }}</td> <td class="last-msg-cell">{{ item.last_message or '-' }}</td>
<td>{{ item.updated_at or '-' }}</td> <td>{{ item.updated_at or '-' }}</td>
<td class="actions-cell"> <td class="actions-cell">
<form action="{{ url_for('admin_delete_instance', instance_id=item.id) }}" method="POST" class="form-delete-single"> <form action="{{ url_for('admin_cancel_instance', instance_id=item.id) }}" method="POST" class="form-delete-single">
<button type="submit" class="btn-delete-single" onclick="return confirm('Möchten Sie diese Instanz wirklich löschen?');"> <button type="submit" class="btn-delete-single" onclick="return confirm('Möchten Sie diese Instanz wirklich stornieren und vom Server löschen?');">
Löschen Stornieren
</button> </button>
</form> </form>
</td> </td>