<!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, shrink-to-fit=no">
  <meta name="author" content="">
  <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
  
  <link rel="shortcut icon" type="image/x-icon" href="../assets/img/favicon.png">
  
  <link href="../assets/fonts/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css"/>
  
  <link href="../assets/css/alertify.min.css" rel="stylesheet"/>
  <link href="../assets/css/alertify.rtl.min.css" rel="stylesheet"/>

  <link href="../assets/css/mainstyles.css" rel="stylesheet"/>
  <link href="../assets/css/styles.css" rel="stylesheet" />
  <?php echo $__env->yieldContent('cssDashboard'); ?>
  <title>SISTEMA DE APOYOS</title>
</head>
<body class="sb-nav-fixed">
    <nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
      <a class="navbar-brand" href="/"><b>Sistema de  Apoyos</b></a>
       <button class="btn btn-primary btn-link btn-sm order-1 order-lg-0" id="sidebarToggle" href="#"><i class="fas fa-bar"></i></button>
       <form class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0">
        <div class="input-group" style="display: none;">
          <input class="form-control" type="text" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
          <div class="input-group-append">
            <button class="btn btn-primary" btn-link><svg class="svg-inline--fa fa-search fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="search" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg><!-- <i class="fas fa-search"></i> Font Awesome fontawesome.com --></button>
          </div>
        </div>
      </form>
      <ul class="navbar-nav ml-auto ml-md-0">
        
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" id="userDropdown" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-user fa-fw" style="color:blue" ></i></a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
                <a class="dropdown-item" href="<?php echo e('perfil/'.session('user_id')); ?>">Perfil</a>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="logout">Cerrar Sessión</a>
            </div>
        </li>
      </ul>
    </nav>
    <div id="layoutSidenav">
      <div id="layoutSidenav_nav">
        <nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
          <div class="sb-sidenav-menu">
            <div class="nav">
              <div class="sb-sidenav-menu-heading"><i class="fas fa-home fa-fw"></i><font color= "#000">Dashboard </font></div>
              <?php if(session('user_agent')=='Admin'|| session('user_agent')=='CoordiAsSo'||session('user_agent')=='DirGen'||session('user_agent')=='Cont'): ?>
              <a class="nav-link" href="/dashboard">
                <div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div><font color= "#000">Dashboard </font>
              </a>
              <?php endif; ?>
              <?php if(session('user_agent')=='Admin'|| session('user_agent')=='CoordiAsSo'||session('user_agent')=='DirGen'||session('user_agent')=='Cont'||session('user_agent')=='TrSo'): ?>
              <a class="nav-link" href="/solicitudes">
                 <div class="sb-nav-link-icon"><i class="far fa-id-badge"></i></div><font color="#000">Solicitudes</font>
              </a>
              <?php endif; ?>
              <div class="sb-sidenav-menu-heading"><i class="fas fa-cogs fa-fw"></i><font color="#000">Operacional</font></div>
              <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
                <div class="sb-nav-link-icon"><i class="fas fa-list"></i></div>
                <font color="#000">Cátalogos</font>
                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
              </a>
              <div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                <nav class="sb-sidenav-menu-nested nav">
                 <?php if(session('user_agent')=='Admin'): ?>
                  <a class="nav-link" href="/institutos">
                       <div class="sb-nav-link-icon"><i class="far fa-building icon-margin-right"></i></div><font color="#000">Instituciones</font></a>
                  <a class="nav-link" href="/departamentos">
                        <div class="sb-nav-link-icon"><i class="fas fa-warehouse icon-margin-right"></i></div><font color="#000">Departamentos</font></a>
                  <a class="nav-link" href="/roles">
                        <div class="sb-nav-link-icon"><i class="fas fa-user-secret icon-margin-right"></i></div><font color="#000">Roles</font></a>
                  <a class="nav-link" href="/ocupaciones">
                         <div class="sb-nav-link-icon"><i class="fas fa-user-tie icon-margin-right"></i></div><font color="#000">Ocupaciones</font></a>
                  <a class="nav-link" href="/categorias">
                         <div class="sb-nav-link-icon"><i class="fas fa-cash-register icon-margin-right"></i></div><font color="#000">Categorias</font></a>
                   <a class="nav-link" href="/categoria-diagnostico">
                        <div class="sb-nav-link-icon"><i class="fab fa-creative-commons-sampling-plus icon-margin-right"></i></div><font color="#000">Categoria de Diagnostico</font></a>
                  <a class="nav-link" href="/diagnostico">
                        <div class="sb-nav-link-icon"><i class="fas fa-file-contract icon-margin-right"></i></div><font color="#000">Diagnostico</font></a>
                  <a class="nav-link" href="/estados_solicitud">
                        <div class="sb-nav-link-icon"><i class="fas fa-paste icon-margin-right"></i></div><font color="#000">Estados de Solicitud</font></a>
                  <a class="nav-link" href="/apoyos">
                        <div class="sb-nav-link-icon"><i class="fas fa-hands icon-margin-right"></i></div><font color="#000">Apoyos</font></a>
                  <?php endif; ?>
                  <?php if(session('user_agent')=='Admin'||session('user_agent')=='Soport'): ?>
                  <a class="nav-link" href="/materialesConstruccion">
	     <div class="sb-nav-link-icon"><i class="fas fa-ruler-combined icon-margin-right"></i></div><font color="#000">Materiales de Construccion</font></a>
                  <a class="nav-link" href="/servicios">
                        <div class="sb-nav-link-icon"><i class="fas fa-faucet icon-margin-right"></i></div><font color="#000">Servicios</font></a>
                  <a class="nav-link" href="/muebles">
                        <div class="sb-nav-link-icon"><i class="fas fa-couch icon-margin-right"></i></div><font color="#000">Muebles</font></a>
                  <?php endif; ?>
                  <?php if(session('user_agent')=='Admin'||session('user_agent')=='TrSo'||session('user_agent')=='Cont'||session('user_agent')=='DirGen'): ?>
                  <a class="nav-link" href="/proveedores">
                       <div class="sb-nav-link-icon"><i class="fas fa-truck icon-margin-right"></i></div><font color="#000">Proveedores</font></a>
                  <a class="nav-link" href="/productos">
	     <div class="sb-nav-link-icon"><i class="fas fa-box-open icon-margin-right"></i></div><font color="#000">Productos</font></a>
                  <?php endif; ?>
                </nav>
              </div>
              <?php if(session('user_agent')=='Admin'): ?>
              <div class="sb-sidenav-menu-heading"><i class="fas fa-tools fa-fw"></i><font color="#000">Configuracion</font></div>
              <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseSetting" aria-expanded="false" aria-controls="collapseSetting">
                <div class="sb-nav-link-icon"><i class="fas fa-laptop-code"></i></div>
                <font color="#000">Sistema</font>
                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
              </a>
              <div class="collapse" id="collapseSetting" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                    <nav class="sb-sidenav-menu-nested nav">
                      <a class="nav-link" href="/usuarios">
                       <div class="sb-nav-link-icon"><i class="fas fa-users icon-margin-right"></i></div><font color="#000">Usuarios</font></a>
                    </nav>
              </div>
              <div class="sb-sidenav-menu-heading"><i class="far fa-handshake fa-fw"></i><font color="#000">Relaciones</font></div>
              <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseRelations" aria-expanded="false" aria-controls="collapseRelations">
                <div class="sb-nav-link-icon"><i class="fas fa-network-wired"></i></div>
                <font color="#000">Relacionar</font>
                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
              </a>
              <div class="collapse" id="collapseRelations" aria-labelledby="headingOne" data-parent="#sidenavAccordion">
                    <nav class="sb-sidenav-menu-nested nav">
                      <a class="nav-link" href="/productos_apoyos">
                          <div class="sb-nav-link-icon"><i class="fas fa-cubes icon-margin-right"></i></div><font color="#000">Categoría del Apoyo</font></a>
                      <a class="nav-link" href="/apoyos_departamento">
                          <div class="sb-nav-link-icon"><i class="fas fa-landmark icon-margin-right"></i></div><font color="#000">Apoyos del Departamento</font></a>
                      <a class="nav-link" href="/instituto_departamento">
                           <div class="sb-nav-link-icon"><i class="fas fa-sitemap icon-margin-right"></i></div><font color="#000">Departamento del Instituto</font></a>
                    </nav>
              </div>
            <?php endif; ?>
              <?php if(session('user_agent')=='Admin'||session('user_agent')=='Soport'): ?>
              <div class="sb-sidenav-menu-heading"><i class="far fa-file-alt fa-fw"></i><font color="#000">Bitacoras</font></div>
              <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
                <div class="sb-nav-link-icon"><i class="fas fa-file-invoice"></i></div>
                 <font color="#000">Bitacoras</font>
                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
              </a>
              <div class="collapse" id="collapsePages" aria-labelledby="headingTwo" data-parent="#sidenavAccordion">
                <nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
                  <a class="nav-link" href="/bitacora_errores">
                        <div class="sb-nav-link-icon"><i class="fas fa-bug icon-margin-right"></i></div><font color="#000">Bitácora de errores</font></a>
                  <a class="nav-link" href="/bitacora_correos">
                         <div class="sb-nav-link-icon"><i class="far fa-envelope icon-margin-right"></i></div><font color="#000">Bitácora de correos</font></a>
                </nav>
              </div>
              <?php endif; ?>              
              <?php if(session('user_agent')=='Admin'||session('user_agent')=='TrSo'||session('user_agent')=='Cont'||session('user_agent')=='DirGen'): ?>
              <div class="sb-sidenav-menu-heading"><i class="fas fa-home fa-fw"></i><font color="#00">Reportes</font></div>
              <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseReports" aria-expanded="false" aria-controls="collapsePages">
                <div class="sb-nav-link-icon"><i class="far fa-folder-open"></i></div><font color="#00">Reportes</font>
                <div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
              </a>
              <div class="collapse" id="collapseReports" aria-labelledby="headingTwo" data-parent="#sidenavAccordion">
                <nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
                  <a class="nav-link" href="/reporte_solicitudes">
                      <div class="sb-nav-link-icon"><i class="fas fa-clipboard icon-margin-right"></i></div><font color="#00">Reporte de Solicitudes</font></a>
                  <a class="nav-link" href="/reporte_discapacidades">
	    <div class="sb-nav-link-icon"><i class="fas fa-clipboard icon-margin-right"></i></div><font color="#00">Reporte de Discapacidades</font></a>                  
                </nav>
              </div>             
              <?php endif; ?>
            </div>
          </div>
          <div class="sb-sidenav-footer">
            <div class="small">Ingresado cómo:</div>
            <?php echo e(session('user')); ?>

          </div>
        </nav>
      </div>
      <div id="layoutSidenav_content">
        <main>
            <?php echo $__env->yieldContent('text'); ?>
          <div class="row">
            <?php echo $__env->yieldContent('content'); ?>
          </div>
        </main>
        <footer class="py-4 bg-light mt-auto">
          <div class="container-fluid">
            <div class="d-flex align-items-center justify-content-between small">
              <div class="text-muted">Copyright &copy; Presidencia Municipal de Gómez Palacio 2019-2022</div>
            </div>
          </div>
        </footer>
      </div>
    </div>
    <!-- Scroll to Top Button-->
    <a class="scroll-to-top rounded" href="#page-top">
      <i class="fas fa-angle-up"></i>
    </a>

    <!-- Logout Modal-->
    <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" id="modal" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel">Cerrar sesión</h5>
            <button class="close" type="button" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">×</span>
            </button>
          </div>
          <div class="modal-body">¿Está usted seguro de querer cerrar la sesión?</div>
          <div class="modal-footer">
            <a class="btn btn-primary" href="/logout">Salir</a>
            <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancelar</button>
          </div>
        </div>
      </div>
    </div>
    
    <script src="../assets/js/jquery.min.js"></script>
    
    <script src="../assets/js/bootstrap.bundle.min.js"></script>
    
    <script src="../assets/js/jquery.easing.min.js"></script>
    <script src="../assets/js/alertify.min.js"></script>
    <script src="../assets/js/jquery.mask.min.js"></script>
    <script src="../assets/js/Chart.min.js"></script>
    
    <script src="../assets/js/main.js"></script>
    <script src="../assets/js/mainForm.js"></script>
    <?php echo $__env->yieldContent('jsDashboard'); ?>
    <script src="../assets/js/scripts.js"></script>
  </body>
</html>
<?php /**PATH C:\laragon\www\ApoyosPresidencia\resources\views/base/base.blade.php ENDPATH**/ ?>