2023-07-28 19:36:19 +00:00
|
|
|
@props([
|
2023-09-22 13:29:19 +00:00
|
|
|
'status' => 'Restarting',
|
2024-10-22 08:58:23 +00:00
|
|
|
'title' => null,
|
2024-05-17 06:53:25 +00:00
|
|
|
'lastDeploymentLink' => null,
|
2024-10-03 19:29:55 +00:00
|
|
|
'noLoading' => false,
|
2023-07-28 19:36:19 +00:00
|
|
|
])
|
2024-04-03 11:04:21 +00:00
|
|
|
<div class="flex items-center">
|
2024-10-03 19:29:55 +00:00
|
|
|
@if (!$noLoading)
|
|
|
|
|
<x-loading wire:loading.delay.longer />
|
|
|
|
|
@endif
|
2024-03-20 11:54:06 +00:00
|
|
|
<span wire:loading.remove.delay.longer class="flex items-center">
|
2025-06-11 10:02:39 +00:00
|
|
|
<div class="badge badge-warning"></div>
|
2024-10-22 08:58:23 +00:00
|
|
|
<div class="pl-2 pr-1 text-xs font-bold tracking-wider dark:text-warning" @if($title) title="{{$title}}" @endif>
|
2025-06-11 10:02:39 +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>
|