2023-08-07 13:31:42 +00:00
|
|
|
<div>
|
2023-12-07 18:06:32 +00:00
|
|
|
<form class="flex flex-col gap-2 pb-6" wire:submit='submit'>
|
2023-08-07 13:31:42 +00:00
|
|
|
<div class="flex items-start gap-2">
|
|
|
|
<div class="pb-4">
|
|
|
|
<h2>Storage Details</h2>
|
|
|
|
<div>{{ $storage->name }}</div>
|
2023-10-10 11:10:43 +00:00
|
|
|
@if ($storage->is_usable)
|
|
|
|
<div> Usable </div>
|
|
|
|
@else
|
|
|
|
<div class="text-red-500"> Not Usable </div>
|
|
|
|
@endif
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
<x-forms.button type="submit">
|
|
|
|
Save
|
|
|
|
</x-forms.button>
|
|
|
|
<x-forms.button wire:click="test_s3_connection">
|
2023-10-10 11:10:43 +00:00
|
|
|
Validate Connection
|
2023-08-07 13:31:42 +00:00
|
|
|
</x-forms.button>
|
2024-03-20 11:54:06 +00:00
|
|
|
<x-modal-confirmation isErrorButton buttonTitle="Delete">
|
2024-01-31 15:14:12 +00:00
|
|
|
This storage will be deleted. It is not reversible. Your data won't be touched!<br>Please think again.
|
2024-03-20 11:54:06 +00:00
|
|
|
</x-modal-confirmation>
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex gap-2">
|
2023-08-11 18:19:42 +00:00
|
|
|
<x-forms.input label="Name" id="storage.name" />
|
|
|
|
<x-forms.input label="Description" id="storage.description" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex gap-2">
|
2023-08-11 18:19:42 +00:00
|
|
|
<x-forms.input required label="Endpoint" id="storage.endpoint" />
|
|
|
|
<x-forms.input required label="Bucket" id="storage.bucket" />
|
|
|
|
<x-forms.input required label="Region" id="storage.region" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
<div class="flex gap-2">
|
2023-08-11 18:19:42 +00:00
|
|
|
<x-forms.input required type="password" label="Access Key" id="storage.key" />
|
|
|
|
<x-forms.input required type="password" label="Secret Key" id="storage.secret" />
|
2023-08-07 13:31:42 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|