Add server control buttons to dashboard with confirmation dialogs
All checks were successful
Deploy GSM / deploy (push) Successful in 24s

- Add ConfirmModal component for stop/restart confirmations
- Add start/stop/restart buttons to ServerCard (moderator/admin only)
- Add confirmation dialogs to ServerDetail for stop/restart actions
- Add btn-sm CSS class for smaller buttons

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-10 13:40:45 +01:00
parent 3dc7e9e7e7
commit a07e8df3e7
5 changed files with 151 additions and 7 deletions

View File

@@ -52,6 +52,11 @@ button {
cursor: not-allowed;
}
.btn-sm {
font-size: 0.75rem;
padding: 0.375rem 0.75rem;
}
.btn-primary {
background-color: #fafafa;
color: #0a0a0a;