Compare commits
3 Commits
2d08671247
...
83eb9c327b
Author | SHA1 | Date |
---|---|---|
Bertrand Benjamin | 83eb9c327b | |
Bertrand Benjamin | ff1ecfef25 | |
Bertrand Benjamin | 921292a0d2 |
|
@ -6,6 +6,7 @@ from dash.dependencies import Input, Output
|
|||
from .app import app
|
||||
from .pages.home import app as home
|
||||
from .pages.exams_scores import app as exams_scores
|
||||
import dash_html_components as html
|
||||
|
||||
|
||||
@app.callback(Output("page-content", "children"), [Input("url", "pathname")])
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
# encoding: utf-8
|
||||
|
||||
import click
|
||||
from recopytex.dashboard.app import app as dash
|
||||
|
||||
from recopytex.dashboard.index import app as dash
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
|
@ -14,3 +13,6 @@ def cli():
|
|||
@click.option("--debug", default=0, help="Debug mode for dash")
|
||||
def dashboard(debug):
|
||||
dash.run_server(debug=bool(debug))
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
||||
|
|
Loading…
Reference in New Issue