@extends('layouts.librenmsv1') @section('content') @isset($data['submenu']) @endisset {{-- VLAN Search Filters --}}
@foreach(request()->except(['searchVlanNumber', 'searchVlanName']) as $key => $value) @if(is_string($value)) @endif @endforeach
@if($data['searchVlanNumber'] || $data['searchVlanName']) Clear @endif
{{-- VLANs Table --}} @forelse($data['vlans'] as $vlan_number => $vlans) @empty @endforelse
{{ __('VLAN Number') }} {{ __('VLAN Name') }} {{ __('Ports') }}
{{ $vlan_number }} {{ $vlans->first()->vlan_name }} @foreach($vlans as $port) @if(!$port->port) @continue @endif @if(!$vars) {{ $port->port->getShortLabel() }} @if($port->untagged) (U)@endif @if(!$loop->last),@endif @else
{{ $port->port->ifDescr }}
{{ $port->port->ifAlias }}
@endif @endforeach
@if($data['searchVlanNumber'] || $data['searchVlanName']) No VLANs match your filter criteria. @else No VLANs found for this device. @endif
{{-- Results Count --}} @if(($data['searchVlanNumber'] || $data['searchVlanName']) && count($data['vlans']) > 0)
Showing {{ count($data['vlans']) }} VLAN{{ count($data['vlans']) !== 1 ? 's' : '' }} matching your criteria
@endif
@endsection