mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 23:12:35 +00:00
refactoring
This commit is contained in:
14
resources/views/livewire/servers/server-status.blade.php
Normal file
14
resources/views/livewire/servers/server-status.blade.php
Normal file
@ -0,0 +1,14 @@
|
||||
<div>
|
||||
@if($server->status == \App\Enums\ServerStatus::READY)
|
||||
<x-status status="success">{{ $server->status }}</x-status>
|
||||
@endif
|
||||
@if($server->status == \App\Enums\ServerStatus::INSTALLING)
|
||||
<x-status status="warning">{{ $server->status }}</x-status>
|
||||
@endif
|
||||
@if($server->status == \App\Enums\ServerStatus::DISCONNECTED)
|
||||
<x-status status="disabled">{{ $server->status }}</x-status>
|
||||
@endif
|
||||
@if($server->status == \App\Enums\ServerStatus::INSTALLATION_FAILED)
|
||||
<x-status status="danger">{{ $server->status }}</x-status>
|
||||
@endif
|
||||
</div>
|
Reference in New Issue
Block a user