UI form update
This commit is contained in:
@@ -126,12 +126,12 @@
|
|||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2">
|
||||||
<div class="flex flex-col flex-wrap gap-2 sm:flex-nowrap">
|
<div class="flex flex-col flex-wrap gap-2 sm:flex-nowrap">
|
||||||
<div class="w-64">
|
<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>
|
</div>
|
||||||
@if ($server->settings->force_server_cleanup)
|
@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
|
@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
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-wrap gap-2 sm:flex-nowrap">
|
<div class="flex flex-wrap gap-2 sm:flex-nowrap">
|
||||||
|
|||||||
Reference in New Issue
Block a user