From ec9eab03a140a6d9fa54d23c57fac35e06fd04f4 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Mon, 20 Jul 2026 14:26:37 +0000 Subject: [PATCH] Stack board card actions vertically in the footer. Full-width primary and secondary buttons (Transport, Start, Open) now sit one above the other instead of side-by-side, so narrow dispatch and queue columns stay readable. Co-authored-by: Cursor --- .../care/partials/queue-board-card.blade.php | 34 +++++++++---------- .../ambulance/dispatch-card.blade.php | 6 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/resources/views/care/partials/queue-board-card.blade.php b/resources/views/care/partials/queue-board-card.blade.php index 614c27b..79051b9 100644 --- a/resources/views/care/partials/queue-board-card.blade.php +++ b/resources/views/care/partials/queue-board-card.blade.php @@ -73,27 +73,12 @@ @if ($hasActions) -
- @if ($canRecall) -
- @csrf - -
- @endif - @if ($openUrl) - $stage === 'in_care', - 'bg-indigo-600 text-white hover:bg-indigo-700' => ! $showStart && $stage !== 'in_care' && $stage !== 'done', - 'text-slate-600 hover:bg-slate-100' => $stage === 'done' || ($showStart && $stage !== 'in_care'), - ])>Open - @endif +
@if ($showStart)
@csrf
@endif + @if ($openUrl) + $stage === 'in_care', + 'bg-indigo-600 font-semibold text-white hover:bg-indigo-700' => ! $showStart && $stage !== 'in_care' && $stage !== 'done', + 'border border-slate-200 font-medium text-slate-600 hover:bg-slate-50' => $stage === 'done' || ($showStart && $stage !== 'in_care'), + ])>Open + @endif + @if ($canRecall) +
+ @csrf + +
+ @endif
@endif diff --git a/resources/views/care/specialty/ambulance/dispatch-card.blade.php b/resources/views/care/specialty/ambulance/dispatch-card.blade.php index 708911e..f800499 100644 --- a/resources/views/care/specialty/ambulance/dispatch-card.blade.php +++ b/resources/views/care/specialty/ambulance/dispatch-card.blade.php @@ -62,16 +62,16 @@
-
- Open +
@if ($showAdvance)
@csrf -
@endif + Open