+# pending_resources = QueryUpdaterPlugin(
+# page = page,
+# title = 'Pending operations',
+# query = main_query,
+# togglable = False,
+# # start turned off, it will open up itself when stuff comes in
+# toggled = False,
+# domid = 'pending',
+# outline_complete = True,
+# username = request.user,
+# )
+
+ # --------------------------------------------------------------------------
+ # NETWORKS
+ # testbeds as a list of filters
+
+ network_md = metadata.details_by_object('network')
+ network_fields = [column['name'] for column in network_md['column']]
+
+ #query_networks = Query.get('network').select(network_fields)
+ #page.enqueue_query(query_networks)
+
+ filter_testbeds = TestbedsPlugin(
+ page = page,
+ domid = 'testbeds-filter',
+ title = 'Filter by testbeds',
+ query = sq_resource,
+ #query_networks = query_networks,
+ #init_key = "network_hrn",
+ #checkboxes = True,
+ #datatables_options = {
+ # 'iDisplayLength': 25,
+ # 'bLengthChange' : True,
+ # 'bAutoWidth' : True,
+ # },
+ )
+
+ filter_status = FilterStatusPlugin(
+ page = page,
+ domid = "filter-status",
+ query = sq_resource,
+ )
+ apply = ApplyPlugin(
+ page = page,
+ domid = "apply",
+ query = main_query,
+ username = request.user,
+ )
+
+
+ # --------------------------------------------------------------------------
+ # SLA View and accept dialog
+
+ sla_dialog = SlaDialog(