This commit is contained in:
Saeed Vaziry
2024-03-24 09:56:34 +01:00
committed by GitHub
parent 884f18db63
commit 4d051330d6
1055 changed files with 14493 additions and 20278 deletions

View File

@ -0,0 +1,47 @@
@if ($status == \App\Enums\ServiceStatus::READY)
<x-status status="success">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::INSTALLING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::INSTALLATION_FAILED)
<x-status status="danger">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::UNINSTALLING)
<x-status status="danger">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::FAILED)
<x-status status="danger">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::RESTARTING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::STARTING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::STOPPING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::STOPPED)
<x-status status="danger">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::ENABLING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::DISABLING)
<x-status status="warning">{{ $status }}</x-status>
@endif
@if ($status == \App\Enums\ServiceStatus::DISABLED)
<x-status status="disabled">{{ $status }}</x-status>
@endif