ESEN organises every extracurricular activity into one of five categories. Categories serve two practical purposes: they allow administrators to filter the activity list to a specific type, and they drive the hours-by-category bar chart in the Reports view. Every activity must belong to exactly one category, chosen at registration time from a fixedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/rtajio/ESEN/llms.txt
Use this file to discover all available pages before exploring further.
<select> dropdown.
The five categories
Académico (Academic)
Covers academic workshops, congresses, and knowledge-based events. Demo activities: Taller de Emprendimiento, Congreso de Ciencias.
Deportivo (Sports)
Covers inter-faculty tournaments and sports competitions. Demo activity: Torneo Interfacultades.
Cultural (Cultural)
Covers artistic expression, cultural festivals, and creative events. Demo activity: Festival de Arte.
Voluntariado (Volunteering)
Covers community service and environmental activities. Demo activity: Brigada de Limpieza.
Liderazgo (Leadership)
Covers student leadership training and development programmes. Demo activity: Taller de Liderazgo.
Badge colours
Category labels appear as colour-coded inline badges throughout the app. The mapping between category name and CSS class is defined inCAT_COLORS (app.js:13):
app.js
style.css:288:
style.css
Colour reference
| Category | Badge class | Background | Text colour |
|---|---|---|---|
| Académico | badge-blue | #E6F1FB | #0C447C |
| Deportivo | badge-teal | #E1F5EE | #085041 |
| Cultural | badge-coral | #FAECE7 | #712B13 |
| Voluntariado | badge-green | #EAF3DE | #27500A |
| Liderazgo | badge-amber | #FAEEDA | #633806 |
Filtering by category
The Activities view (view-actividades) includes a <select> control with id filter-cat (index.html:164). Selecting a category calls renderActTable(), which filters the array:
app.js
<option> values plus a blank Todas las categorías option that clears the filter. The filter can be combined with the month picker (filter-month) to narrow results by both category and date. The Limpiar button resets both filters by calling clearFilters().
Categories in reports
The Reports view (view-reportes) always iterates over categories in this fixed order: Académico, Deportivo, Cultural, Voluntariado, Liderazgo. For each category, renderReportes() sums the horas of all matching activities regardless of their activo status, then renders a proportional horizontal bar scaled to the category with the most hours.
Demo data by category
The six pre-loaded demo activities (app.js:21) map to categories as follows:
| Activity | Category |
|---|---|
| Taller de Emprendimiento | Académico |
| Torneo Interfacultades | Deportivo |
| Festival de Arte | Cultural |
| Brigada de Limpieza | Voluntariado |
| Taller de Liderazgo | Liderazgo |
| Congreso de Ciencias | Académico |