mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-12 15:53:46 -04:00
fix(server): show the disabled server message on the localhost page
Closes #12475
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user