Replace ghost action links with shared btn components in Queue.
Deploy Ladill Queue / deploy (push) Successful in 1m6s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user