2023-05-31 10:19:29 +02:00
|
|
|
<div>
|
2023-06-05 12:07:55 +02:00
|
|
|
<div>
|
2023-06-15 09:15:41 +02:00
|
|
|
<div class="flex items-center gap-2">
|
2023-08-07 22:14:21 +02:00
|
|
|
<h2>Storages</h2>
|
2023-06-15 09:15:41 +02:00
|
|
|
<x-helper
|
|
|
|
helper="For Preview Deployments, storage has a <span class='text-helper'>-pr-#PRNumber</span> in their
|
2023-06-05 12:07:55 +02:00
|
|
|
volume
|
2023-08-11 20:19:42 +02:00
|
|
|
name, example: <span class='text-helper'>-pr-1</span>" />
|
2023-07-13 13:16:24 +02:00
|
|
|
<x-forms.button class="btn" onclick="newStorage.showModal()">+ Add</x-forms.button>
|
2023-08-11 20:19:42 +02:00
|
|
|
<livewire:project.shared.storages.add />
|
2023-06-15 09:15:41 +02:00
|
|
|
</div>
|
2023-08-08 14:46:23 +02:00
|
|
|
<div>Persistent storage to preserve data between deployments.</div>
|
2023-06-05 12:07:55 +02:00
|
|
|
</div>
|
2023-05-31 10:19:29 +02:00
|
|
|
<div class="flex flex-col gap-2 py-4">
|
2023-08-07 22:14:21 +02:00
|
|
|
@forelse ($resource->persistentStorages as $storage)
|
2023-08-11 20:19:42 +02:00
|
|
|
<livewire:project.shared.storages.show wire:key="storage-{{ $storage->id }}" :storage="$storage" />
|
2023-07-13 13:16:24 +02:00
|
|
|
@empty
|
|
|
|
<div class="text-neutral-500">No storages found.</div>
|
|
|
|
@endforelse
|
2023-05-31 10:19:29 +02:00
|
|
|
</div>
|
2023-05-05 12:08:38 +02:00
|
|
|
</div>
|