refactor: Update Livewire configuration views

This commit is contained in:
Andras Bacsai 2024-07-12 13:40:11 +02:00
parent 49d011574d
commit 7006239b0d

View File

@ -86,57 +86,57 @@
</div> </div>
<div class="w-full"> <div class="w-full">
<div x-cloak x-show="activeTab === 'general'" class="h-full"> <div x-cloak x-show="activeTab === 'general'" class="h-full">
{{-- <livewire:project.application.general :application="$application" /> --}} <livewire:project.application.general :application="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'swarm'" class="h-full"> <div x-cloak x-show="activeTab === 'swarm'" class="h-full">
{{-- <livewire:project.application.swarm :application="$application" /> --}} <livewire:project.application.swarm :application="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'advanced'" class="h-full"> <div x-cloak x-show="activeTab === 'advanced'" class="h-full">
{{-- <livewire:project.application.advanced :application="$application" /> --}} <livewire:project.application.advanced :application="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'environment-variables'"> <div x-cloak x-show="activeTab === 'environment-variables'">
{{-- <livewire:project.shared.environment-variable.all :resource="$application" /> --}} <livewire:project.shared.environment-variable.all :resource="$application" />
</div> </div>
@if ($application->git_based()) @if ($application->git_based())
<div x-cloak x-show="activeTab === 'source'"> <div x-cloak x-show="activeTab === 'source'">
{{-- <livewire:project.application.source :application="$application" /> --}} <livewire:project.application.source :application="$application" />
</div> </div>
@endif @endif
<div x-cloak x-show="activeTab === 'servers'"> <div x-cloak x-show="activeTab === 'servers'">
{{-- <livewire:project.shared.destination :resource="$application" :servers="$servers" /> --}} <livewire:project.shared.destination :resource="$application" :servers="$servers" />
</div> </div>
<div x-cloak x-show="activeTab === 'storages'"> <div x-cloak x-show="activeTab === 'storages'">
{{-- <livewire:project.service.storage :resource="$application" /> --}} <livewire:project.service.storage :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'webhooks'"> <div x-cloak x-show="activeTab === 'webhooks'">
<livewire:project.shared.webhooks :resource="$application" lazy /> <livewire:project.shared.webhooks :resource="$application" lazy />
</div> </div>
<div x-cloak x-show="activeTab === 'previews'"> <div x-cloak x-show="activeTab === 'previews'">
{{-- <livewire:project.application.previews :application="$application" /> --}} <livewire:project.application.previews :application="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'health'"> <div x-cloak x-show="activeTab === 'health'">
{{-- <livewire:project.shared.health-checks :resource="$application" /> --}} <livewire:project.shared.health-checks :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'rollback'"> <div x-cloak x-show="activeTab === 'rollback'">
{{-- <livewire:project.application.rollback :application="$application" /> --}} <livewire:project.application.rollback :application="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'resource-limits'"> <div x-cloak x-show="activeTab === 'resource-limits'">
{{-- <livewire:project.shared.resource-limits :resource="$application" /> --}} <livewire:project.shared.resource-limits :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'scheduled-tasks'"> <div x-cloak x-show="activeTab === 'scheduled-tasks'">
{{-- <livewire:project.shared.scheduled-task.all :resource="$application" /> --}} <livewire:project.shared.scheduled-task.all :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'resource-operations'"> <div x-cloak x-show="activeTab === 'resource-operations'">
{{-- <livewire:project.shared.resource-operations :resource="$application" /> --}} <livewire:project.shared.resource-operations :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'metrics'"> <div x-cloak x-show="activeTab === 'metrics'">
{{-- <livewire:project.shared.metrics :resource="$application" /> --}} <livewire:project.shared.metrics :resource="$application" />
</div> </div>
<div x-cloak x-show="activeTab === 'tags'"> <div x-cloak x-show="activeTab === 'tags'">
<livewire:project.shared.tags :resource="$application" lazy /> <livewire:project.shared.tags :resource="$application" lazy />
</div> </div>
<div x-cloak x-show="activeTab === 'danger'"> <div x-cloak x-show="activeTab === 'danger'">
{{-- <livewire:project.shared.danger :resource="$application" /> --}} <livewire:project.shared.danger :resource="$application" />
</div> </div>
</div> </div>
</div> </div>