Ignore:
Timestamp:
28 Feb 2012, 10:14:55 (13 years ago)
Author:
uli
Message:

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/ulif-groktoolkit-1.4/src/waeup/sirp/browser/resources.py

    r7592 r7713  
    197197#: use of datatables you might want to add some specialized CSS like
    198198#: `datatable_css` below.
    199 datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js',
    200                                minified='jquery.dataTables.min.js',
    201                                depends=[jquery])
     199from js.jquery_datatables import jquery_datatables as datatables
     200from fanstatic import Library, Resource
     201waeup_kofa = Library('waeup_kofa', 'static')
     202#datatables = ResourceInclusion(waeup_sirp, 'jquery.dataTables.js',
     203#                               minified='jquery.dataTables.min.js',
     204#                               depends=[jquery])
    202205
    203206#: A stylesheet for datatables
    204 datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css')
     207#datatables_css = ResourceInclusion(waeup_sirp, 'datatables.css')
     208datatables_css = Resource(waeup_kofa, 'datatables.css')
    205209
    206210#: A resource that turns HTML tables into sortable, searchable and :
     
    251255#: for details.
    252256#:
    253 datatable = ResourceInclusion(waeup_sirp, 'datatable.js',
    254                               depends=[datatables, datatables_css])
     257#datatable = ResourceInclusion(waeup_sirp, 'datatable.js',
     258#                              depends=[datatables, datatables_css])
     259datatable = Resource(waeup_kofa, 'datatable.js',
     260                     depends=[datatables, datatables_css])
    255261
    256262#: Register Twitter's Bootsrap css including dropdown js as a resource.
Note: See TracChangeset for help on using the changeset viewer.