add new public repo
This commit is contained in:
@@ -1,37 +1,38 @@
|
||||
<div>
|
||||
<form wire:submit.prevent='submit' class="flex flex-col">
|
||||
<div class="flex flex-col xl:flex-row gap-2">
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.name" label="Name" required />
|
||||
<x-input name="application.fqdn" label="FQDN" />
|
||||
<div class="flex flex-col gap-2 xl:flex-row">
|
||||
<div class="flex flex-col w-96">
|
||||
<x-form-input id="application.name" label="Name" required />
|
||||
<x-form-input id="application.fqdn" label="FQDN" />
|
||||
</div>
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.install_command" label="Install Command" />
|
||||
<x-input name="application.build_command" label="Build Command" />
|
||||
<x-input name="application.start_command" label="Start Command" />
|
||||
<x-input name="application.build_pack" label="Build Pack" />
|
||||
<div class="flex flex-col w-96">
|
||||
<x-form-input id="application.install_command" label="Install Command" />
|
||||
<x-form-input id="application.build_command" label="Build Command" />
|
||||
<x-form-input id="application.start_command" label="Start Command" />
|
||||
<x-form-input id="application.build_pack" label="Build Pack" />
|
||||
</div>
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.base_directory" label="Base Directory" />
|
||||
<x-input name="application.publish_directory" label="Publish Directory" />
|
||||
<div class="flex flex-col w-96">
|
||||
<x-form-input id="application.base_directory" label="Base Directory" />
|
||||
<x-form-input id="application.publish_directory" label="Publish Directory" />
|
||||
</div>
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.ports_exposes" label="Ports Exposes" />
|
||||
<div class="flex flex-col w-96">
|
||||
<x-form-input id="application.ports_exposes" label="Ports Exposes" />
|
||||
<x-form-input id="application.ports_mappings" label="Ports Mappings" />
|
||||
</div>
|
||||
</div>
|
||||
<button class="flex mx-auto mt-4" type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</form>
|
||||
<div class="flex flex-col pt-4 w-52 text-right">
|
||||
<x-input instantSave type="checkbox" name="is_auto_deploy" label="Auto Deploy?" />
|
||||
<x-input instantSave type="checkbox" name="is_dual_cert" label="Dual Certs?" />
|
||||
<x-input instantSave type="checkbox" name="is_previews" label="Previews?" />
|
||||
<x-input instantSave type="checkbox" name="is_bot" label="Is Bot?" />
|
||||
<x-input instantSave type="checkbox" name="is_custom_ssl" label="Is Custom SSL?" />
|
||||
<x-input instantSave type="checkbox" name="is_http2" label="Is Http2?" />
|
||||
<x-input instantSave type="checkbox" name="is_git_submodules_allowed" label="Git Submodules Allowed?" />
|
||||
<x-input instantSave type="checkbox" name="is_git_lfs_allowed" label="Git LFS Allowed?" />
|
||||
<x-input instantSave type="checkbox" name="is_debug" label="Debug" />
|
||||
<div class="flex flex-col pt-4 text-right w-52">
|
||||
<x-form-input instantSave type="checkbox" id="is_auto_deploy" label="Auto Deploy?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_dual_cert" label="Dual Certs?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_previews" label="Previews?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_bot" label="Is Bot?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_custom_ssl" label="Is Custom SSL?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_http2" label="Is Http2?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_git_submodules_allowed" label="Git Submodules Allowed?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_git_lfs_allowed" label="Git LFS Allowed?" />
|
||||
<x-form-input instantSave type="checkbox" id="is_debug" label="Debug" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<div>
|
||||
<p>Source Name: {{ data_get($application,'source.name') }}</p>
|
||||
<p>Is Public Source: {{ data_get($application,'source.is_public') }}</p>
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.git_repository" label="Git Repository" readonly />
|
||||
<x-input name="application.git_branch" label="Git Branch" readonly />
|
||||
<x-input name="application.git_commit_sha" label="Git Commit SHA" readonly />
|
||||
<div class="flex flex-col w-96">
|
||||
<x-form-input id="application.git_repository" label="Git Repository" readonly />
|
||||
<x-form-input id="application.git_branch" label="Git Branch" readonly />
|
||||
<x-form-input id="application.git_commit_sha" label="Git Commit SHA" readonly />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<div>
|
||||
<div class="flex flex-col w-64 gap-2">
|
||||
<button>Repository (any git)</button>
|
||||
<button>Repository through GitHub App</button>
|
||||
<button>Repository through GitLab App</button>
|
||||
<button>Repository through Bitbucket App</button>
|
||||
<button>Deploy Database</button>
|
||||
<button>Deploy Service</button>
|
||||
<button>Empty Project</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
<div>
|
||||
@forelse ($servers as $server)
|
||||
<button @if ($chosenServer == $server->id) class="bg-blue-500" @endif
|
||||
wire:click="chooseServer({{ $server->id }})">{{ $server->name }}</button>
|
||||
@empty
|
||||
No servers
|
||||
@endforelse
|
||||
@isset($chosenServer)
|
||||
<div>
|
||||
@foreach ($standalone_docker as $standalone)
|
||||
<button @if ($chosenDestination?->uuid == $standalone->uuid) class="bg-blue-500" @endif
|
||||
wire:click="setDestination('{{ $standalone->uuid }}','StandaloneDocker')">{{ $standalone->network }}</button>
|
||||
@endforeach
|
||||
@foreach ($swarm_docker as $standalone)
|
||||
<button @if ($chosenDestination?->uuid == $standalone->uuid) class="bg-blue-500" @endif
|
||||
wire:click="setDestination('{{ $standalone->uuid }}','SwarmDocker')">{{ $standalone->uuid }}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
@endisset
|
||||
|
||||
@isset($chosenDestination)
|
||||
<form wire:submit.prevent='submit'>
|
||||
<x-form-input id="public_repository_url" label="Repository URL" />
|
||||
<x-form-input type="number" id="port" label="Port" />
|
||||
<button type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</form>
|
||||
@endisset
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user