fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<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 />
|
||||
@@ -16,10 +15,10 @@
|
||||
<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>
|
||||
|
||||
@@ -12,7 +12,20 @@
|
||||
@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</a>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user