feat: move resources between projects / environments

This commit is contained in:
Andras Bacsai
2024-01-22 15:12:38 +01:00
parent cbec39099a
commit 2edf71a0dd
7 changed files with 228 additions and 128 deletions

View File

@@ -59,7 +59,9 @@
href="#">Resource Limits
</a>
@endif
<a :class="activeTab === 'move' && 'text-white'"
@click.prevent="activeTab = 'move'; window.location.hash = 'move'" href="#">Move Resource
</a>
<a :class="activeTab === 'danger' && 'text-white'"
@click.prevent="activeTab = 'danger'; window.location.hash = 'danger'" href="#">Danger Zone
</a>
@@ -106,6 +108,9 @@
<div x-cloak x-show="activeTab === 'scheduled-tasks'">
<livewire:project.shared.scheduled-task.all :resource="$application" />
</div>
<div x-cloak x-show="activeTab === 'move'">
<livewire:project.shared.move-resource :resource="$application" />
</div>
<div x-cloak x-show="activeTab === 'danger'">
<livewire:project.shared.danger :resource="$application" />
</div>