coolify/resources/views/livewire/project/application/storages/all.blade.php

22 lines
932 B
PHP
Raw Normal View History

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">
<h2>Storages </h2>
<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-06-15 09:15:41 +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>
<livewire:project.application.storages.add />
2023-06-15 09:15:41 +02:00
</div>
2023-06-16 12:35:40 +02:00
<div class="">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-07-13 13:16:24 +02:00
@forelse ($application->persistentStorages as $storage)
2023-05-31 10:19:29 +02:00
<livewire:project.application.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>