vito/resources/views/servers/partials/server-status.blade.php
Saeed Vaziry fe331fd2b3
server updates (#202)
* server updates

* add last update check
2024-05-11 10:09:46 +02:00

22 lines
741 B
PHP

<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
@if ($server->status == \App\Enums\ServerStatus::UPDATING)
<x-status status="warning">{{ $server->status }}</x-status>
@endif
</div>