 @if (count($alumnos)>0)  
<div class="container-fluid">            
                    <div class="row encabezado">
                      <div class="col-xs col-sm-1"><h4><p class="text-center">No.</p></h4></div>
                      <div class="col-xs col-sm-2"><h4><p class="text-center">No. control</p></h4></div>
                      <div class="col-xs col-sm-3"><h4><p class="text-center">Nombre</p></h4></div>
                      <div class="col-xs col-sm-2"><h4><p class="text-center">Carrera</p></h4></div>
                      <div class="col-xs col-sm-2"><h4><p class="text-center">Estado</p></h4></div>
                      <div class="col-xs col-sm-2"><h4><p class="text-center">Opciones</p></h4></div>
                      <!-- Optional: clear the XS cols if their content doesn't match in height -->
                      <div class="clearfix visible-xs-block"></div>
                    </div>
                    @php ($numero = 0)
                    @foreach ($alumnos as $a)
                        @php ($numero++)
                        <div class="row renglon" id="{{ $a->id_alu }}">
                          <div class="col-xs col-sm-1 text-center" id="num{{ $numero }}">{{ $numero }}</div>
                          <div class="col-xs col-sm-2" id="ncontrolDiv{{ $a->id_alu }}">{{ $a->ncontrol_alu }}</div>
                          <div class="col-xs col-sm-3" id="nombreDiv{{ $a->id_alu }}">{{ $a->nombre_alu }} {{ $a->apaterno_alu }} {{ $a->amaterno_alu }}</div>
                          <div class="col-xs col-sm-2" id="carreraDiv{{ $a->id_alu }}">{{ $a->nombre_carr }}</div>
                          <div class="col-xs col-sm-2" id="estadoDiv{{ $a->id_alu }}">@if ($a->status_alu==0) {{ 'Inactivo' }} @elseif ($a->status_alu==1) {{ 'Activo' }} @elseif ($a->status_alu==2) {{ 'Acreditado / Liberación en Subdirección' }} @elseif ($a->status_alu==3) {{ 'Acreditado' }} @elseif ($a->status_alu==5) {{ 'Acreditado / Liberación en Dirección' }} @endif</div>

                          <div class="col-xs col-sm-2" align="center">

                            <button type="button" id="btnConsultaAlumno" class="btn btnConsultaAlumno btn-primary btn-xs" data-toggle="modal" data-id1alu="{{$a->id_alu }}" onclick="consultarAlumno({{ $a->id_alu }});" ><span class="fa fa-eye"> </span>Consultar </button>

                          </div>

                          <!-- Optional: clear the XS cols if their content doesn't match in height -->

                          <div class="clearfix visible-xs-block"></div>

                        </div>

                    @endforeach 

                  @else

                    <h4 align="center">No se encontraron alumnos acreditados.</h4>

                  @endif

                </div>