lasthourcloud/resources/views/livewire/project/shared/storages/all.blade.php

22 lines
906 B
PHP
Raw Normal View History

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
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>
<livewire:project.shared.storages.add/>
2023-06-15 07:15:41 +00:00
</div>
2023-08-08 12:46:23 +00:00
<div>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)
<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>