wip revert
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<div x-init="$wire.loadImages">
|
||||
<div wire:loading wire:target='loadImages'>
|
||||
<x-loading />
|
||||
</div>
|
||||
<div wire:loading.remove>
|
||||
<div class="flex flex-wrap">
|
||||
@forelse ($images as $image)
|
||||
<div class="w-1/2 p-2">
|
||||
<div class="rounded-lg shadow-lg bg-coolgray-200 ">
|
||||
<div class="p-2">
|
||||
<div class="text-sm font-bold">{{ data_get($image, 'tag') }}</div>
|
||||
<div class="text-xs">{{ data_get($image, 'createdAt') }}</div>
|
||||
</div>
|
||||
<div class="flex justify-end p-2">
|
||||
<x-inputs.button
|
||||
wire:click="revertImage('{{ data_get($image, 'name') }}', '{{ data_get($image, 'tag') }}')">
|
||||
Revert
|
||||
</x-inputs.button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
<div>No images found</div>
|
||||
@endforelse
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
<div x-init="$wire.checkProxySettingsInSync">
|
||||
<div wire:loading wire:target="checkProxySettingsInSync">
|
||||
<x-proxy.loading />
|
||||
<x-loading />
|
||||
</div>
|
||||
@isset($proxy_settings)
|
||||
<h3>Configuration</h3>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<livewire:project.application.storages.all :application="$application" />
|
||||
</div>
|
||||
<div x-cloak x-show="activeTab === 'revert'">
|
||||
<h3>TODO 🚧</h3>
|
||||
<livewire:project.application.revert :application="$application" />
|
||||
</div>
|
||||
{{-- <div x-cloak x-show="activeTab === 'previews'">
|
||||
<livewire:project.application.previews :application="$application" />
|
||||
|
||||
Reference in New Issue
Block a user