{{-- Blacklist / Whitelist toggle + search + Add IP --}}
{{-- Blacklist button --}} {{-- Whitelist button --}}
{{-- For now this can just open a modal later; it's a plain button so it will NOT navigate away --}}
{{-- Helper text under tabs --}}

Connections from {{ $mode === 'blacklist' ? 'blacklisted IPs will be blocked before reaching Asterisk.' : 'whitelisted IPs will bypass most firewall checks and are always allowed.' }}

{{-- TABLE --}}
@forelse ($this->rules as $rule) @empty @endforelse
IP Address Description Source Created Actions
{{ $rule->ip_address }} {{ $rule->description ?? '-' }} {{ $rule->source ?? 'Manual' }} {{ optional($rule->created_at)->format('Y-m-d H:i') ?? '-' }}
No {{ $mode === 'blacklist' ? 'blacklisted' : 'whitelisted' }} IPs found.
{{-- Livewire listener for delete action --}}