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