coolify/resources/views/livewire/project/new/public-git-repository.blade.php

21 lines
1.1 KiB
PHP
Raw Normal View History

2023-04-25 14:43:35 +02:00
<div>
2023-05-18 15:12:26 +02:00
<h1>Enter a public repository URL</h1>
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
2023-05-25 14:05:44 +02:00
<x-forms.checkbox instantSave id="is_static" label="Is it a static site?" />
2023-05-11 15:20:02 +02:00
<div class="flex gap-2">
2023-05-25 14:05:44 +02:00
<x-forms.input id="repository_url" label="Repository URL"
2023-05-31 09:22:08 +02:00
helper="<span class='text-helper'>Example</span>https://github.com/coollabsio/coolify-examples => main branch will be selected<br>https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify => nodejs-fastify branch will be selected" />
2023-04-26 13:01:09 +02:00
@if ($is_static)
2023-05-25 14:05:44 +02:00
<x-forms.input id="publish_directory" label="Publish Directory"
2023-05-18 15:12:26 +02:00
helper="If there is a build process involved (like Svelte, React, Next, etc..), please specify the output directory for the build assets." />
2023-04-26 13:01:09 +02:00
@else
2023-05-25 14:05:44 +02:00
<x-forms.input type="number" id="port" label="Port" :readonly="$is_static"
2023-05-18 15:12:26 +02:00
helper="The port your application listens on." />
2023-04-26 13:01:09 +02:00
@endif
2023-05-11 15:20:02 +02:00
</div>
2023-05-25 14:05:44 +02:00
<x-forms.button type="submit">
2023-05-11 15:20:02 +02:00
Submit
2023-05-25 14:05:44 +02:00
</x-forms.button>
2023-05-11 15:20:02 +02:00
</form>
2023-04-25 14:43:35 +02:00
</div>