from copy import deepcopy
-standard_topmenu_items = [ { 'label':'Plugin', 'href': '/plugin/'},
- { 'label':'Slice', 'href': '/slice/'},
- { 'label':'Scroll', 'href': '/scroll/'},
- { 'label':'Tab', 'href': '/tab/'},
- ]
+standard_topmenu_items = [
+ { 'label':'Tab', 'href': '/tab/'},
+ { 'label':'Scroll', 'href': '/scroll/'},
+ { 'label':'Slice', 'href': '/slice/'},
+ { 'label':'Plugin', 'href': '/plugin/'},
+ { 'label':'Dashboard', 'href': '/dashboard/'},
+ ]
#login_out_items = { False: { 'label':'Login', 'href':'/login/'},
# True: { 'label':'Logout', 'href':'/logout/'}}
def the_user (request):
"This code below is broken"
if not request.user.is_authenticated ():
- print 'void'
+# print 'void user!'
return ''
else:
return request.user.email
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']}]