-
-# main_stack.insert(
-# Raw (page=page,togglable=False, toggled=True,html='<b>Description:</b> TODO')
-# )
-
- # the resources part is made of a Stack,
- # with first a Tabs (List, Geographic),
- # and second the QueryEditor to tweak the set of attributes to show
- resources_as_list = Hazelnut(
- page = page,
- title = 'Resources as a List',
- domid = 'checkboxes',
- # this is the query at the core of the slice list
- query = sq_resource,
- query_all = query_resource_all,
- checkboxes = True,
- datatables_options = {
- # for now we turn off sorting on the checkboxes columns this way
- # this of course should be automatic in hazelnut
- 'aoColumns' : [None, None, None, None, {'bSortable': False}],
- 'iDisplayLength' : 25,
- 'bLengthChange' : True,
- },
+
+ # --------------------------------------------------------------------------
+ # Filter Resources
+
+ filter_query_editor = QueryEditor(
+ page = page,
+ query = sq_resource,
+ query_all = query_resource_all,
+ title = "Select Columns",
+ domid = 'select-columns',