Skip to content
Snippets Groups Projects
Commit 000e6151 authored by jkerdreu's avatar jkerdreu
Browse files

Fix menu highlight


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@2894 b32b6428-25c9-4566-ad07-03861ab6144f
parent a38bc632
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ def info():
@route('/devices')
@view('devices')
def get_devices():
r = {"title" : "devices list"}
r = {"title" : "devices list","active_menu":"devices"}
devs = xaal_core.monitor.devices
r.update({"devs" : devs})
return r
......@@ -89,7 +89,7 @@ def save_metadata(addr):
@view('grid')
def test_grid():
from xaal.lib import tools
return {"title" : "Grid","devices":xaal_core.monitor.devices,"tools":tools}
return {"title" : "Grid","devices":xaal_core.monitor.devices,"tools":tools,"active_menu":"grid"}
@route('/latency')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment