X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fviewutils.py;h=669c4ca487984e1ea73263be042ef61e5c3a9dfa;hb=72e1b6fd2be568712a4be6eb5805e0f686030ea3;hp=98f16fd72b60935dc62f131571f1f05e9acd6d69;hpb=9b89a32f1ae0a1e0618a9cc11138a766a4ba870b;p=unfold.git diff --git a/myslice/viewutils.py b/myslice/viewutils.py index 98f16fd7..669c4ca4 100644 --- a/myslice/viewutils.py +++ b/myslice/viewutils.py @@ -5,9 +5,9 @@ from copy import deepcopy standard_topmenu_items = [ { 'label':'Tab', 'href': '/tab/'}, { 'label':'Scroll', 'href': '/scroll/'}, - { 'label':'Slice', 'href': '/slice/'}, { 'label':'Plugin', 'href': '/plugin/'}, { 'label':'Dashboard', 'href': '/dashboard/'}, + { 'label':'Slice', 'href': '/slice/'}, ] #login_out_items = { False: { 'label':'Login', 'href':'/login/'}, @@ -59,6 +59,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']}, + ]