UI form update

This commit is contained in:
ayntk-ai 2024-08-12 12:42:38 +02:00
parent 4eaee6f474
commit b85b5e67bb
No known key found for this signature in database

View File

@ -126,12 +126,12 @@
<div class="flex flex-col gap-2">
<div class="flex flex-col flex-wrap gap-2 sm:flex-nowrap">
<div class="w-64">
<x-forms.checkbox helper="Enable force Server cleanup. This will cleanup build caches / unused images / docker things and uplads and database" instantSave id="server.settings.force_server_cleanup" label="ForceServer Cleanup" />
<x-forms.checkbox helper="Enable force Server Cleanup. This will cleanup build caches / unused images / other docker things, unreachebale servers and uploads" instantSave id="server.settings.force_server_cleanup" label="Force Server Cleanup" />
</div>
@if ($server->settings->force_server_cleanup)
<x-forms.input id="server.settings.server_cleanup_cron" label="Cleanup Cron Expression" required helper="Cron expression for Server Cleanup.<br>You can use every_minute, hourly, daily, weekly, monthly, yearly.<br><br>Default is every 10 minutes."" />
<x-forms.input placeholder="*/10 * * * *" id="server.settings.server_cleanup_frequency" label="Server Cleanup Frequency" required helper="Cron expression for Server Cleanup.<br>You can use every_minute, hourly, daily, weekly, monthly, yearly.<br><br>Default is every 10 minutes." />
@else
<x-forms.input id="server_cleanup_threshold" label="Disk cleanup threshold (%)" required helper="The disk cleanup task will run when the disk usage exceeds this threshold." />
<x-forms.input id="server.settings.server_cleanup_threshold" label="Server cleanup threshold (%)" required helper="The Server cleanup tasks will run when the disk usage exceeds this threshold." />
@endif
</div>
<div class="flex flex-wrap gap-2 sm:flex-nowrap">