refactoring

This commit is contained in:
Saeed Vaziry
2023-08-04 18:28:04 +02:00
parent 8444323cf4
commit 643318fcfc
349 changed files with 3189 additions and 2729 deletions

View 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>