<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ Session::get('webdata')['web_title'] }}</title>
    <link rel="shortcut icon" href="{{ Session::get('webdata')['uri_icon'] }}">
    @if( isset(Session::get("webdata")["uri_css2"]) && !is_null(Session::get("webdata")["uri_css2"]) )
    <link rel="stylesheet" href='{{ asset(Session::get("webdata")["uri_css2"]) }}'>
    @else
    <link rel="stylesheet" href='{{ asset("Libreria_CA/bootstrap/css/bootstrap-fi.css") }}'>
    @endif
    <link rel="stylesheet" href="{{ asset('Libreria_CA/bootstrap-icons-1.7.2/bootstrap-icons.css') }}">
    <!-- -->
    <link rel="stylesheet" href="{{ asset('css/fontawesome_5_9_all.min.css') }}">
    <!-- -->
    <link href="{{ asset('components/flag-icon-css-master/css/flag-icon.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('Libreria_CA/jquery-ui-1.13.1.custom/jquery-ui.css') }}">
    <link rel="stylesheet" href="{{ asset('Libreria_CA/DataTables-1.11.4/css/dataTables.bootstrap5.css') }}">
</head>
<body class="mode-body @if (Session::get('modo') == 1) bg-dark @else bg-white @endif">
    @include('new_navegador')
    @yield('main')
    <form id="frmPaneles" method="post" action="/led/led-panel-control">
        {{csrf_field()}}
        <input type="hidden" name="state_save" value="0">
    </form>
    <!-- -->
</body>
    <script src="{{ asset('Libreria_CA/bootstrap/js/bootstrap.bundle.js') }}"></script>
    <script src="{{ asset('Libreria_CA/Js/jquery.js') }}"></script>
    <script src="{{ asset('Libreria_CA/jquery-ui-1.13.1.custom/jquery-ui.js')  }}"></script>
    <script src="{{ asset('Libreria_CA/DataTables-1.11.4/js/jquery.dataTables.js') }}"></script>
    <script src="{{ asset('Libreria_CA/DataTables-1.11.4/js/dataTables.bootstrap5.js') }}"></script>
    <script src="{{ asset('Libreria_CA/Js/funciones.js') }}?v={{rand()}}" ></script>
    <script>
        $(document).ready(function(){
            modeSwitch();
            PanelesLED();
        });
    </script>
    <footer class="fixed-bottom bg-fidelitas bg-gradient text-white text-center">@Copyright {{ Session::get('webdata')['copyright'] }} {{date('Y')}}</footer>
    @yield('funcionesJS')
</html>