Update repo with several changes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="row clearfix">
|
||||
<h4>Reportes de Materias</h4>
|
||||
<h4>Reportes por Materia</h4>
|
||||
<br>
|
||||
</br>
|
||||
<div>
|
||||
@@ -15,11 +15,11 @@
|
||||
<th width="5%" style="text-align: center">
|
||||
Creditos
|
||||
</th>
|
||||
<th width="40%" style="text-align: center">
|
||||
<th width="35%" style="text-align: center">
|
||||
Descripción
|
||||
</th>
|
||||
<th width="15%" style="text-align: center">
|
||||
Reportes de Materia
|
||||
<th width="20%" style="text-align: center">
|
||||
Estadisticas de la Materia
|
||||
</th>
|
||||
<th width="10%" style="text-align: center">
|
||||
Secciones
|
||||
|
||||
@@ -47,11 +47,12 @@
|
||||
}
|
||||
vm.subTotal = vm.positive + vm.negative;
|
||||
});
|
||||
if(((vm.positive/vm.subTotal)*100)<75){
|
||||
if(((vm.positive/vm.subTotal)*100)>75){
|
||||
vm.studentsPassed.push(value);
|
||||
}else{
|
||||
vm.students.push(value);
|
||||
vm.flag = true;
|
||||
}else{
|
||||
vm.studentsPassed.push(value);
|
||||
|
||||
}
|
||||
vm.positiveTotal = vm.positiveTotal + vm.positive;
|
||||
vm.negativeTotal = vm.negativeTotal + vm.negative;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
angular.forEach (vm.professor.courses,
|
||||
function (value, key){
|
||||
if (value._id == selectedCourse._id ) {
|
||||
vm.course = value.name;
|
||||
vm.index = key;
|
||||
vm.section = value.sections;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="row clearfix">
|
||||
<h4>Reportes de Secciones</h4>
|
||||
<h4>Reportes por Sección en {{vm.course}}</h4>
|
||||
<br>
|
||||
<button class = "btn-warning btn"
|
||||
type = "button"
|
||||
@@ -25,7 +25,7 @@
|
||||
Semestre
|
||||
</th>
|
||||
<th width="20%" style="text-align: center">
|
||||
Reportes por Sección
|
||||
Estadisticas de la Sección
|
||||
</th>
|
||||
<th width="10%" style="text-align: center">
|
||||
Estudiantes
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
professors.get({ id: professorid },
|
||||
function (successResult){
|
||||
vm.professor = successResult;
|
||||
vm.course = vm.professor.courses[selectedCourse.index].name;
|
||||
angular.forEach (vm.professor.courses[selectedCourse.index].sections,
|
||||
function (value, key){
|
||||
if (value._id == selectedSection._id ) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="row clearfix">
|
||||
<h4>Reportes de Estudiantes</h4>
|
||||
<h4>Reportes por Estudiante en {{vm.course}} - Sección {{vm.section.name}} - Semestre {{ vm.section.semester }} </h4>
|
||||
<br>
|
||||
<button class = "btn-warning btn"
|
||||
type = "button"
|
||||
@@ -13,7 +13,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%" style="text-align: center">
|
||||
Cedula
|
||||
Cédula
|
||||
</th>
|
||||
<th width="20%" style="text-align: center">
|
||||
Nombre
|
||||
@@ -22,7 +22,7 @@
|
||||
Apellido
|
||||
</th>
|
||||
<th width="20%" style="text-align: center">
|
||||
Reportes por Estudiante
|
||||
Estadisticas del Estudiante
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user