move files around
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<div>
|
||||
@if ($application->status === 'running')
|
||||
<button wire:click='start'>Restart</button>
|
||||
<button wire:click='forceRebuild'>Force Rebuild</button>
|
||||
<button wire:click='stop'>Stop</button>
|
||||
@else
|
||||
<button wire:click='start'>Start</button>
|
||||
<button wire:click='forceRebuild'>Start (no cache)</button>
|
||||
@endif
|
||||
<button wire:click='kill'>Kill</button>
|
||||
<span wire:poll='pollingStatus'>
|
||||
@if ($application->status === 'running')
|
||||
<span class="text-green-500">{{ $application->status }}</span>
|
||||
@if (!data_get($application, 'settings.is_bot') && data_get($application, 'fqdn'))
|
||||
<a target="_blank" href="{{ data_get($application, 'fqdn') }}">Open URL</a>
|
||||
@endif
|
||||
|
||||
@if (data_get($application, 'ports_exposes_array'))
|
||||
@foreach ($application->ports_exposes_array as $port)
|
||||
@if (env('APP_ENV') === 'local')
|
||||
<a target="_blank" href="http://localhost:{{ $port }}">Open
|
||||
{{ $port }}</a>
|
||||
@else
|
||||
<a target="_blank"
|
||||
href="http://{{ $application->destination->server->ip }}:{{ $port }}">Open
|
||||
{{ $port }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@else
|
||||
<span class="text-red-500">{{ $application->status }}</span>
|
||||
@endif
|
||||
</span>
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
<p>IP: {{ $destination->server->ip }}</p>
|
||||
<p>Description: {{ $destination->server->description }}</p>
|
||||
<p>Docker Network: {{ $destination->network }}</p>
|
||||
</div>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div>
|
||||
@forelse ($envs as $env)
|
||||
{{ dump($env) }}
|
||||
@empty
|
||||
<p>There are no environment variables for this application.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
@@ -0,0 +1,37 @@
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<div class="flex-col flex w-96">
|
||||
<x-input name="application.ports_exposes" label="Ports Exposes" />
|
||||
</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>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div>
|
||||
<a @if ($status === 'in_progress' || $status === 'holding') wire:poll='polling' @endif href="{{ url()->current() }}/{{ $deployment_uuid }}">
|
||||
{{ $created_at }}
|
||||
{{ $deployment_uuid }}</a>
|
||||
{{ $status }}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn) wire:poll.750ms="polling" @endif>{{ \App\Actions\RemoteProcess\RunRemoteProcess::decodeOutput($activity) }}</pre>
|
||||
</div>
|
||||
@@ -0,0 +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>
|
||||
</div>
|
||||
@@ -0,0 +1,10 @@
|
||||
<div>
|
||||
@forelse ($storages as $storage)
|
||||
<p>Name:{{ data_get($storage, 'name') }}</p>
|
||||
<p>MountPath:{{ data_get($storage, 'mount_path') }}</p>
|
||||
<p>HostPath:{{ data_get($storage, 'host_path') }}</p>
|
||||
<p>ContainerId:{{ data_get($storage, 'container_id') }}</p>
|
||||
@empty
|
||||
<p>No storage found.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
Reference in New Issue
Block a user