@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
List {{ $title_menu }}

{{-- alert --}} @include('components.alert')
@forelse ($switch as $switch) @php $primary = ''; $primary == '' ? ($primary = $switch->image) : ($primary = $primary . ':' . $switch->image); $vcount = $loop->iteration; @endphp @empty {{--
Click ADD to switcht new main.
--}} @endforelse
Check No Date Code Departement Merk Port Speed Location Area Image
{{ $vcount }} {{ $switch->date }} {{ $switch->code }} {{ $switch->dept_name }} {{ $switch->merk }} {{ $switch->port }} {{ $switch->speed }} {{ $switch->location }} {{ $switch->area }} image {{ asset('/storage' . '/' . $switch->image) }} {{-- button view --}}
{{-- check flag js on dmenu --}} @if ($jsmenu == '1') @if (view()->exists("js.{$dmenu}")) @push('addjs') {{-- file js in folder (resources/views/js) --}} @include('js.' . $dmenu); @endpush @else @push('addjs') @endpush @endif @endif @endsection @push('js') @endpush