Replace ghost action links with shared btn components in Queue.
Deploy Ladill Queue / deploy (push) Successful in 1m6s

Aligns kiosk, appointment, queue, and admin destructive actions with the Frontdesk pill-button pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-09 06:38:09 +00:00
co-authored by Cursor
parent 5780ace7d0
commit cfef8bee06
12 changed files with 186 additions and 23 deletions
+11 -9
View File
@@ -60,15 +60,17 @@
</td>
<td class="px-4 py-3 text-slate-600">{{ $device->branch?->name ?? '—' }}</td>
<td class="px-4 py-3 text-right">
@if ($device->type === 'kiosk' && $device->device_token)
<a href="{{ route('qms.kiosk.device', $device->device_token) }}" target="_blank" class="text-indigo-700 hover:underline">Open kiosk</a>
@endif
@if ($canManage)
<form method="POST" action="{{ route('qms.devices.regenerate-token', $device) }}" class="ml-3 inline">
@csrf
<button type="submit" class="text-indigo-700 hover:underline">Regenerate token</button>
</form>
@endif
<div class="btn-group justify-end">
@if ($device->type === 'kiosk' && $device->device_token)
<x-btn :href="route('qms.kiosk.device', $device->device_token)" target="_blank" variant="link" size="sm" plain>Open kiosk</x-btn>
@endif
@if ($canManage)
<form method="POST" action="{{ route('qms.devices.regenerate-token', $device) }}" class="inline">
@csrf
<x-btn type="submit" variant="warning" size="sm">Regenerate token</x-btn>
</form>
@endif
</div>
</td>
</tr>
@endforeach