mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 16:23:30 +00:00
List service database schedules with volume backups, add a database picker when creating scheduled DB backups from the service page, and cover the unified table and create flow in tests.
18 lines
876 B
PHP
18 lines
876 B
PHP
<form class="application-settings-form flex w-full flex-col gap-4" wire:submit="submit">
|
|
@if ($service)
|
|
<x-forms.listbox id="selectedDatabaseUuid" label="Database" :options="$databaseOptions"
|
|
empty-text="No databases in this service support scheduled backups." required />
|
|
@error('selectedDatabaseUuid')
|
|
<p class="text-xs text-error">{{ $message }}</p>
|
|
@enderror
|
|
@endif
|
|
<x-forms.input placeholder="0 0 * * * or daily" id="frequency"
|
|
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
|
|
required />
|
|
<div class="flex justify-end border-t border-neutral-200 pt-4 dark:border-white/[0.08]">
|
|
<x-forms.button type="submit" @click="modalOpen=false" isHighlighted>
|
|
Add schedule
|
|
</x-forms.button>
|
|
</div>
|
|
</form>
|