blob: 74c1847566579ce99a3d67d54a1c1b9464ee4baa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Estudiantes{% endblock %}</h1>
<span>💡TIP: hacer click en un estudiante para ver su detalle</span>
{% endblock %}
{% block content %}
<div class="filters">
{# <h3>Filtros</h3> #}
<form class="filters-list" method="post">
<label for="pucp_unit">Unidad:
<select name="pucp_unit" id="pucp_unit">
<option>Mostrar todas</option>
<option>Facultad de Ciencias e Ingenieria</option>
<option>EEGGCC</option>
</select>
</label>
<label for="semester">Semestre:
<select name="semester" id="semester">
<option>Mostrar todos</option>
<option>2023-2</option>
<option>2023-1</option>
<option>2022-2</option>
<option>2022-1</option>
<option>2021-2</option>
<option>2021-1</option>
<option>2020-2</option>
<option>2020-1</option>
<option>2019-2</option>
<option>2019-1</option>
<option>2018-2</option>
<option>2018-1</option>
<option>2017-2</option>
<option>2017-1</option>
</select>
</label>
<label for="dessertion_risk">Riesgo deserción:
<select name="dessertion_risk" id="dessertion_risk">
<option>Mostrar todos</option>
<option>Alto</option>
<option>Medio</option>
<option>Bajo</option>
</select>
</label>
</form>
<input type="submit" value="Aplicar filtros">
</div>
<table class="students-table">
<thead>
<tr>
<th>código</th>
<th>nombre</th>
<th>email</th>
<th>distrito</th>
<th>asistencia</th>
<th>CRAEst</th>
<th>PPNE3</th>
<th>mérito</th>
<th>ciclos est.</th>
<th>riesgo est.</th>
</tr>
</thead>
<tbody>
{% for student in students %}
<tr>
<td>{{ student['pucp_code'] }}</td>
<td>{{ student['fullname'] }}</td>
<td>{{ student['email'] }}</td>
<td>{{ student['district'] }}</td>
<td>{{ student['current_attendance'] }}</td>
<td>{{ student['current_craest'] }}</td>
<td>{{ student['current_ppne3'] }}</td>
<td>{{ student['current_merit'] }}</td>
<td>{{ student['est_study_length'] }}</td>
<td>{{ student['est_dessertion_risk'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}
|