- Timestamp:
- 28 Feb 2012, 10:14:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/ulif-groktoolkit-1.4/src/waeup/sirp/browser/resources.py
r7592 r7713 197 197 #: use of datatables you might want to add some specialized CSS like 198 198 #: `datatable_css` below. 199 datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js', 200 minified='jquery.dataTables.min.js', 201 depends=[jquery]) 199 from js.jquery_datatables import jquery_datatables as datatables 200 from fanstatic import Library, Resource 201 waeup_kofa = Library('waeup_kofa', 'static') 202 #datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js', 203 # minified='jquery.dataTables.min.js', 204 # depends=[jquery]) 202 205 203 206 #: A stylesheet for datatables 204 datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css') 207 #datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css') 208 datatables_css = Resource(waeup_kofa, 'datatables.css') 205 209 206 210 #: A resource that turns HTML tables into sortable, searchable and : … … 251 255 #: for details. 252 256 #: 253 datatable = ResourceInclusion(waeup_sirp, 'datatable.js', 254 depends=[datatables, datatables_css]) 257 #datatable = ResourceInclusion(waeup_sirp, 'datatable.js', 258 # depends=[datatables, datatables_css]) 259 datatable = Resource(waeup_kofa, 'datatable.js', 260 depends=[datatables, datatables_css]) 255 261 256 262 #: Register Twitter's Bootsrap css including dropdown js as a resource.
Note: See TracChangeset for help on using the changeset viewer.