2023-07-28 19:36:19 +00:00
|
|
|
@props([
|
2023-09-22 13:29:19 +00:00
|
|
|
'status' => 'Restarting',
|
2024-05-17 06:53:25 +00:00
|
|
|
'lastDeploymentInfo' => null,
|
|
|
|
'lastDeploymentLink' => null,
|
2023-07-28 19:36:19 +00:00
|
|
|
])
|
2024-04-03 11:04:21 +00:00
|
|
|
<div class="flex items-center">
|
2024-03-20 11:54:06 +00:00
|
|
|
<x-loading wire:loading.delay.longer />
|
|
|
|
<span wire:loading.remove.delay.longer class="flex items-center">
|
|
|
|
<div class="badge badge-warning "></div>
|
2024-05-17 06:53:25 +00:00
|
|
|
<div class="pl-2 pr-1 text-xs font-bold tracking-wider dark:text-warning" @if($lastDeploymentInfo) title="{{$lastDeploymentInfo}}" @endif>
|
2024-05-17 08:12:13 +00:00
|
|
|
@if ($lastDeploymentLink)
|
2024-05-29 08:02:01 +00:00
|
|
|
<a href="{{ $lastDeploymentLink }}" target="_blank" class="underline cursor-pointer">
|
2024-05-17 06:53:25 +00:00
|
|
|
{{ str($status)->before(':')->headline() }}
|
|
|
|
</a>
|
|
|
|
@else
|
|
|
|
{{ str($status)->before(':')->headline() }}
|
|
|
|
@endif
|
2024-03-20 11:54:06 +00:00
|
|
|
</div>
|
|
|
|
@if (!str($status)->startsWith('Proxy') && !str($status)->contains('('))
|
2024-03-25 09:41:44 +00:00
|
|
|
<div class="text-xs dark:text-warning">({{ str($status)->after(':') }})</div>
|
2024-03-20 11:54:06 +00:00
|
|
|
@endif
|
|
|
|
</span>
|
2023-06-08 08:55:50 +00:00
|
|
|
</div>
|