lasthourcloud/resources/views/components/status/restarting.blade.php

24 lines
966 B
PHP
Raw Normal View History

2023-07-28 19:36:19 +00:00
@props([
2023-09-22 13:29:19 +00:00
'status' => 'Restarting',
'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>
<div class="pl-2 pr-1 text-xs font-bold tracking-wider dark:text-warning" @if($lastDeploymentInfo) title="{{$lastDeploymentInfo}}" @endif>
@if ($lastDeploymentLink)
<a href="{{ $lastDeploymentLink }}" class="underline cursor-pointer">
{{ 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>