lasthourcloud/resources/views/livewire/settings/form.blade.php

37 lines
2.1 KiB
PHP
Raw Normal View History

2023-04-25 08:06:45 +00:00
<div>
<form wire:submit.prevent='submit' class="flex flex-col">
2023-05-31 20:23:17 +00:00
<div class="flex gap-2">
<h1 class="pb-2">Settings</h1>
2023-05-25 12:05:44 +00:00
<x-forms.button type="submit">
2023-05-22 10:00:59 +00:00
Save
2023-05-25 12:05:44 +00:00
</x-forms.button>
2023-05-22 10:00:59 +00:00
</div>
2023-05-31 20:23:17 +00:00
<div class="pb-4 text-sm">Instance wide settings for Coolify.
</div>
2023-05-22 10:00:59 +00:00
<div class="flex flex-col gap-2">
2023-05-31 07:22:08 +00:00
<div class="flex gap-2">
2023-05-25 12:05:44 +00:00
<x-forms.input id="settings.fqdn" label="Coolify's Domain" />
<x-forms.input id="settings.wildcard_domain" label="Wildcard Domain"
2023-05-31 07:22:08 +00:00
helper="Wildcard domain for your applications. If you set this, you will get a random generated domain for your new applications.<br><span class='font-bold text-white'>Example</span>In case you set:<span class='text-helper'>https://example.com</span>your applications will get: <span class='text-helper'>https://randomId.example.com</span>" />
<x-forms.input id="settings.default_redirect_404" label="Default Redirect 404"
helper="All urls that has no service available will be redirected to this domain.<span class='text-helper'>You can set to your main marketing page or your social media link.</span>" />
2023-04-25 08:06:45 +00:00
</div>
2023-05-31 07:22:08 +00:00
<div class="flex gap-2 ">
2023-05-25 12:05:44 +00:00
<x-forms.input type="number" id="settings.public_port_min" label="Public Port Min" />
<x-forms.input type="number" id="settings.public_port_max" label="Public Port Max" />
2023-04-25 08:06:45 +00:00
</div>
</div>
</form>
2023-05-22 10:00:59 +00:00
<h3>Advanced</h3>
2023-05-31 20:23:17 +00:00
<div class="flex flex-col text-right w-52">
2023-05-25 12:05:44 +00:00
<x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Coolify" />
<x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" />
{{-- <x-forms.checkbox instantSave id="is_https_forced" label="Force https?" /> --}}
<x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />
2023-04-25 08:06:45 +00:00
</div>
2023-05-26 10:24:59 +00:00
@if (auth()->user()->isPartOfRootTeam())
<livewire:force-upgrade />
@endif
2023-04-25 08:06:45 +00:00
</div>