aboutsummaryrefslogtreecommitdiff
path: root/ustayml/templates/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'ustayml/templates/dashboard')
-rw-r--r--ustayml/templates/dashboard/index.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/ustayml/templates/dashboard/index.html b/ustayml/templates/dashboard/index.html
new file mode 100644
index 0000000..3117ec2
--- /dev/null
+++ b/ustayml/templates/dashboard/index.html
@@ -0,0 +1,51 @@
+{% extends 'base.html' %}
+
+
+{% block header %}
+ <h1>{% block title %}Dashboard{% endblock %}</h1>
+{% endblock %}
+
+{% block content %}
+ <div class="filter-criteria">
+ <form class="filters" method="get">
+ <fieldset class="filters-list">
+ <div>
+ <label for="pucp_unit">Unidad:</label>
+ <select name="pucp_unit" id="pucp_unit">
+ <option value="0">Mostrar todas</option>
+ {% for e in pucp_unit %}
+ <option value="{{e['id']}}" {% if e['id'] == fc['pucp_unit'] %} selected {% endif %}>{{ e['name'] }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div>
+ <label for="semester">Semestre: </label>
+ <select name="semester" id="semester">
+ <option value="0">Mostrar todos</option>
+ {% for e in semester %}
+ <option value="{{e['id']}}" {% if e['id'] == fc['semester'] %} selected {% endif %}>{{ e['name'] }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div>
+ <label for="desertion_risk_class">Riesgo deserción: </label>
+ <select name="desertion_risk_class" id="desertion_risk_class">
+ <option value="0">Mostrar todos</option>
+ {% for e in desertion_risk_class %}
+ <option value="{{e['id']}}" {% if e['id'] == fc['desertion_risk_class'] %} selected {% endif %}>{{ e['name'] }}</option>
+ {% endfor %}
+ </select>
+ </div>
+ <div>
+ <label></label>
+ <input type="submit" value="Aplicar filtros">
+ </div>
+ </fieldset>
+ </form>
+ </div>
+ <div class="dashboard-graphics">
+ <div class="chart">
+ <img src="{{ url_for('static', filename='img/sample-bar_chart.png') }}">
+ </div>
+ </div>
+{% endblock %} \ No newline at end of file