wip: services
This commit is contained in:
8
resources/views/components/status/degraded.blade.php
Normal file
8
resources/views/components/status/degraded.blade.php
Normal 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>
|
||||
7
resources/views/components/status/index.blade.php
Normal file
7
resources/views/components/status/index.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@if ($status === 'running')
|
||||
<x-status.running />
|
||||
@elseif($status === 'restarting')
|
||||
<x-status.restarting />
|
||||
@else
|
||||
<x-status.stopped />
|
||||
@endif
|
||||
9
resources/views/components/status/services.blade.php
Normal file
9
resources/views/components/status/services.blade.php
Normal 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
|
||||
Reference in New Issue
Block a user