chore: Update server form layout and settings
This commit is contained in:
@@ -178,12 +178,12 @@
|
|||||||
</x-modal-input>
|
</x-modal-input>
|
||||||
@endif
|
@endif
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if ($server->isFunctional())
|
@if ($server->isFunctional())
|
||||||
<h3 class="pt-4">Settings</h3>
|
<h3 class="pt-4">Settings</h3>
|
||||||
|
<div class="flex flex-col gap-1">
|
||||||
<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">
|
||||||
@@ -201,21 +201,14 @@
|
|||||||
helper="The Docker cleanup tasks will run when the disk usage exceeds this threshold." />
|
helper="The Docker cleanup tasks will run when the disk usage exceeds this threshold." />
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@else
|
|
||||||
<x-forms.input id="cleanup_after_percentage" label="Disk cleanup threshold (%)" required
|
|
||||||
helper="The disk cleanup task will run when the disk usage exceeds this threshold." />
|
|
||||||
<div class="w-64">
|
|
||||||
<x-forms.checkbox helper="This will cleanup build caches / unused images / etc every 10 minutes."
|
|
||||||
instantSave id="server.settings.is_force_cleanup_enabled"
|
|
||||||
label="Force Cleanup Docker Engine" />
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
|
||||||
<div class="flex flex-wrap gap-2 sm:flex-nowrap">
|
<div class="flex flex-wrap gap-2 sm:flex-nowrap">
|
||||||
<x-forms.input id="server.settings.concurrent_builds" label="Number of concurrent builds" required
|
<x-forms.input id="server.settings.concurrent_builds" label="Number of concurrent builds" required
|
||||||
helper="You can specify the number of simultaneous build processes/deployments that should run concurrently." />
|
helper="You can specify the number of simultaneous build processes/deployments that should run concurrently." />
|
||||||
<x-forms.input id="server.settings.dynamic_timeout" label="Deployment timeout (seconds)" required
|
<x-forms.input id="server.settings.dynamic_timeout" label="Deployment timeout (seconds)" required
|
||||||
helper="You can define the maximum duration for a deployment to run before timing it out." />
|
helper="You can define the maximum duration for a deployment to run before timing it out." />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="flex items-center gap-2 pt-4 pb-2">
|
<div class="flex items-center gap-2 pt-4 pb-2">
|
||||||
<h3>Sentinel</h3>
|
<h3>Sentinel</h3>
|
||||||
{{-- @if ($server->isSentinelEnabled()) --}}
|
{{-- @if ($server->isSentinelEnabled()) --}}
|
||||||
@@ -237,5 +230,6 @@
|
|||||||
helper="How many days should the metrics data should be reserved." />
|
helper="How many days should the metrics data should be reserved." />
|
||||||
</div>
|
</div>
|
||||||
</div> --}}
|
</div> --}}
|
||||||
|
@endif
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user