2024-01-07 15:23:41 +00:00
|
|
|
<div>
|
2024-06-07 09:01:10 +00:00
|
|
|
<x-slot:title>
|
|
|
|
|
Storages | Coolify
|
|
|
|
|
</x-slot>
|
2025-02-01 20:33:44 +00:00
|
|
|
<div class="flex items-center gap-2">
|
2024-04-26 12:09:54 +00:00
|
|
|
<h1>S3 Storages</h1>
|
2025-08-26 08:27:31 +00:00
|
|
|
@can('create', App\Models\S3Storage::class)
|
|
|
|
|
<x-modal-input buttonTitle="+ Add" title="New S3 Storage" :closeOutside="false">
|
|
|
|
|
<livewire:storage.create />
|
|
|
|
|
</x-modal-input>
|
|
|
|
|
@endcan
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
2024-04-26 12:09:54 +00:00
|
|
|
<div class="subtitle">S3 storages for backups.</div>
|
2025-10-07 15:17:31 +00:00
|
|
|
<div class="grid gap-4 lg:grid-cols-2 -mt-1">
|
2023-08-07 13:31:42 +00:00
|
|
|
@forelse ($s3 as $storage)
|
2025-06-30 06:50:17 +00:00
|
|
|
<a href="/storages/{{ $storage->uuid }}" @class(['gap-2 border cursor-pointer box group'])>
|
|
|
|
|
<div class="flex flex-col justify-center mx-6">
|
2024-03-25 15:42:41 +00:00
|
|
|
<div class="box-title">
|
2023-08-07 13:31:42 +00:00
|
|
|
{{ $storage->name }}
|
|
|
|
|
</div>
|
2024-03-25 15:42:41 +00:00
|
|
|
<div class="box-description">
|
2024-10-01 08:45:03 +00:00
|
|
|
{{ $storage->description }}
|
|
|
|
|
</div>
|
|
|
|
|
@if (!$storage->is_usable)
|
2025-06-30 06:50:17 +00:00
|
|
|
<span
|
|
|
|
|
class="px-2 py-1 text-xs font-semibold text-red-800 bg-red-100 rounded dark:text-red-100 dark:bg-red-800">
|
|
|
|
|
Not Usable
|
|
|
|
|
</span>
|
2024-11-12 12:12:05 +00:00
|
|
|
@endif
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
2025-01-10 14:20:01 +00:00
|
|
|
</a>
|
2023-08-07 13:31:42 +00:00
|
|
|
@empty
|
|
|
|
|
<div>
|
|
|
|
|
<div>No storage found.</div>
|
|
|
|
|
</div>
|
|
|
|
|
@endforelse
|
|
|
|
|
</div>
|
2024-01-07 15:23:41 +00:00
|
|
|
</div>
|