<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Bitacora 2021 (Beta)</title>
    <link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}">
    <script src="{{asset('js/bootstrap.min.js')}}"></script>
    <script src="{{asset('js/jquery-3.4.1.min.js')}}"></script>
    <link rel="stylesheet" href="{{asset('fonts/dashboard/style.css')}}">

    
    <link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
    <link rel="stylesheet" href="{{asset('css/dashboard.css')}}">
</head>
<body>
    <div class="page-wrapper chiller-theme toggled">
      <a id="show-sidebar" class="btn btn-sm btn-dark" href="#">
        <i class="fas fa-bars"></i>
      </a>
      <nav id="sidebar" class="sidebar-wrapper">
        <div class="sidebar-content">
          <div class="sidebar-brand">
            <a href="#">Bitacora</a>
            <div id="close-sidebar">
              <i class="fas fa-times"></i>
            </div>
          </div>
          <div class="sidebar-header">
            <div class="user-pic">
              <img class="img-responsive img-rounded" src="https://raw.githubusercontent.com/azouaoui-med/pro-sidebar-template/gh-pages/src/img/user.jpg"
                alt="User picture">
            </div>
            @foreach ($user as $usuario)
                
            @endforeach
            <div class="user-info">
              <span class="user-name">Jhon
                <strong>Smith</strong>
              </span>
              <span class="user-role"></span>
            </div>
          </div>

          <!-- sidebar-search  -->
          <div class="sidebar-menu">
            <ul>
              <li class="header-menu"><span>Referencias</span></li>
                <li class="sidebar"><a href="#"><i class="icon-file" style="font-size:26px;"></i><span> Generar referencias</span></li>
                <li class="sidebar"><a href="{{ url('ref') }}"><i class="icon-cabinet" style="font-size:26px;" ></i><span> Ver referencias</span></a></li>
              
              <li class="header-menu"><span>Rectificaciones</span></li>
                <li class="sidebar"><a href="#"><i class="icon-file" style="font-size:26px;"></i><span> Generar rectificaciones</span></a></li>
                <li class="sidebar"><a href="{{ url('rec') }}"><i class="icon-cabinet" style="font-size:26px;"></i><span> Ver rectificaciones</span></a></li>

              <li class="header-menu"><span>Clientes</span></li>
                <li class="sidebar"><a href="#" data-toggle="modal" data-target="#Rclientes"><i class="icon-file" style="font-size:26px;"></i><span> Registrar nuevo cliente</span></li>
                <li class="sidebar"><a href="{{ url('listClientes') }}"><i class="icon-cabinet" style="font-size:26px;"></i><span> Lista de clientes</span></a></li>

              <li class="header-menu"><span>Usuarios</span></li>
                <li class="sidebar"><a href="#"><i class="icon-profile" style="font-size:26px;"></i><span> Registro de usuarios</span></a></li>
                <li class="sidebar"><a href="#"><i class="icon-users" style="font-size:26px;"></i><span> Lista de usuarios</span></a></li>
              
            </ul>
          </div>
        </div>
      </nav>
      <main class="page-content">
        @include('clientes.mdl_registroClientes')
        @yield('contenido')
      </main>
    </div>

    </body>
<script src="{{asset('js/dashboard.js')}}"></script>
</html>