2025-05-14 10:43:23 +00:00
|
|
|
<form class="flex flex-col w-full gap-2 rounded-sm" wire:submit='submit'>
|
2024-10-01 19:33:44 +00:00
|
|
|
<x-forms.input placeholder="0 0 * * * or daily" id="frequency"
|
2024-08-08 10:50:49 +00:00
|
|
|
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
|
|
|
|
|
required />
|
2024-11-06 11:49:57 +00:00
|
|
|
<h2>S3</h2>
|
2024-11-04 10:53:32 +00:00
|
|
|
@if ($definedS3s->count() === 0)
|
2024-10-02 09:45:30 +00:00
|
|
|
<div class="text-red-500">No validated S3 Storages found.</div>
|
|
|
|
|
@else
|
2024-11-04 10:53:32 +00:00
|
|
|
<x-forms.checkbox wire:model.live="saveToS3" label="Save to S3" />
|
|
|
|
|
@if ($saveToS3)
|
|
|
|
|
<x-forms.select id="s3StorageId" label="Select a S3 Storage">
|
|
|
|
|
@foreach ($definedS3s as $s3)
|
2024-10-02 09:45:30 +00:00
|
|
|
<option value="{{ $s3->id }}">{{ $s3->name }}</option>
|
|
|
|
|
@endforeach
|
|
|
|
|
</x-forms.select>
|
2024-03-21 11:44:32 +00:00
|
|
|
@endif
|
2024-10-02 09:45:30 +00:00
|
|
|
@endif
|
2024-04-25 10:59:25 +00:00
|
|
|
<x-forms.button type="submit" @click="modalOpen=false">
|
2024-03-21 11:44:32 +00:00
|
|
|
Save
|
|
|
|
|
</x-forms.button>
|
|
|
|
|
</form>
|