fix: editable ip
fix: traefik dashboard
This commit is contained in:
parent
49f8abcd79
commit
3c8c8e20b1
@ -35,11 +35,7 @@
|
|||||||
label="Is it part of a Swarm cluster?" /> --}}
|
label="Is it part of a Swarm cluster?" /> --}}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col w-full gap-2 lg:flex-row">
|
<div class="flex flex-col w-full gap-2 lg:flex-row">
|
||||||
@if ($server->id === 0)
|
<x-forms.input id="server.ip" label="IP Address" required />
|
||||||
<x-forms.input id="server.ip" label="IP Address" required />
|
|
||||||
@else
|
|
||||||
<x-forms.input id="server.ip" label="IP Address" readonly required />
|
|
||||||
@endif
|
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<x-forms.input id="server.user" label="User" required />
|
<x-forms.input id="server.user" label="User" required />
|
||||||
<x-forms.input type="number" id="server.port" label="Port" required />
|
<x-forms.input type="number" id="server.port" label="Port" required />
|
||||||
@ -52,15 +48,15 @@
|
|||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
@endif
|
@endif
|
||||||
@if ($server->settings->is_reachable && !$server->settings->is_usable && $server->id !== 0)
|
@if ($server->settings->is_reachable && !$server->settings->is_usable && $server->id !== 0)
|
||||||
<x-forms.button class="mt-8 mb-4 box" onclick="installDocker.showModal()"
|
<x-forms.button class="mt-8 mb-4 box" onclick="installDocker.showModal()" wire:click.prevent='installDocker'
|
||||||
wire:click.prevent='installDocker' isHighlighted>
|
isHighlighted>
|
||||||
Install Docker Engine 24.0
|
Install Docker Engine 24.0
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
@endif
|
@endif
|
||||||
@if ($server->isFunctional())
|
@if ($server->isFunctional())
|
||||||
<h3 class="py-4">Settings</h3>
|
<h3 class="py-4">Settings</h3>
|
||||||
<x-forms.input id="cleanup_after_percentage" label="Disk Cleanup threshold (%)" required
|
<x-forms.input id="cleanup_after_percentage" label="Disk Cleanup threshold (%)" required
|
||||||
helper="Disk cleanup job will be executed if disk usage is more than this number." />
|
helper="Disk cleanup job will be executed if disk usage is more than this number." />
|
||||||
@endif
|
@endif
|
||||||
</form>
|
</form>
|
||||||
<h2 class="pt-4">Danger Zone</h2>
|
<h2 class="pt-4">Danger Zone</h2>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
@if (data_get($server, 'proxy.status') === 'running')
|
@if (data_get($server, 'proxy.status') === 'running')
|
||||||
<div class="flex gap-4">
|
<div class="flex gap-4">
|
||||||
<button>
|
<button>
|
||||||
<a target="_blank" href="{{ base_url(false) }}:8080">
|
<a target="_blank" href="http://{{$server->ip}}:8080">
|
||||||
Traefik Dashboard
|
Traefik Dashboard
|
||||||
<x-external-link />
|
<x-external-link />
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user