mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
updating dashboard
This commit is contained in:
18
dashboard_components/boards.py
Normal file
18
dashboard_components/boards.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from bokeh.layouts import column
|
||||
from bokeh.models.widgets import Panel, Tabs
|
||||
from dashboard_components.experiment_board import experiment_board_layout
|
||||
from dashboard_components.globals import spinner, layouts
|
||||
from bokeh.models.widgets import Div
|
||||
|
||||
# ---------------- Build Website Layout -------------------
|
||||
|
||||
# title
|
||||
title = Div(text="""<h1>Coach Dashboard</h1>""")
|
||||
|
||||
tab1 = Panel(child=experiment_board_layout, title='experiment board')
|
||||
tabs = Tabs(tabs=[tab1])
|
||||
|
||||
layout = column(title, tabs)
|
||||
layout = column(layout, spinner)
|
||||
|
||||
layouts['boards'] = layout
|
||||
Reference in New Issue
Block a user