<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" type="image/ico" href="/images/logo.png" />
  <title>Polizia | Dashboard</title>
@stack('css')
  <!-- Google Font: Source Sans Pro -->
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/plugins/fontawesome-free/css/all.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
    <!-- Tempusdominus Bootstrap 4 -->
  <link rel="stylesheet" href="/plugins/tempusdominus-bootstrap-4/css/tempusdominus-bootstrap-4.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
  <!-- JQVMap -->
  <link rel="stylesheet" href="/plugins/jqvmap/jqvmap.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="/dist/css/adminlte.min.css">
  <!-- overlayScrollbars -->
  <link rel="stylesheet" href="/plugins/overlayScrollbars/css/OverlayScrollbars.min.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="/plugins/daterangepicker/daterangepicker.css">
  <!-- summernote -->
  <link rel="stylesheet" href="/plugins/summernote/summernote-bs4.min.css">
  <link rel="stylesheet" href="/dist/css/app.css">

</head>
<body class="hold-transition sidebar-mini layout-fixed">
<div class="wrapper">

  <!-- Preloader -->
  <div style="display:none !important;" class="preloader flex-column justify-content-center align-items-center">
    <img class="animation__shake" src="/images/logo.png" height="60" width="60">
  </div>

  <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
      </li>
      <li class="nav-item d-none d-sm-inline-block">
        <a href="/dashboard" class="nav-link">Home</a>
      </li>

    </ul>

    <!-- Right navbar links -->

    <ul class="navbar-nav ml-auto">
      <li class="nav-item dropdown">
        <form id="logout-form" action="/logout" method="POST" style="display: none;">
            @csrf
        </form>
        <a class="nav-link" href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
            <i class="fa fa-sign-out-alt"></i>
        </a>
      </li>
    </ul>

  </nav>
  <!-- /.navbar -->

  <!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-dark-primary elevation-4">
    <!-- Brand Logo -->
    <a href="/dashboard" class="brand-link">
      <img src="/images/logo.png"  class="brand-image img-circle elevation-3" style="opacity: .8">
      <span class="brand-text font-weight-light">Polizia</span>
    </a>

    <div class="sidebar">



      <!-- Sidebar Menu -->
      <nav class="mt-2">
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
            <li class="nav-item">
            <a href="/reports" class="nav-link">
              <i class="nav-icon fas fa-folder-open"></i>
              <p>
                Verbali
              </p>
            </a>
          </li>
          <li class="nav-item">
            <a href="/istat" class="nav-link">
              <i class="nav-icon fas fa-copy"></i>
              <p>ISTAT
              </p>
            </a>
          </li>
          <li class="nav-item">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-table"></i>
              <p>
                Impostazioni
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="/accertatore-grado" class="nav-link">
                  <p>Accertatore grado</p>
                </a>
              </li>
                <li class="nav-item">
                    <a href="/ausilio-altri-enti" class="nav-link">
                        <p>Ausilio altri enti</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/assicurazioni" class="nav-link">
                        <p>Assicurazioni</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/condizioni-strada" class="nav-link">
                        <p>Condizioni strada</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/condizioni-atmosferiche" class="nav-link">
                        <p>Condizioni atmosferiche</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/condizioni-luce" class="nav-link">
                        <p>Condizioni luce</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/effetto-danno" class="nav-link">
                        <p>Effetto del danno</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/entita-danno" class="nav-link">
                        <p>Entità del danno</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/marche" class="nav-link">
                        <p>Marche veicolo</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/modelli" class="nav-link">
                        <p>Modelli veicolo</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/materiale-recuperato" class="nav-link">
                        <p>Materiale recuperato</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/nomenclatura-strada" class="nav-link">
                        <p>Nomenclatura strada</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/parte-macchina" class="nav-link">
                        <p>Localizzazione del danno</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/particolarita-strada" class="nav-link">
                        <p>Particolarità strada</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/pavimentazione-strada" class="nav-link">
                        <p>Pavimentazione strada</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/rilievi" class="nav-link">
                        <p>Rilievi</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/segnalazione-orizzontale" class="nav-link">
                        <p>Segnalazione orizzontale</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/segnalazione-pervenuta-da" class="nav-link">
                        <p>Segnalazione pervenuta da</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/segnalazione-verticale" class="nav-link">
                        <p>Segnalazione verticale</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/stradario" class="nav-link">
                        <p>Stradario</p>
                    </a>
                </li>

                <li class="nav-item">
                    <a href="/tipo-danno" class="nav-link">
                        <p>Tipo di danno</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/tipo-segnalazione" class="nav-link">
                        <p>Tipo di segnalazione</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/tipo-strada" class="nav-link">
                        <p>Tipo di strada</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/tipo-urto" class="nav-link">
                        <p>Tipo di urto</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/tipo-veicolo" class="nav-link">
                        <p>Tipo di veicolo</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="/users" class="nav-link">
                        <p>Utenze</p>
                    </a>
                </li>
            </ul>
          </li>


        </ul>
      </nav>
      <!-- /.sidebar-menu -->
    </div>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

<!-- /.content-header -->

<!-- Main content -->
        <section class="content">
            <div class="container-fluid">

                @if (session()->has('error'))
                    <div class="alert alert-danger" role="alert">
                        {{ session()->get('error') }}
                    </div>
                @endif

                <div class="row">
                    <div class="col-md-12">

                        {{ $slot }}

                    </div>
            </div>

        </div><!-- /.container-fluid -->
    </section>
<!-- /.content -->
</div>




  <!-- /.content-wrapper -->
  <footer class="main-footer">
    <strong>Copyright &copy; {{date("Y")}} <a href="https://www.webmagistri.it" target="_blank">WMC</a>.</strong>
    All rights reserved.

  </footer>

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->

<!-- jQuery -->
<script src="/plugins/jquery/jquery.min.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="/plugins/jquery-ui/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button)
</script>
<!-- Bootstrap 4 -->
<script src="/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- ChartJS -->
<script src="/plugins/chart.js/Chart.min.js"></script>
<!-- Sparkline -->
<script src="/plugins/sparklines/sparkline.js"></script>
<!-- JQVMap -->
<script src="/plugins/jqvmap/jquery.vmap.min.js"></script>
<script src="/plugins/jqvmap/maps/jquery.vmap.usa.js"></script>
<!-- jQuery Knob Chart -->
<script src="/plugins/jquery-knob/jquery.knob.min.js"></script>
<!-- daterangepicker -->
<script src="/plugins/moment/moment.min.js"></script>
<script src="/plugins/daterangepicker/daterangepicker.js"></script>
<!-- Tempusdominus Bootstrap 4 -->
<script src="/plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
<!-- Summernote -->
<script src="/plugins/summernote/summernote-bs4.min.js"></script>
<!-- overlayScrollbars -->
<script src="/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="/dist/js/adminlte.js"></script>


@livewireScripts

@stack('scripts')

</body>
</html>
