Able to add scheduled backups through the UI

This commit is contained in:
Andras Bacsai
2023-08-09 17:57:27 +02:00
parent 04622a9e3b
commit d2a4dbf283
24 changed files with 367 additions and 20571 deletions

View File

@@ -0,0 +1,13 @@
<dialog id="createScheduledBackup" class="modal">
<form method="dialog" class="flex flex-col gap-2 rounded modal-box" wire:submit.prevent='submit'>
<x-forms.input placeholder="1 * * * *" id="frequency" label="Frequency" required/>
<x-forms.checkbox id="keep_locally" label="Keep Backups Locally"/>
<x-forms.checkbox id="save_s3" label="Save to preconfigured S3"/>
<x-forms.button onclick="createScheduledBackup.close()" type="submit">
Save
</x-forms.button>
</form>
<form method="dialog" class="modal-backdrop">
<button>close</button>
</form>
</dialog>