<?php echo csrf_field(); ?>
<div class='row'>
  <div class="col-md-12 col-sm-12  ">
    <div class="x_panel">
    	<div class="x_title">
        <h2>Examen de Admisión</h2>
        <div class="clearfix"></div>
      </div>
      <div class="x_content">

				<div class="row">
					<div class="col-12 col-sm-2"></div>
					<div class="col-12 col-sm-8">
						<div id='contenedor' class="mt-3">
							
							<?php if( $confi->count()>0 ): ?>
							  <div class='table mt-3'>
							    <div class="row encabezado">
							      <div class="col-lg-2 col-md-2 col-sm-12 d-none d-sm-none d-md-block">#</div>
							      <div class="col-lg-4 col-md-4 col-sm-12 d-none d-sm-none d-md-block">Periodo</div>
							      <div class="col-lg-3 col-md-3 col-sm-12 d-none d-sm-none d-md-block" 
							      			data-toggle="popover" data-trigger="hover" data-placement="top" 
							      			data-content="Solo puede existir un periodo activo para consultar resultados">Visualización</div>
							      <div class="col-lg-3 col-md-3 col-sm-12 d-none d-sm-none d-md-block">Mensajes</div>
							    </div>
							    <div class="row contenido-700">
							      <div class='col-md-12'>
							        <?php $__currentLoopData = $confi; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__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'>#</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-2 col-md-2 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'>Periodo</div>
							            <div class="col-6 col-lg-4 col-md-4 col-sm-6"><?php echo e($c->periodo->nombre); ?></div>
							            
							            <div class='col-6 d-block d-sm-block d-md-none text-center'>Visualización</div>
							            <div class="col-6 col-lg-3 col-md-3 col-sm-6 text-center" style="padding: 3px 0px;">
							              <input type="checkbox" onchange="ngrs_publicar_validar(<?php echo e($c->periodo_id); ?>)" id="chk_<?php echo e($c->periodo_id); ?>" 	name="chk_<?php echo e($c->periodo_id); ?>"
							              	<?php if($c->publicar==1): ?> checked <?php endif; ?>
							              	class="js-switch">
							            </div>

							            <div class='col-6 d-block d-sm-block d-md-none text-center'>Mensajes</div>
							            <div class="col-6 col-lg-3 col-md-3 col-sm-6">
							            	<button class="btn btn-success btn-xs" onclick="ngrs_confi_mensajes(<?php echo e($c->id); ?>);" ><i class="fa fa-file-text-o" ></i></button>
							            </div>

							          </div>
							        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							      </div>
							    </div>
							  </div>

							<?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; ?>

		        </div>

					</div>
					<div class="col-12 col-sm-2"></div>
				</div>
        
      </div>
    </div>
  </div>
</div><?php /**PATH /home/itzitacu/public_html/poa/laravel/resources/views/examen/resultados/periodos.blade.php ENDPATH**/ ?>