diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 19:02:24 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-05 19:02:24 +0000 |
| commit | 9e790e35708f834abe1a09af52e43742e164cb63 (patch) | |
| tree | 926f9b323f80dfdd3c030f98b7abebf9f02501d1 /web/style.css | |
| parent | ab93297426353d70ec7c877c710a049b664e4fd0 (diff) | |
web: add Accept/Reject for READY tasks, Start Next button
- READY state task cards show Accept + Reject buttons
- Accept POSTs to /api/tasks/{id}/accept (→ COMPLETED)
- Reject POSTs to /api/tasks/{id}/reject (→ PENDING)
- "Start Next" button in toolbar POSTs to /api/scripts/start-next-task
- CSS for .btn-accept and .btn-reject
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'web/style.css')
| -rw-r--r-- | web/style.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/web/style.css b/web/style.css index 268f80c..1478b36 100644 --- a/web/style.css +++ b/web/style.css @@ -259,6 +259,41 @@ main { cursor: not-allowed; } +.btn-accept { + font-size: 0.8rem; + font-weight: 600; + padding: 0.35em 0.85em; + border-radius: 0.375rem; + border: none; + cursor: pointer; + background: var(--state-completed); + color: #0f172a; + transition: opacity 0.15s; +} + +.btn-accept:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +.btn-reject { + font-size: 0.8rem; + font-weight: 600; + padding: 0.35em 0.85em; + border-radius: 0.375rem; + border: none; + cursor: pointer; + background: var(--text-muted); + color: #0f172a; + transition: opacity 0.15s; + margin-left: 0.375rem; +} + +.btn-reject:disabled { + opacity: 0.5; + cursor: not-allowed; +} + .task-error { font-size: 0.78rem; color: var(--state-failed); |
