wip: services

This commit is contained in:
Andras Bacsai
2023-09-21 17:48:31 +02:00
parent 301469de6b
commit 6b75ff7de4
29 changed files with 632 additions and 427 deletions

View File

@@ -0,0 +1,8 @@
@props([
'text' => 'Degraded',
])
<x-loading wire:loading.delay />
<div class="flex items-center gap-2" wire:loading.remove.delay.longer>
<div class="badge badge-warning badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-warning">{{ $text }}</div>
</div>

View File

@@ -0,0 +1,7 @@
@if ($status === 'running')
<x-status.running />
@elseif($status === 'restarting')
<x-status.restarting />
@else
<x-status.stopped />
@endif

View File

@@ -0,0 +1,9 @@
@if ($complexStatus === 'running')
<x-status.running />
@elseif($complexStatus === 'restarting')
<x-status.restarting />
@elseif($complexStatus === 'degraded')
<x-status.degraded />
@else
<x-status.stopped />
@endif