@extends('layouts.master') @section('title') network @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') IPv4 @endslot @slot('title') Network @endslot @endcomponent
@if (session('status')) @endif @if (session('error'))
@endif
IPv4 Networks
@if(isset($networks))
@foreach($networks as $network) @php $subnetDetails = new \IPv4\SubnetCalculator($network->network, $network->subnet); @endphp @endforeach
ID Network Subnet Title Comment Nas Total IP Addresses Clients Host Range Netmask Actions
{{$network->id}}
{{$network->network}}
{{$network->subnet}} {{$network->title}} {{$network->comment}} {{ optional($network->nas)->shortname }}{{$subnetDetails->getNumberIPAddresses()}} [{{$subnetDetails->getMinHost()}} - {{$subnetDetails->getMaxHost()}}] {{$subnetDetails->getSubnetMask()}} @can('update network')
  • @can('delete network')
  • @endcan
@endcan
@else
Sorry! No network setup
s
@endif
@endsection @section('script') @endsection