settings view
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
*
|
||||
@endif
|
||||
</label>
|
||||
<input type="text" id={{ $name }} wire:model.defer={{ $name }} name={{ $name }}
|
||||
@if ($required) required @endif
|
||||
<input type={{ $type }} id={{ $name }} wire:model.defer={{ $name }}
|
||||
name={{ $name }} @if ($required) required @endif
|
||||
@if ($readonly) readOnly=true disabled=true @endif />
|
||||
@endif
|
||||
|
||||
|
||||
@@ -7,7 +7,11 @@
|
||||
<title>{{ $title ?? 'Coolify' }}</title>
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
@vite(['resources/js/app.js', 'resources/css/app.css'])
|
||||
<style>[x-cloak] { display: none !important; }</style>
|
||||
<style>
|
||||
[x-cloak] {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
@livewireStyles
|
||||
</head>
|
||||
|
||||
|
||||
@@ -2,7 +2,11 @@
|
||||
<div>v{{ config('coolify.version') }}</div>
|
||||
@guest
|
||||
<a href="/login">Login</a>
|
||||
<a href="/register">Register</a>
|
||||
@isset($isRegistrationEnabled)
|
||||
<a href="/register">Register</a>
|
||||
@else
|
||||
<div>Registration disabled</div>
|
||||
@endisset
|
||||
@endguest
|
||||
@auth
|
||||
<a href="/">Home</a>
|
||||
|
||||
23
resources/views/livewire/instance-settings.blade.php
Normal file
23
resources/views/livewire/instance-settings.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div>
|
||||
<form wire:submit.prevent='submit' class="flex flex-col">
|
||||
<div class="flex flex-col gap-2 xl:flex-row">
|
||||
<div class="flex flex-col w-96">
|
||||
<x-input name="settings.fqdn" label="FQDN" />
|
||||
<x-input name="settings.wildcard_domain" label="Wildcard Domain" />
|
||||
</div>
|
||||
<div class="flex flex-col w-96">
|
||||
<x-input type="number" name="settings.public_port_min" label="Public Port Min" />
|
||||
<x-input type="number" name="settings.public_port_max" label="Public Port Max" />
|
||||
</div>
|
||||
</div>
|
||||
<button class="flex mx-auto mt-4" type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</form>
|
||||
<div class="flex flex-col pt-4 text-right w-52">
|
||||
<x-input instantSave type="checkbox" name="do_not_track" label="Do Not Track" />
|
||||
<x-input instantSave type="checkbox" name="is_auto_update_enabled" label="Auto Update?" />
|
||||
<x-input instantSave type="checkbox" name="is_registration_enabled" label="Registration Enabled?" />
|
||||
<x-input instantSave type="checkbox" name="is_https_forced" label="Force https?" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<x-layout>
|
||||
<h1>Settings</h1>
|
||||
|
||||
<livewire:instance-settings :settings="$settings" />
|
||||
</x-layout>
|
||||
|
||||
Reference in New Issue
Block a user