changes to the admin instace style
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
</span>
|
||||
</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' }}
|
||||
</span>
|
||||
</td>
|
||||
@@ -61,9 +61,9 @@
|
||||
<td class="last-msg-cell">{{ item.last_message or '-' }}</td>
|
||||
<td>{{ item.updated_at or '-' }}</td>
|
||||
<td class="actions-cell">
|
||||
<form action="{{ url_for('admin_delete_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?');">
|
||||
Löschen
|
||||
<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 stornieren und vom Server löschen?');">
|
||||
Stornieren
|
||||
</button>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user