@extends('backEnd.layouts.master') @section('title', 'IP Restrictions') @push('styles') @endpush @section('content')

IP Restrictions

Block specific IP addresses from accessing your store
Block an IP Address
@csrf
Enter IPv4 address to block

Your current IP: {{ request()->ip() }}
Do not block your own IP!
Blocked IPs
{{ $blockedIps->count() }}
@if($blockedIps->isEmpty())

No IP addresses are currently blocked.

@else
@foreach($blockedIps as $i => $ip) @endforeach
# IP Address Blocked At Action
{{ $i + 1 }} {{ $ip->value }} {{ $ip->created_at?->format('d M Y, g:i A') }}
@csrf @method('DELETE')
@endif
@endsection