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)