2024-01-07 15:23:41 +00:00
|
|
|
<div>
|
2024-06-07 09:01:10 +00:00
|
|
|
<x-slot:title>
|
|
|
|
Storages | Coolify
|
|
|
|
</x-slot>
|
2023-08-07 13:31:42 +00:00
|
|
|
<div class="flex items-start gap-2">
|
2024-04-26 12:09:54 +00:00
|
|
|
<h1>S3 Storages</h1>
|
2024-05-15 12:10:03 +00:00
|
|
|
<x-modal-input buttonTitle="+ Add" title="New S3 Storage" :closeOutside="false">
|
2024-04-26 12:09:54 +00:00
|
|
|
<livewire:storage.create />
|
2024-03-25 10:33:38 +00:00
|
|
|
</x-modal-input>
|
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>
|
2023-08-07 13:31:42 +00:00
|
|
|
<div class="grid gap-2 lg:grid-cols-2">
|
|
|
|
@forelse ($s3 as $storage)
|
2023-08-11 15:31:53 +00:00
|
|
|
<div x-data x-on:click="goto('{{ $storage->uuid }}')" @class(['gap-2 border cursor-pointer box group border-transparent'])>
|
2023-08-07 13:31:42 +00:00
|
|
|
<div class="flex flex-col 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">
|
2023-08-07 13:31:42 +00:00
|
|
|
{{ $storage->description }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@empty
|
|
|
|
<div>
|
|
|
|
<div>No storage found.</div>
|
|
|
|
</div>
|
|
|
|
@endforelse
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function goto(uuid) {
|
2024-04-26 12:09:54 +00:00
|
|
|
window.location.href = '/storages/' + uuid;
|
2023-08-07 13:31:42 +00:00
|
|
|
}
|
|
|
|
</script>
|
2024-01-07 15:23:41 +00:00
|
|
|
</div>
|