From fc04ef44d0c58f5983d854983a37aae6e568255e Mon Sep 17 00:00:00 2001 From: boban Date: Sat, 1 Nov 2025 23:17:06 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Mailbox=20Stats=20=C3=BCber=20Dovecot=20?= =?UTF-8?q?mit=20config/mailpool.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Livewire/Ui/Security/Fail2banBanlist.php | 5 ++++- .../ui/security/fail2ban-banlist.blade.php | 15 +++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/Livewire/Ui/Security/Fail2banBanlist.php b/app/Livewire/Ui/Security/Fail2banBanlist.php index b9744bc..c219c7e 100644 --- a/app/Livewire/Ui/Security/Fail2banBanlist.php +++ b/app/Livewire/Ui/Security/Fail2banBanlist.php @@ -82,21 +82,24 @@ class Fail2banBanlist extends Component $badge = 'border-rose-400/30 bg-rose-500/10 text-rose-200'; $label = 'Permanent'; $style = 'permanent'; + $dot = 'bg-rose-500'; } else { $box = 'border-amber-400/20 bg-white/3'; $badge = 'border-amber-400/30 bg-amber-500/10 text-amber-200'; $label = 'Temporär'; $style = 'temporary'; + $dot = 'bg-amber-400'; } $rows[] = [ 'ip' => $ip, 'jail' => $j, 'permanent' => $permanent, - 'style' => $style, // <-- wichtig fürs bestehende Blade + 'style' => $style, 'label' => $label, 'box' => $box, 'badge' => $badge, + 'dot' => $dot, 'btn' => 'border-rose-400/30 bg-rose-500/10 text-rose-200 hover:border-rose-400/50', ]; } diff --git a/resources/views/livewire/ui/security/fail2ban-banlist.blade.php b/resources/views/livewire/ui/security/fail2ban-banlist.blade.php index bc0c44a..24c0f9c 100644 --- a/resources/views/livewire/ui/security/fail2ban-banlist.blade.php +++ b/resources/views/livewire/ui/security/fail2ban-banlist.blade.php @@ -15,16 +15,19 @@ @foreach ($rows as $r)
-
{{ $r['ip'] }}
- - {{ $r['style'] === 'permanent' ? 'Permanent' : 'Temporär' }} - - Jail: {{ $r['jail'] }} + {{-- Statuspunkt (nur Farbe bestimmt permanent/temporär) --}} + + + {{-- IP kleiner & monospace --}} +
{{ $r['ip'] }}
+ + {{-- Jail dezent rechts daneben --}} + Jail: {{ $r['jail'] }}