This commit is contained in:
Andras Bacsai
2023-04-19 14:00:31 +02:00
parent f61a67279a
commit 2e8b1134b9
14 changed files with 127 additions and 29 deletions

View File

@@ -6,18 +6,23 @@
<button @click.prevent="tab = 'source'; window.location.hash = 'source'" href="#">Source</button>
<button @click.prevent="tab = 'destination'; window.location.hash = 'destination'" href="#">Destination
</button>
<button @click.prevent="tab = 'storages'; window.location.hash = 'storages'" href="#">Storage
</button>
</div>
<div x-cloak x-show="tab === 'general'">
<livewire:application.general :applicationId="$application->id" />
</div>
<div x-cloak x-show="tab === 'secrets'">
<livewire:application.secrets :secrets="$application->id" />
<livewire:application.secrets />
</div>
<div x-cloak x-show="tab === 'source'">
<livewire:application.source :applicationId="$application->id" />
</div>
<div x-cloak x-show="tab === 'destination'">
<livewire:application.destination :destination="$application->destination->server" />
<livewire:application.destination :destination="$application->destination" />
</div>
<div x-cloak x-show="tab === 'storages'">
<livewire:application.storages :storages="$application->persistentStorages" />
</div>
</div>
</x-applications.layout>