<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
    <!--<meta name="viewport" content="width=[Pixeles del mínimo ancho para visualizar bien la web]" />-->
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Bitacora 2.0 (Beta)</title>
    
    <link rel="stylesheet" href="<?php echo e(asset('fonts/dashboard/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('fonts/mas/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('fonts/mas1/style.css')); ?>">

    <link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo e(asset('css/bootstrap.min.css')); ?>">
    <script type="text/javascript" src="<?php echo e(asset('js/jquery-3.4.1.min.js')); ?>"></script>
    <script type="text/javascript" src="<?php echo e(asset('js/bootstrap.min.js')); ?>"></script>      
    <link rel="stylesheet" href="<?php echo e(asset('css/dashboard.css')); ?>">
    <script src="<?php echo e(asset('js/alertify.js')); ?>"></script>
  <script src="<?php echo e(asset('js/alertify.min.js')); ?>"></script>
  <link rel="stylesheet" href="<?php echo e(asset('/css/alertify.min.css')); ?>">
  <link rel="stylesheet" href="<?php echo e(asset('/css/alertify.rtl.min.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="#"><img src="<?php echo e(asset('img/logo_CIE.png')); ?>" width="60" alt="">  Bitacora 2.0</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>
            <?php $__currentLoopData = $datos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $usuario): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                
           
            <div class="user-info">
            <span class="user-role">Nombre : <?php echo e($usuario->Nombre); ?></span>
              <span class="user-role">Tipo: <?php echo e($usuario->Tipo_usuario); ?></span>
            <span class="user-role">Ubicación: <?php echo e($usuario->ubicacion); ?></span>
            </div>
            <div class="user-pic">
              <span class="user-role" style="color:#ffff;">Permisos: </span>
              <?php if($usuario->MZ == 1): ?>
              <span class="badge badge-pill badge-warning">mz</span>
              <?php endif; ?>
              <?php if($usuario->VZ == 1): ?>
              <span class="badge badge-pill badge-info">vz</span>
              <?php endif; ?>
              <?php if($usuario->LZ == 1): ?>
              <span class="badge badge-pill badge-danger">lz</span>
              <?php endif; ?>
              <?php if($usuario->MX == 1): ?>
              <span class="badge badge-pill badge-light">mx</span>
              <?php endif; ?>              
             </div>
          </div>

          <!-- sidebar-search  -->
          <div class="sidebar-menu">
            <ul>
              <li class="header-menu"><span>Referencias</span></li>
                <li class="sidebar"><a href="<?php echo e(url('GenRef')); ?>"><i class="icon-file" style="font-size:26px;"></i><span> Generar referencias</span></li>
                <li class="sidebar"><a href="<?php echo e(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="<?php echo e(URL('GenRec')); ?>"><i class="icon-file" style="font-size:26px;"></i><span> Rectificaciones antiguas</span></a></li>
                <li class="sidebar"><a href="<?php echo e(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="<?php echo e(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="<?php echo e(url('ListUsu')); ?>"><i class="icon-users" style="font-size:26px;"></i><span> Lista de usuarios</span></a></li>
              
            </ul>
          </div>
        </div>

        <div class="sidebar-footer">
          <a  href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault(); document.getElementById('logout-form').submit();" class="btn btn-sm" style="background-color:#ff0000; color:#fff;">
              <i class="fa fa-power-off"><strong class="ml-2" style="font-size:17px;">Salir</strong></i>
          </a>
          <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;"><?php echo csrf_field(); ?></form>
        </div>
      </nav>
      <main class="page-content">
        <?php echo $__env->make('clientes.mdl_registroClientes', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->yieldContent('contenido'); ?>
      </main>

    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </body>
<script src="<?php echo e(asset('js/dashboard.js')); ?>"></script>
</html><?php /**PATH C:\xampp\htdocs\BETAS\Bitacora\resources\views/complementos/dashboard.blade.php ENDPATH**/ ?>