Feat: add students to paths

This commit is contained in:
Bertrand Benjamin 2021-02-23 17:07:05 +01:00
parent 74d751a586
commit b5bf1ac137

View File

@ -5,6 +5,7 @@ from dash.dependencies import Input, Output
from .app import app from .app import app
from .exam_analysis import app as exam_analysis from .exam_analysis import app as exam_analysis
from .create_exam import app as create_exam from .create_exam import app as create_exam
from .student_analysis import app as student_analysis
app.layout = html.Div( app.layout = html.Div(
@ -18,6 +19,8 @@ def display_page(pathname):
return exam_analysis.layout return exam_analysis.layout
elif pathname == "/create-exam": elif pathname == "/create-exam":
return create_exam.layout return create_exam.layout
elif pathname == "/students":
return student_analysis.layout
else: else:
return "404" return "404"