<div class="row">
    <div class="col-12">
        <div class="card">
            <div class="card-header">
                <div>
                    <span class="card-title"><i class="ri-git-repository-line"></i> {{ __('manage_ip') }}</span>
                </div>
                <div>
                    <a href="{{ $url.'/rdns-kaydi-olustur' }}" class="btn btn-primary btn-sm"><i class="ri-add-line"></i> {{ __('ippage_create_rdns') }}</a>
                </div>
            </div>
            <div class="card-content">
                <table class="btable">
                    <thead>
                        <tr>
                            <th>IPv4</th> 
                            <th>Gateway</th> 
                            <th>Netmask</th>
                            <th>Mac</th>
                            <th></th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach($iplist as $ip)
                        <tr>
                            <td>{{ $ip['iaddress'] }}</td>
                            <td>{{ $ip['igateway'] }}</td>
                            <td>{{ $ip['inetmask'] }}</td>
                            <td>{{ $ip['imac'] }}</td>
                            <td>
                                @if($rdnsiplist[$ip['iid']] == 1)
                                <a href="#" class="btn btn-primary" data-alt-tab="ShowrDns{{ $ip['iid'] }}">{{ __('ippage_rdns_managament') }}</a>
                                @endif
                            </td>
                        </tr>
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>