move files around
This commit is contained in:
28
resources/views/project/application/configuration.blade.php
Normal file
28
resources/views/project/application/configuration.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Configurations">
|
||||
<div x-data="{ tab: window.location.hash ? window.location.hash.substring(1) : 'general' }">
|
||||
<div class="flex gap-4">
|
||||
<a @click.prevent="tab = 'general'; window.location.hash = 'general'" href="#">General</a>
|
||||
<a @click.prevent="tab = 'envs'; window.location.hash = 'envs'" href="#">Environment Variables</a>
|
||||
<a @click.prevent="tab = 'source'; window.location.hash = 'source'" href="#">Source</a>
|
||||
<a @click.prevent="tab = 'destination'; window.location.hash = 'destination'" href="#">Destination
|
||||
</a>
|
||||
<a @click.prevent="tab = 'storages'; window.location.hash = 'storages'" href="#">Storage
|
||||
</a>
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'general'">
|
||||
<livewire:project.application.general :applicationId="$application->id" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'envs'">
|
||||
<livewire:project.application.environment-variables />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'source'">
|
||||
<livewire:project.application.source :applicationId="$application->id" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'destination'">
|
||||
<livewire:project.application.destination :destination="$application->destination" />
|
||||
</div>
|
||||
<div x-cloak x-show="tab === 'storages'">
|
||||
<livewire:project.application.storages :storages="$application->persistentStorages" />
|
||||
</div>
|
||||
</div>
|
||||
</x-applications.layout>
|
||||
3
resources/views/project/application/deployment.blade.php
Normal file
3
resources/views/project/application/deployment.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Deployment">
|
||||
<livewire:project.application.poll-deployment :activity="$activity" :deployment_uuid="$deployment_uuid" />
|
||||
</x-applications.layout>
|
||||
@@ -0,0 +1,9 @@
|
||||
<x-applications.layout :applicationId="$application->id" title="Deployments">
|
||||
<div class="pt-2">
|
||||
@forelse ($deployments as $deployment)
|
||||
<livewire:project.application.get-deployments :deployment_uuid="data_get($deployment->properties, 'deployment_uuid')" :created_at="data_get($deployment, 'created_at')" :status="data_get($deployment->properties, 'status')" />
|
||||
@empty
|
||||
<p>No deployments found.</p>
|
||||
@endforelse
|
||||
</div>
|
||||
</x-applications.layout>
|
||||
Reference in New Issue
Block a user