- # Different displays = DataTables + GoogleMaps
- #
- tab_resource_plugins = Tabs(
- page = page,
- sons = []
- )
-
- tab_resource_plugins.insert(Hazelnut(
- page = page,
- title = '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,
- },
- ))
-
- tab_resource_plugins.insert(GoogleMaps(
+ # RESOURCES
+ # the resources part is made of a Tabs (Geographic, List),
+
+ resources_as_map = GoogleMap(