coolify/resources/views/livewire/project/application/general.blade.php

51 lines
3.0 KiB
PHP
Raw Normal View History

2023-04-19 12:42:15 +02:00
<div>
2023-05-16 13:11:05 +02:00
<h3>General</h3>
2023-04-19 12:42:15 +02:00
<form wire:submit.prevent='submit' class="flex flex-col">
2023-05-16 20:47:59 +02:00
<div class="flex flex-col gap-2 pb-4">
2023-05-16 13:11:05 +02:00
<x-inputs.input id="application.name" label="Name" required />
2023-05-16 20:47:59 +02:00
<x-inputs.input id="application.fqdn" label="Domains" />
2023-05-16 13:11:05 +02:00
<x-inputs.input id="application.install_command" label="Install Command" />
<x-inputs.input id="application.build_command" label="Build Command" />
<x-inputs.input id="application.start_command" label="Start Command" />
<x-inputs.select id="application.build_pack" label="Build Pack" required>
<option value="nixpacks">Nixpacks</option>
<option disabled value="docker">Docker</option>
<option disabled value="compose">Compose</option>
</x-inputs.select>
@if ($application->settings->is_static)
<x-inputs.select id="application.static_image" label="Static Image" required>
<option value="nginx:alpine">nginx:alpine</option>
<option disabled value="apache:alpine">apache:alpine</option>
2023-05-04 11:43:30 +02:00
</x-inputs.select>
2023-05-16 13:11:05 +02:00
@endif
<x-inputs.input id="application.base_directory" label="Base Directory" />
@if ($application->settings->is_static)
<x-inputs.input id="application.publish_directory" label="Publish Directory" required />
@else
<x-inputs.input id="application.publish_directory" label="Publish Directory" />
@endif
@if ($application->settings->is_static)
<x-inputs.input id="application.ports_exposes" label="Ports Exposes" readonly />
@else
<x-inputs.input id="application.ports_exposes" label="Ports Exposes" required />
@endif
<x-inputs.input id="application.ports_mappings" label="Ports Mappings" />
2023-04-19 12:42:15 +02:00
</div>
2023-05-16 20:47:59 +02:00
<x-inputs.button isBold type="submit">
2023-04-19 12:42:15 +02:00
Submit
2023-05-03 14:09:10 +02:00
</x-inputs.button>
2023-04-19 12:42:15 +02:00
</form>
2023-05-08 11:51:03 +02:00
<div class="flex flex-col pt-4">
2023-05-09 09:54:43 +02:00
<x-inputs.input noDirty instantSave type="checkbox" id="is_static" label="Static website?" />
<x-inputs.input noDirty instantSave type="checkbox" id="is_git_submodules_allowed"
label="Git Submodules Allowed?" />
<x-inputs.input noDirty instantSave type="checkbox" id="is_git_lfs_allowed" label="Git LFS Allowed?" />
<x-inputs.input noDirty instantSave type="checkbox" id="is_debug" label="Debug" />
2023-05-10 11:43:49 +02:00
<x-inputs.input noDirty instantSave type="checkbox" id="is_auto_deploy" label="Auto Deploy?" />
2023-05-16 13:11:05 +02:00
<x-inputs.input noDirty instantSave type="checkbox" id="is_previews" label="Previews?" />
2023-05-08 11:51:03 +02:00
<x-inputs.input disabled instantSave type="checkbox" id="is_dual_cert" label="Dual Certs?" />
<x-inputs.input disabled instantSave type="checkbox" id="is_custom_ssl" label="Is Custom SSL?" />
<x-inputs.input disabled instantSave type="checkbox" id="is_http2" label="Is Http2?" />
2023-04-19 14:00:31 +02:00
</div>
2023-04-19 12:42:15 +02:00
</div>