mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 16:02:34 +00:00
Migrate to HTMX (#114)
Dropped Livewire Added HTMX Added Blade code lint Drop Mysql and Redis Migrate to SQLite
This commit is contained in:
17
resources/views/servers/partials/server-status.blade.php
Normal file
17
resources/views/servers/partials/server-status.blade.php
Normal file
@ -0,0 +1,17 @@
|
||||
<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