This commit is contained in:
Andras Bacsai
2023-05-23 15:48:05 +02:00
parent 8e819485e4
commit 8677b1d85d
11 changed files with 49 additions and 25 deletions

View File

@@ -1,9 +1,10 @@
<a @class([
'bg-coolgray-200 p-2 border-l border-dashed border-transparent transition-colors hover:no-underline',
'border-warning hover:bg-warning hover:text-black' =>
$status == 'in_progress' || $status == 'queued',
'border-error hover:bg-error' => $status == 'error',
'border-success hover:bg-success' => $status == 'finished',
'bg-coolgray-200 p-2 border-l border-dashed transition-colors hover:no-underline',
'border-warning hover:bg-warning hover:text-black' =>
$status === 'in_progress',
'border-primary hover:bg-primary' => $status === 'queued',
'border-error hover:bg-error' => $status === 'error',
'border-success hover:bg-success' => $status === 'finished',
]) @if ($status === 'in_progress' || $status === 'queued')
wire:poll.5000ms='polling'
@endif href="{{ url()->current() }}/{{ $deployment_uuid }}" class="hover:no-underline">