@extends('layout.main') @section('main')
Bridge Interfaces Information

Here you can see the info about the wireless interfaces on this router.

@csrf @method('PATCH')

@foreach ($interfaces as $interface) @if (($interface->{'type'} == 'wlan' || $interface->{'type'} == 'ether') && $interface->name !='ether1' ) @if (json_decode($data)->name != $interface->bridge && $interface->bridge != '' ) @elseif($interface->bridge == '') @else @endif @if (json_decode($data)->name == $interface->bridge) @else @endif @endif @endforeach
ID Name MAC Address Type MTU Interface Bridge Add Delete
{{ $interface->{'.id'} }} {{ $interface->name }} {{ $interface->{'mac-address'} ?? 'N/A' }} {{ $interface->{'type'} }} {{ $interface->{'mtu'} }} {{ $interface->bridge }} Must Delete associação com outra bridge
@csrf @method('Put')
cannot add to the same interface
@csrf @method('DELETE')
Can only delete if in the same interface bridge
@endsection