mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 23:42: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:
19
resources/views/servers/partials/show-server.blade.php
Normal file
19
resources/views/servers/partials/show-server.blade.php
Normal file
@ -0,0 +1,19 @@
|
||||
<div class="space-y-6">
|
||||
<x-live id="live-server">
|
||||
@if ($server->status === \App\Enums\ServerStatus::INSTALLING)
|
||||
@include("servers.partials.installing", ["server" => $server])
|
||||
@endif
|
||||
|
||||
@if ($server->status === \App\Enums\ServerStatus::INSTALLATION_FAILED)
|
||||
@include("servers.partials.installation-failed", ["server" => $server])
|
||||
@endif
|
||||
|
||||
@if (in_array($server->status, [\App\Enums\ServerStatus::READY, \App\Enums\ServerStatus::DISCONNECTED]))
|
||||
<div class="space-y-10">
|
||||
@include("servers.partials.server-overview", ["server" => $server])
|
||||
</div>
|
||||
@endif
|
||||
</x-live>
|
||||
|
||||
@include("server-logs.partials.logs-list")
|
||||
</div>
|
Reference in New Issue
Block a user