X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fsliceview.py;h=fe95764c8b4f26f95e2df686b91ce94c5b4ee33e;hb=ef5da8534606296585051a4af7c6c4cb18d63695;hp=0e514dd9e226122ecab71f6b6ed7922f5b6e79b1;hpb=a387c58445b7cde5ecf05a022c5a875645eeb463;p=myslice.git diff --git a/portal/sliceview.py b/portal/sliceview.py index 0e514dd9..fe95764c 100644 --- a/portal/sliceview.py +++ b/portal/sliceview.py @@ -51,7 +51,8 @@ class SliceView (LoginRequiredAutoLogoutView): main_query = Query.get('slice').filter_by('slice_hrn', '=', slicename) main_query.select( 'slice_hrn', - 'resource.resource_hrn', 'resource.hostname', 'resource.type', 'resource.network_hrn', + 'resource.resource_hrn', 'resource.hostname', 'resource.type', + #'resource.network_hrn', #'lease.urn', 'user.user_hrn', #'application.measurement_point.counter' @@ -105,6 +106,8 @@ class SliceView (LoginRequiredAutoLogoutView): title = 'Pending operations', query = main_query, togglable = True, + # start turned off, it will open up itself when stuff comes in + toggled = False, domid = 'pending', outline_complete = True, )) @@ -232,6 +235,8 @@ class SliceView (LoginRequiredAutoLogoutView): togglable = False, # this is the query at the core of the slice list query = sq_measurement, + # do NOT set checkboxes to False + # this table being otherwise empty, it just does not fly with dataTables checkboxes = True, datatables_options = { 'iDisplayLength' : 25,