From 136119affec120e8fa71073d2106f2e754424eea Mon Sep 17 00:00:00 2001 From: cp6 Date: Mon, 21 Feb 2022 14:47:13 +1100 Subject: [PATCH] Updated IPs index Updated IPs index --- resources/views/ips/index.blade.php | 46 ++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/resources/views/ips/index.blade.php b/resources/views/ips/index.blade.php index e5ea0b3..c38e293 100644 --- a/resources/views/ips/index.blade.php +++ b/resources/views/ips/index.blade.php @@ -1,4 +1,7 @@ @section('title') {{'IP Addresses'}} @endsection +@section('css_links') + +@endsection @section('style') @endsection @@ -16,7 +19,7 @@ Add IP
- +
@@ -25,23 +28,21 @@ - @if(!empty($dn)) - @foreach($dn as $dns) + @if(!empty($ips)) + @foreach($ips as $ip) - - + + @@ -62,7 +63,24 @@

@endif + + - ips + IPs
Type
{{ $dns->is_ipv4}}{{ $dns->address}}@if ($ip->is_ipv4 === 1) + IPv4 + @else + IPv6 + @endif{{ $ip->address}} -
- - - - + @csrf @method('DELETE') + id="btn-{{$ip->hostname}}" title="{{$ip->id}}">