- # 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,
- },
- ))
+ 'iDisplayLength': 25,
+ 'bLengthChange' : True,
+ 'bAutoWidth' : True,
+ },
+ )
+
+ # List area itself is a Stack with hazelnut on top,
+ # and a togglable tabs for customization plugins
+ resources_as_list_area = Stack(
+ page = page,
+ title = 'Resources as a List',
+ domid = 'resources-list-area',
+ sons= [ resources_as_list,
+ Tabs ( page=page,
+ title="Customize Resources layout",
+ togglable=True,
+ toggled='persistent',
+ domid="customize-resources",
+ outline_complete=True,
+ #sons = [ resources_query_editor, resources_active_filters, ],
+ ),
+ ],
+ )
+ resources_area = Tabs ( page=page,
+ domid="resources",
+ togglable=True,
+ title="Resources",
+ outline_complete=True,
+ sons=[ resources_as_map, resources_as_list_area, ],
+ active_domid = 'resources-map',
+ )
+ main_stack.insert (resources_area)
+
+
+ # --------------------------------------------------------------------------
+ # USERS