<?php if( $aspirantes->count()>0 ): ?>
  <div class='table mt-3'>
    <div class="row encabezado">
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">#</div>
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">No. Solicitud</div>
      <div class="col-lg-4 col-md-4 col-sm-12 d-none d-sm-none d-md-block">Nombre</div>
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">Carrera</div>
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">Periodo</div>
      <div class="col-lg-2 col-md-2 col-sm-12 d-none d-sm-none d-md-block">Acceso Examen</div>
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">Aciertos/ Preguntas</div>
      <div class="col-lg-1 col-md-1 col-sm-12 d-none d-sm-none d-md-block">Acción</div>
    </div>
    <div class="row contenido-700">
      <div class='col-md-12'>
        <?php $__currentLoopData = $aspirantes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $a): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

          <div class="row cuerpo text-center align-self-center">
            <div class='col-6 d-block d-sm-block d-md-none bg-dark-blue text-white text-center'>ID</div>
            <div class="col-6 d-block d-sm-block d-md-none bg-dark-blue text-white text-center"><?php echo e($loop->iteration); ?></div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6 d-none d-sm-none d-md-block"><?php echo e($loop->iteration); ?></div>

            <div class='col-6 d-block d-sm-block d-md-none text-center'>No. Solicitud</div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6"><?php echo e($a->id); ?></div>

            <div class='col-6 d-block d-sm-block d-md-none'>Nombre</div>
            <div class="col-6 col-lg-4 col-md-4 col-sm-6 text-left d-flex justify-content-between align-items-center">
              <?php echo e($a->ap_paterno); ?> <?php echo e($a->ap_materno); ?> <?php echo e($a->nombre); ?> 
              <?php if($a->xm_aspirantes->resultado == '1'): ?>
                <span class="badge badge-success"><i class="fa fa-check"></i></span>
              <?php else: ?> 
              
              <?php endif; ?>
            </div>

            <div class='col-6 d-block d-sm-block d-md-none text-center'>Carrera</div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6"><?php echo e($a->carrera->abreviatura); ?></div>

            <div class='col-6 d-block d-sm-block d-md-none text-center'>Periodo</div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6"><?php echo e($a->periodo->nombre); ?></div>

            <div class='col-6 d-block d-sm-block d-md-none text-center'>Acceso Examen</div>
            <div class="col-6 col-lg-2 col-md-2 col-sm-6">
              <?php if($a->xm_aspirantes->acceso_exa==null): ?>
                -
              <?php else: ?>
                <?php echo e($a->xm_aspirantes->acceso_exa->format('d/m/Y H:i:s')); ?>

              <?php endif; ?>
            </div>

            <div class='col-6 d-block d-sm-block d-md-none text-center'>Aciertos/ Preguntas</div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6"><?php echo e($a->aciertos_count); ?> / <?php echo e($a->respuestas_count); ?></div>
            
            <div class='col-6 d-block d-sm-block d-md-none text-center'>Acción</div>
            <div class="col-6 col-lg-1 col-md-1 col-sm-6 text-center">
              <div class="btn-group btn-group-xs" role="group" aria-label="...">
                <!--respetar los colores y botones para consultar, modificar y eliminar -->
                
                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('configuracion')): ?>
                  <?php if($a->respuestas_count>0): ?>
                    <button class="btn btn-secondary" type="button" data-toggle="popover" data-trigger="hover" data-placement="left" data-content="Descargar Respuestas" onclick="ngrs_download_respuestas(<?php echo e($a->id); ?>);"><i class="fa fa-download"></i></button>  
                  <?php endif; ?>
                <?php endif; ?>

              </div>
            </div>
          </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </div>
    </div>
    <!--<div class="row pie">
      <div class="col-md-4 col-sm-12">ID</div>
      <div class="col-md-4 col-sm-12">Año</div>
      <div class="col-md-4 col-sm-12">Acción</div>
    </div>-->
  </div>

  <?php if($no_pag): ?>
    <div class="d-flex justify-content-end">
      <?php echo e($aspirantes->links()); ?>

    </div>
  <?php endif; ?>
    


<?php else: ?>
  <div class="row mt-5">
    <div class="col-lg-12 col-md-12 text-center">
      <h2>No se encontraron resultados.</h2>
    </div>
  </div>
<?php endif; ?><?php /**PATH /home/itzitacu/public_html/poa/laravel/resources/views/examen/ingreso/resultados/contenido.blade.php ENDPATH**/ ?>