Edoruin commited on
Commit
1e1a036
·
1 Parent(s): 366e9ab

add to GESTION DE AULAS, button

Browse files
Files changed (2) hide show
  1. app/main.py +2 -1
  2. app/templates/classroom.html +6 -6
app/main.py CHANGED
@@ -799,7 +799,8 @@ def guia_gestion():
799
  return render_template('guia_gestion.html', title="Guía de Gestión")
800
 
801
  # --- RUTAS DE GESTIÓN DE AULAS ---
802
- @app.route('/classroom')
 
803
  @login_required
804
  def classroom_dashboard():
805
  courses = classroom_manager.get_courses()
 
799
  return render_template('guia_gestion.html', title="Guía de Gestión")
800
 
801
  # --- RUTAS DE GESTIÓN DE AULAS ---
802
+ # --- RUTAS DE GESTIÓN DE AULAS ---
803
+ @app.route('/classroom/dashboard')
804
  @login_required
805
  def classroom_dashboard():
806
  courses = classroom_manager.get_courses()
app/templates/classroom.html CHANGED
@@ -14,15 +14,15 @@
14
  <p class="text-dim">Usa reconocimiento facial para registrar la asistencia del aula.</p>
15
  </a>
16
 
17
- <!-- Tarjeta para Configuración de Aula (Próximamente) -->
18
- <div class="card glass" style="opacity: 0.7; cursor: not-allowed;">
19
- <i class="fas fa- chalkboard"></i>
20
  <h2>GESTIÓN DE AULAS</h2>
21
- <p class="text-dim">Configura horarios y grupos (Próximamente).</p>
22
- </div>
23
  </div>
24
 
25
  <div style="margin-top: 3rem; text-align: center;">
26
  <a href="/" class="btn glass"><i class="fas fa-arrow-left"></i> Volver al Inicio</a>
27
  </div>
28
- {% endblock %}
 
14
  <p class="text-dim">Usa reconocimiento facial para registrar la asistencia del aula.</p>
15
  </a>
16
 
17
+ <!-- Tarjeta para Configuración de Aula -->
18
+ <a href="/classroom/dashboard" class="card glass">
19
+ <i class="fas fa-chalkboard"></i>
20
  <h2>GESTIÓN DE AULAS</h2>
21
+ <p class="text-dim">Configura horarios, grupos y estudiantes.</p>
22
+ </a>
23
  </div>
24
 
25
  <div style="margin-top: 3rem; text-align: center;">
26
  <a href="/" class="btn glass"><i class="fas fa-arrow-left"></i> Volver al Inicio</a>
27
  </div>
28
+ {% endblock %}