From a6f0cc0e09ede673d29e33a82d44976422d87234 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 19 Oct 2026 13:56:45 +0200 Subject: [PATCH] style(patches): show automatic security updates as a field with an inline button The status and the Turn on/off button are now one field-shaped control with the same height, border, and label style as the fields next to it, instead of a loose pill and a large highlighted button. Co-Authored-By: Claude Opus 5.5 --- .../server/security/patches.blade.php | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/resources/views/livewire/server/security/patches.blade.php b/resources/views/livewire/server/security/patches.blade.php index 0b1d557b35..2121e9cb26 100644 --- a/resources/views/livewire/server/security/patches.blade.php +++ b/resources/views/livewire/server/security/patches.blade.php @@ -99,26 +99,35 @@ @if ($autoUpdatesSupported)
- Automatic security updates +
-
- +
+ + $autoSecurityUpdates, 'bg-neutral-400 dark:bg-neutral-500' => ! $autoSecurityUpdates])> + {{ $autoSecurityUpdates ? 'On, every day' : 'Off' }} + @can('update', $server) -
+
@if ($autoSecurityUpdates) + step2ButtonText="Turn off"> + + + + @else + step2ButtonText="Turn on"> + + + + @endif
@endcan