save
This commit is contained in:
parent
203c19c01f
commit
cd5655bd3f
@ -1,4 +1,4 @@
|
|||||||
<nav class="flex justify-center gap-4 py-2 border-b-2 border-solid border-coolgray-200">
|
<nav class="flex gap-4 py-2 border-b-2 border-solid border-coolgray-200">
|
||||||
<a
|
<a
|
||||||
href="{{ route('project.application.configuration', [
|
href="{{ route('project.application.configuration', [
|
||||||
'project_uuid' => Route::current()->parameters()['project_uuid'],
|
'project_uuid' => Route::current()->parameters()['project_uuid'],
|
||||||
@ -15,23 +15,36 @@
|
|||||||
]) }}">
|
]) }}">
|
||||||
Deployments
|
Deployments
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="{{ $application->gitBranchLocation }}">
|
<div class="flex-1"></div>
|
||||||
Open on Git
|
<div class="dropdown dropdown-hover">
|
||||||
<x-external-link />
|
<x-inputs.button>Links👇 </x-inputs.button>
|
||||||
</a>
|
<ul tabindex="0"
|
||||||
@if (data_get($application, 'ports_mappings_array'))
|
class="p-2 text-xs text-white normal-case rounded min-w-max dropdown-content menu bg-coolgray-200">
|
||||||
@foreach ($application->ports_mappings_array as $port)
|
<li>
|
||||||
@if (config('app.env') === 'local')
|
<a class="text-xs"target="_blank" href="{{ $application->gitBranchLocation }}">
|
||||||
<a target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open
|
Open on Git
|
||||||
{{ explode(':', $port)[0] }}
|
|
||||||
<x-external-link />
|
<x-external-link />
|
||||||
</a>
|
</a>
|
||||||
@else
|
</li>
|
||||||
<a target="_blank"
|
@if (data_get($application, 'ports_mappings_array'))
|
||||||
href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open
|
@foreach ($application->ports_mappings_array as $port)
|
||||||
{{ $port }}</a>
|
@if (config('app.env') === 'local')
|
||||||
|
<li>
|
||||||
|
<a class="text-xs" target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open
|
||||||
|
{{ explode(':', $port)[0] }}
|
||||||
|
<x-external-link />
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@else
|
||||||
|
<li>
|
||||||
|
<a class="text-xs" target="_blank"
|
||||||
|
href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open
|
||||||
|
{{ $port }}</a>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
</ul>
|
||||||
@endif
|
</div>
|
||||||
<livewire:project.application.deploy :applicationId="$application->id" />
|
<livewire:project.application.deploy :applicationId="$application->id" />
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user