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

44 lines
2.3 KiB
PHP
Raw Normal View History

2023-04-25 08:06:45 +00:00
<div>
2023-12-07 18:06:32 +00:00
<form wire:submit='submit' class="flex flex-col">
2023-06-02 10:34:45 +00:00
<div class="flex items-center gap-2">
2023-08-11 14:13:53 +00:00
<h2>Configuration</h2>
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>
2024-03-02 02:37:31 +00:00
<div>General configuration for your Last Hour Cloud instance.</div>
2023-08-11 14:13:53 +00:00
2023-07-28 07:10:35 +00:00
<div class="flex flex-col gap-2 pt-4">
<div class="flex items-end gap-2">
2024-03-02 02:37:31 +00:00
<x-forms.input id="settings.fqdn" label="Instance's Domain" placeholder="https://lasthourhosting.org" />
<x-forms.input id="settings.custom_dns_servers" label="DNS Servers" helper="DNS servers for validation FQDNS againts. A comma separated list of DNS servers." placeholder="1.1.1.1,8.8.8.8" />
<x-forms.checkbox instantSave id="is_dns_validation_enabled" label="Validate DNS settings?" />
2023-04-25 08:06:45 +00:00
</div>
2023-07-14 09:27:08 +00:00
2023-06-12 10:21:48 +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-06-12 10:21:48 +00:00
</div> --}}
2023-04-25 08:06:45 +00:00
</div>
</form>
2023-06-23 11:13:02 +00:00
<h2 class="pt-6">Advanced</h2>
2023-06-23 11:27:45 +00:00
<div class="flex flex-col py-6 text-right w-80">
2023-12-11 20:43:53 +00:00
@if(!is_null(env('AUTOUPDATE', null)))
2023-12-11 20:26:21 +00:00
<x-forms.checkbox instantSave helper="AUTOUPDATE is set in .env file, you need to modify it there." disabled
2024-03-02 02:37:31 +00:00
id="is_auto_update_enabled" label="Auto Update Last Hour Cloud" />
@else
2024-03-02 02:37:31 +00:00
<x-forms.checkbox instantSave id="is_auto_update_enabled" label="Auto Update Last Hour Cloud" />
2023-12-11 20:30:13 +00:00
@endif
2023-08-11 18:19:42 +00:00
<x-forms.checkbox instantSave id="is_registration_enabled" label="Registration Allowed" />
<x-forms.checkbox instantSave id="do_not_track" label="Do Not Track" />
2023-12-07 18:06:32 +00:00
@if ($next_channel)
<x-forms.checkbox instantSave helper="Do not recommended, only if you like to live on the edge."
id="next_channel" label="Enable pre-release (early) updates" />
@else
<x-forms.checkbox disabled instantSave
helper="Currently disabled. Do not recommended, only if you like to live on the edge." id="next_channel"
label="Enable pre-release (early) updates" />
@endif
2023-04-25 08:06:45 +00:00
</div>
</div>