mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
Refactor input field for port number
This commit is contained in:
parent
39647367a5
commit
1af7ffcdc4
@ -54,8 +54,8 @@ class="loading loading-xs text-warning loading-spinner"></span>
|
|||||||
<x-forms.input id="publish_directory" required label="Publish Directory" />
|
<x-forms.input id="publish_directory" required label="Publish Directory" />
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<x-forms.input type="number" required id="port" label="Port" :readonly="$is_static || $build_pack === 'static'" />
|
|
||||||
@if ($show_is_static)
|
@if ($show_is_static)
|
||||||
|
<x-forms.input type="number" required id="port" label="Port" :readonly="$is_static || $build_pack === 'static'" />
|
||||||
<div class="w-52">
|
<div class="w-52">
|
||||||
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
||||||
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
||||||
|
@ -97,9 +97,9 @@ class="loading loading-xs text-warning loading-spinner"></span>
|
|||||||
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
|
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static || $build_pack === 'static'"
|
|
||||||
helper="The port your application listens on." />
|
|
||||||
@if ($show_is_static)
|
@if ($show_is_static)
|
||||||
|
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static || $build_pack === 'static'"
|
||||||
|
helper="The port your application listens on." />
|
||||||
<div class="w-52">
|
<div class="w-52">
|
||||||
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
||||||
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
||||||
|
@ -47,9 +47,9 @@ class='text-helper'>https://github.com/coollabsio/coolify-examples/tree/static</
|
|||||||
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
|
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static || $build_pack === 'static'"
|
|
||||||
helper="The port your application listens on." />
|
|
||||||
@if ($show_is_static)
|
@if ($show_is_static)
|
||||||
|
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static || $build_pack === 'static'"
|
||||||
|
helper="The port your application listens on." />
|
||||||
<div class="w-52">
|
<div class="w-52">
|
||||||
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?"
|
||||||
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
helper="If your application is a static site or the final build assets should be served as a static site, enable this." />
|
||||||
|
Loading…
Reference in New Issue
Block a user