feat(branding): disable FQDN and IP fields instead of hiding/leaving editable
All checks were successful
Build MapleDeploy Coolify Image / build (push) Successful in 1m7s
All checks were successful
Build MapleDeploy Coolify Image / build (push) Successful in 1m7s
This commit is contained in:
parent
bfb5e84c9a
commit
d9455b1f1c
1 changed files with 9 additions and 3 deletions
|
|
@ -18,7 +18,12 @@ class="flex flex-col h-full gap-8 sm:flex-row">
|
|||
<div class="flex flex-col gap-2">
|
||||
<div class="flex flex-wrap items-end gap-2">
|
||||
<div class="flex gap-2 md:flex-row flex-col w-full">
|
||||
{{-- MapleDeploy branding: FQDN is managed during provisioning, hide from customers --}}
|
||||
{{-- MapleDeploy branding: FQDN is managed during provisioning, shown as disabled --}}
|
||||
<x-forms.input id="fqdn" label="URL" disabled
|
||||
helper="Enter the full URL of the instance (for example, https://dashboard.example.com).<br><br>
|
||||
<span class='dark:text-warning text-coollabs'>Important: </span>
|
||||
If you want the dashboard to be accessible over HTTPS, you must include <b>https://</b> at the start of the URL. Without it, the dashboard will use HTTP and won't be secured."
|
||||
placeholder="https://coolify.yourdomain.com" />
|
||||
<x-forms.input canGate="update" :canResource="$settings" id="instance_name" label="Name" placeholder="MapleDeploy"
|
||||
helper="Custom name for your MapleDeploy instance, shown in the URL." />
|
||||
<div class="w-full" x-data="{
|
||||
|
|
@ -68,11 +73,12 @@ class="px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-co
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- MapleDeploy branding: IP addresses are managed during provisioning, shown as disabled --}}
|
||||
<div class="flex gap-2 md:flex-row flex-col w-full">
|
||||
<x-forms.input canGate="update" :canResource="$settings" id="public_ipv4" type="password" label="Instance's Public IPv4"
|
||||
<x-forms.input id="public_ipv4" type="password" label="Instance's Public IPv4" disabled
|
||||
helper="Enter the IPv4 address of the instance.<br><br>It is useful if you have several IPv4 addresses and MapleDeploy could not detect the correct one."
|
||||
placeholder="1.2.3.4" autocomplete="new-password" />
|
||||
<x-forms.input canGate="update" :canResource="$settings" id="public_ipv6" type="password" label="Instance's Public IPv6"
|
||||
<x-forms.input id="public_ipv6" type="password" label="Instance's Public IPv6" disabled
|
||||
helper="Enter the IPv6 address of the instance.<br><br>It is useful if you have several IPv6 addresses and MapleDeploy could not detect the correct one."
|
||||
placeholder="2001:db8::1" autocomplete="new-password" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue