X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fviewutils.py;h=99d74d29da2c52abf64862df3dffba35f7eef176;hb=9c80e89622704e2b9fbe4c59c766fea5a92848a3;hp=cd104e056e2e1e47581caa3df8bd3c65fc2ff1ff;hpb=b490e035bac3b74b66130548f5a4bf4a30ad8375;p=unfold.git diff --git a/myslice/viewutils.py b/myslice/viewutils.py index cd104e05..99d74d29 100644 --- a/myslice/viewutils.py +++ b/myslice/viewutils.py @@ -2,12 +2,14 @@ from copy import deepcopy -standard_topmenu_items = [ { 'label':'Plugin', 'href': '/plugin/'}, - { 'label':'Slice', 'href': '/slice/'}, - { 'label':'Scroll', 'href': '/scroll/'}, - { 'label':'Tab', 'href': '/tab/'}, - { 'label':'Dashboard', 'href': '/dashboard/'}, - ] +standard_topmenu_items = [ + { 'label':'Tab', 'href': '/tab/'}, + { 'label':'Scroll', 'href': '/scroll/'}, + { 'label':'Slice', 'href': '/slice/'}, + { 'label':'Plugin', 'href': '/plugin/'}, + { 'label':'Dashboard', 'href': '/dashboard/'}, + { 'label':'Hazelnut', 'href': '/hazelnut/'}, + ] #login_out_items = { False: { 'label':'Login', 'href':'/login/'}, # True: { 'label':'Logout', 'href':'/logout/'}} @@ -58,6 +60,8 @@ hard_wired_list.append("just like a standard plugin can be set as visible or not hard_wired_list.append("") hard_wired_list.append("OTOH and IMHO, there should be two separate and explicit subclasses of SimpleList for slices or testbeds") -quickfilter_criterias = [{'key': 'Slice', 'values': ['slice1','slice2']}, \ - {'key': 'Type', 'values': ['type1','type2']}, \ - {'key': 'Network', 'values': ['net1','net2']}] +quickfilter_criterias = [ + {'key': 'Slice', 'values': ['slice1','slice2']}, + {'key': 'Type', 'values': ['type1','type2']}, + {'key': 'Network', 'values': ['net1','net2']}, + ]