fix: application view
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
<button wire:click='deploy'>Deploy</button>
|
||||
<button wire:click='stop'>Stop</button>
|
||||
<button wire:click='checkStatus'>CheckStatus</button>
|
||||
<span wire:poll='pollingStatus'>status: {{ $application->status }}</span>
|
||||
</div>
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
<x-layout>
|
||||
<h1>Application</h1>
|
||||
<p>Name: {{ $application->name }}</p>
|
||||
<p>Application UUID: {{ $application->uuid }}</p>
|
||||
<p>Status: {{ $application->status }}</p>
|
||||
<livewire:deploy-application :application_uuid="$application->uuid" />
|
||||
<div>
|
||||
<h1>Deployments</h1>
|
||||
<h2>Deployments</h2>
|
||||
@foreach ($deployments as $deployment)
|
||||
<p>
|
||||
<a href="{{ url()->current() }}/deployment/{{ data_get($deployment->properties, 'deployment_uuid') }}">
|
||||
{{ data_get($deployment->properties, 'deployment_uuid') }}</a>
|
||||
{{ data_get($deployment->properties, 'status') }}
|
||||
</p>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user