fix(server): show the disabled server message on the localhost page

Closes #12475
This commit is contained in:
Andras Bacsai
2026-11-06 19:52:05 +01:00
parent f7ea962145
commit eb5f238a45
3 changed files with 10 additions and 7 deletions
@@ -0,0 +1,7 @@
@if ($server->canBeReEnabled())
<x-callout type="danger" title="Server disabled" class="mb-4">
Coolify disabled this server because it was unreachable for more than 7 days. Coolify does not connect to it.
Correct the connection settings, then click <strong>Validate connection</strong>. When the connection works,
the server is enabled again.
</x-callout>
@endif
@@ -16,6 +16,8 @@
</x-forms.button>
</x-slot:actions>
@include('livewire.server.partials.force-disabled-callout')
@if ($this->limaStartCommand)
<x-callout type="info" title="Start this Lima VM locally" class="mb-4">
<code
@@ -221,13 +221,7 @@
</x-callout>
@endif
@if ($server->canBeReEnabled())
<x-callout type="danger" title="Server disabled" class="mb-4">
Coolify disabled this server because it was unreachable for more than 7 days. Coolify does
not connect to it. Correct the connection settings, then click
<strong>Validate connection</strong>. When the connection works, the server is enabled again.
</x-callout>
@endif
@include('livewire.server.partials.force-disabled-callout')
<div class="grid gap-4 sm:grid-cols-2">
<x-forms.input canGate="update" :canResource="$server" id="name" label="Name"