I am creating a web interface to start and stop some automated testing. The testing uses test stations where a test station can be free or actively testing. I would like to have a tab on my web interface which shows the free test stations. The free tab allows the user to commission a new test. Then the active tab shows the tests that are active and allows the user to graph the test results and stop the active test.
I have tried to use the tabs interface with code below but it does not seem to work. Is there another way to do this?
from bokeh.models.widgets import Panel, Tabs,Toggle
from bokeh.io import output_file, output_server, show
from bokeh.plotting import figure
output_server(“test”)
startButton = Toggle(label=“Start Test1”, button_type=“success”)
tab1 = Panel(child=startButton, title=“circle”)
startButton2 = Toggle(label=“Start Test2”, button_type=“success”)
tab2 = Panel(child=startButton2, title=“line”)
tabs = Tabs(tabs=[ tab1, tab2 ])
show(tabs)

