67 lines
3.0 KiB
HTML
67 lines
3.0 KiB
HTML
<div class="row clearfix">
|
|
<h4>Listado de Estudiantes</h4>
|
|
<br>
|
|
<div>
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th width="20%">
|
|
<a href="" ng-click="sortType = 'Cedula';
|
|
sortReverse = !sortReverse">
|
|
Cedula
|
|
<span ng-show="sortType == 'Cedula' &&
|
|
!sortReverse" class="fa fa-caret-down"></span>
|
|
<span ng-show="sortType == 'Cedula' &&
|
|
sortReverse" class="fa fa-caret-up"></span>
|
|
</a>
|
|
</th>
|
|
<th width="20%">
|
|
<a href="" ng-click="sortType = 'Nombre';
|
|
sortReverse = !sortReverse">
|
|
Nombre
|
|
<span ng-show="sortType == 'Nombre' &&
|
|
!sortReverse" class="fa fa-caret-down"></span>
|
|
<span ng-show="sortType == 'Nombre' &&
|
|
sortReverse" class="fa fa-caret-up"></span>
|
|
</a>
|
|
</th>
|
|
<th width="20%">
|
|
<a href="" ng-click="sortType = 'Apellido';
|
|
sortReverse = !sortReverse">
|
|
Apellido
|
|
<span ng-show="sortType == 'Apellido' &&
|
|
!sortReverse" class="fa fa-caret-down"></span>
|
|
<span ng-show="sortType == 'Apellido' &&
|
|
sortReverse" class="fa fa-caret-up"></span>
|
|
</a>
|
|
</th>
|
|
<th width="20%" style="text-align: center">
|
|
<a>Modificar</a>
|
|
</th>
|
|
<th width="20%" style="text-align: center">
|
|
<a>Borrar</a>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="estudiante in vm.listaEstudiantes">
|
|
<td style="vertical-align:middle">{{ estudiante.Cedula }}</td>
|
|
<td style="vertical-align:middle">{{ estudiante.Nombre }}</td>
|
|
<td style="vertical-align:middle">{{ estudiante.Apellido }}</td>
|
|
<td style="text-align: center">
|
|
<span title="Click aqui para Modificar un Estudiante" class="glyphicon glyphicon-edit" aria-hidden="true"
|
|
ng-click="vm.modificarEstudiante($index)"
|
|
style="cursor:pointer"></span>
|
|
</td>
|
|
<td style="text-align: center">
|
|
<span title="Click aqui para Eliminar un Estudiante"
|
|
class="glyphicon glyphicon-remove" aria-hidden="true"
|
|
ng-click="vm.eliminarEstudianteModal($index)"
|
|
style="cursor:pointer"></span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div ng-show=false > {{vm.removeEstudianteSplice(index, rsplice)}}</div>
|
|
</div> |