wip
This commit is contained in:
@@ -11,7 +11,11 @@ label {
|
|||||||
}
|
}
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea {
|
||||||
@apply border border-solid border-coolgray-500 bg-coolgray-200 rounded p-2 px-4 text-white disabled:text-neutral-600 read-only:text-neutral-600 read-only:select-none outline-none focus:bg-coolgray-200/50 transition-all hover:bg-coolgray-200/50;
|
@apply border border-solid border-coolgray-500 bg-coolgray-200 rounded p-2 px-4 text-white outline-none transition-all;
|
||||||
|
}
|
||||||
|
input,
|
||||||
|
textarea {
|
||||||
|
@apply disabled:text-neutral-600 read-only:text-neutral-600 read-only:select-none read-only:bg-coolgray-200/50;
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
@apply border border-solid border-coolgray-400 rounded p-2 px-4 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:select-none outline-none;
|
@apply border border-solid border-coolgray-400 rounded p-2 px-4 bg-coolgray-200 text-white disabled:text-neutral-600 read-only:select-none outline-none;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
]) }}">
|
]) }}">
|
||||||
Deployments
|
Deployments
|
||||||
</a>
|
</a>
|
||||||
<a target="_blank" href="{{ $gitBranchLocation }}">
|
<a target="_blank" href="{{ $application->gitBranchLocation }}">
|
||||||
Open on Git <img class="inline-flex w-4 h-4" src="{{ Vite::asset('public/svgs/external-link.svg') }}">
|
Open on Git <img class="inline-flex w-4 h-4" src="{{ Vite::asset('public/svgs/external-link.svg') }}">
|
||||||
</a>
|
</a>
|
||||||
@if (data_get($application, 'ports_mappings_array'))
|
@if (data_get($application, 'ports_mappings_array'))
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
<div>
|
<div>
|
||||||
<h3>Source</h3>
|
<h3>Source</h3>
|
||||||
<p>Source Name: {{ data_get($application, 'source.name') }}</p>
|
<div class="pb-8">{{ data_get($application, 'source.name') }}
|
||||||
<p>Is Public Source: {{ data_get($application, 'source.is_public') }}</p>
|
@if (data_get($application, 'source.is_public'))
|
||||||
<div class="flex flex-col w-96">
|
<span class="text-xs">public</span>
|
||||||
<x-inputs.input id="application.git_repository" label="Git Repository" readonly />
|
@endif
|
||||||
<x-inputs.input id="application.git_branch" label="Git Branch" readonly />
|
|
||||||
<form wire:submit.prevent='submit'>
|
|
||||||
<x-inputs.input id="application.git_commit_sha" placeholder="HEAD" label="Git Commit SHA" />
|
|
||||||
<x-inputs.button type="submit">Save</x-inputs.button>
|
|
||||||
</form>
|
|
||||||
<a target="_blank" href="{{ $application->gitCommits }}">
|
|
||||||
<x-inputs.button>Commits ↗️</x-inputs.button>
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
<form wire:submit.prevent='submit' class="flex flex-col gap-2 w-max-fit">
|
||||||
|
<x-inputs.input id="application.git_repository" label="Repository" readonly />
|
||||||
|
<x-inputs.input id="application.git_branch" label=" Branch" readonly />
|
||||||
|
<x-inputs.input id="application.git_commit_sha" placeholder="HEAD" label="Commit SHA" />
|
||||||
|
<div>
|
||||||
|
<x-inputs.button type="submit">Save</x-inputs.button>
|
||||||
|
<a target="_blank" href="{{ $application->gitCommits }}">
|
||||||
|
Commits <img class="inline-flex w-4 h-4" src="{{ Vite::asset('public/svgs/external-link.svg') }}">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<x-layout>
|
<x-layout>
|
||||||
<x-applications.navbar :application="$application" :gitBranchLocation="$application->gitBranchLocation" />
|
<x-applications.navbar :application="$application" />
|
||||||
<h1 class="py-10">Configuration</h1>
|
<h1 class="py-10">Configuration</h1>
|
||||||
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6">
|
<div x-data="{ activeTab: window.location.hash ? window.location.hash.substring(1) : 'general' }" class="flex pt-6">
|
||||||
<div class="flex flex-col min-w-fit">
|
<div class="flex flex-col min-w-fit">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<x-layout>
|
<x-layout>
|
||||||
<x-applications.navbar :applicationId="$application->id" :gitBranchLocation="$application->gitBranchLocation" />
|
<x-applications.navbar :application="$application" />
|
||||||
<h1 class="py-10">Deployment</h1>
|
<h1 class="py-10">Deployment</h1>
|
||||||
<livewire:project.application.poll-deployment :activity="$activity" :deployment_uuid="$deployment_uuid" />
|
<livewire:project.application.poll-deployment :activity="$activity" :deployment_uuid="$deployment_uuid" />
|
||||||
</x-layout>
|
</x-layout>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<x-layout>
|
<x-layout>
|
||||||
<x-applications.navbar :application="$application" :gitBranchLocation="$application->gitBranchLocation" />
|
<x-applications.navbar :application="$application" />
|
||||||
<h1 class="py-10">Deployments</h1>
|
<h1 class="py-10">Deployments</h1>
|
||||||
<div class="pt-2">
|
<div class="pt-2">
|
||||||
@forelse ($deployments as $deployment)
|
@forelse ($deployments as $deployment)
|
||||||
|
|||||||
Reference in New Issue
Block a user