X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fsliceview.py;h=15a5e51a502e28c11ad64d41df51f74ce56c5410;hb=fea9b7e286cc86f11844e371d67d184198afc287;hp=efceec4abfc45da282a9c8dd4fd416c0123d6b08;hpb=d3ce63ee980b2b782a02f14d40c35fe095806018;p=unfold.git diff --git a/portal/sliceview.py b/portal/sliceview.py index efceec4a..15a5e51a 100644 --- a/portal/sliceview.py +++ b/portal/sliceview.py @@ -26,7 +26,8 @@ from myslice.config import Config tmp_default_slice='ple.upmc.myslicedemo' # temporary : turn off the users part to speed things up -do_query_users=True +#do_query_users=True +do_query_users=False class SliceView (LoginRequiredAutoLogoutView): @@ -190,33 +191,33 @@ class SliceView (LoginRequiredAutoLogoutView): # -------------------------------------------------------------------------- # USERS - if do_query_users: - tab_users = Tabs( - page = page, - domid = 'users', - outline_complete = True, - togglable = True, - title = 'Users', - active_domid = 'users-list', - ) - main_stack.insert(tab_users) - - tab_users.insert(Hazelnut( - page = page, - title = 'Users List', - domid = 'users-list', - # tab's sons preferably turn this off - togglable = False, - # this is the query at the core of the slice list - query = sq_user, - query_all = query_user_all, - checkboxes = True, - datatables_options = { - 'iDisplayLength' : 25, - 'bLengthChange' : True, - 'bAutoWidth' : True, - }, - )) +# if do_query_users: +# tab_users = Tabs( +# page = page, +# domid = 'users', +# outline_complete = True, +# togglable = True, +# title = 'Users', +# active_domid = 'users-list', +# ) +# main_stack.insert(tab_users) +# +# tab_users.insert(Hazelnut( +# page = page, +# title = 'Users List', +# domid = 'users-list', +# # tab's sons preferably turn this off +# togglable = False, +# # this is the query at the core of the slice list +# query = sq_user, +# query_all = query_user_all, +# checkboxes = True, +# datatables_options = { +# 'iDisplayLength' : 25, +# 'bLengthChange' : True, +# 'bAutoWidth' : True, +# }, +# )) # DEMO # -------------------------------------------------------------------------- # MEASUREMENTS