The Vanguardia EPIS login page is the entry point for all authorized school personnel. Served directly at the application root, it presents the Horizontes Educativos branding and a clean credential form that routes each user to the correct panel based on their role — teachers land on the monitoring panel, while administrators are taken to the institutional dashboard.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Pierrot-01/Hackathon_epis_2026/llms.txt
Use this file to discover all available pages before exploring further.
URL
FileResponse, which reads frontend/index.html directly from disk:
.html pages are served via a matching wildcard route:
frontend/ directory is also mounted under /static via FastAPI’s StaticFiles middleware, making CSS, fonts, and assets available at that prefix.
Visual Design
The login page uses a light theme (<html class="light">) with a Material Design 3–inspired color token system built on Tailwind CSS. Key design elements include:
- A centered card on a soft
bg-surfacebackground (#f7fafc) - A circular avatar tile with a filled
schoolicon rendered inbg-primary-containerblue - The institution name “Horizontes Educativos” in
text-primary(#005a71) at headline-md scale - A subtitle: “Portal de Detección Temprana”
- Input fields with left-side Material Symbol icons (
mail,lock) andfocus:ring-primaryhighlight rings - A full-width, pill-shaped “Iniciar Sesión” submit button in
bg-primary - A “¿Olvidaste tu contraseña?” link (placeholder, no backend route)
Demo Credentials
The login page displays hardcoded demo credentials in the informational footer beneath the form:| Role | |
|---|---|
| Admin | [email protected] |
| Docente | [email protected] |
No password is validated server-side in the current demo build. The form only reads the email field to determine the redirect target. Any non-empty password input will pass the client-side
required check.Authentication Flow
User submits the form
The
#loginForm submit handler fires, preventing the default browser POST. The button switches to a loading state — it displays a spinning progress_activity icon and reads “Verificando…” — and is disabled for 800 ms to simulate a server round-trip.Navigation Map
Panel de Monitoreo
Default destination for teachers (
[email protected]). Shows all students with live risk-level badges.Panel Administrativo
Destination for admin users (
[email protected]). Shows institution-wide metrics, teacher roster, and critical alerts.