Files
MASA/app/partials/report/section_assist.html
Reynaldo Reyes 48e8b73111 Various fixes
2016-05-20 23:00:34 -04:00

68 lines
2.3 KiB
HTML

<div class="row clearfix col-md-12">
<h4>Asistencia de Sección {{vm.section.name}}</h4>
<br>
</br>
<div class= "row clearfix col-md-12">
<div> Estadisticas </div>
<div> Porcentaje de Asistencia: {{vm.percentage}} % </div>
<div> Total de Dias de Clase: {{vm.lectures}} </div>
<br>
</div>
<button class = "btn-warning btn"
type = "button"
style = "margin: 10px"
ng-click = "vm.back()">
Regresar
</button>
<br><br/>
<div ng-show="vm.flag">
<h4 style="color: red"> Estudiantes con menos de 75% de Asistencia </h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th width="20%" style="text-align: center">
Cedula
</th>
<th width="20%" style="text-align: center">
Nombre
</th>
<th width="20%" style="text-align: center">
Apellido
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="student in vm.students">
<td style="vertical-align:middle">{{ student.id }}</td>
<td style="vertical-align:middle">{{ student.name }}</td>
<td style="vertical-align:middle">{{ student.lastname }}</td>
</tr>
</tbody>
</table>
</div>
<h4 style="color: green"> Estudiantes con más 75% de Asistencia </h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th width="20%" style="text-align: center">
Cedula
</th>
<th width="20%" style="text-align: center">
Nombre
</th>
<th width="20%" style="text-align: center">
Apellido
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="student in vm.studentsPassed">
<td style="vertical-align:middle">{{ student.id }}</td>
<td style="vertical-align:middle">{{ student.name }}</td>
<td style="vertical-align:middle">{{ student.lastname }}</td>
</tr>
</tbody>
</table>
</div>