mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
Improve dataTables integration within the app:
- Manage lib through NPM - Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet) - Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
This commit is contained in:
@@ -27,12 +27,11 @@ class DataTable extends UIContentBlock
|
||||
public const DEFAULT_JS_ON_READY_TEMPLATE_REL_PATH = 'base/components/datatable/layout';
|
||||
public const DEFAULT_JS_LIVE_TEMPLATE_REL_PATH = 'base/components/datatable/layout';
|
||||
public const DEFAULT_JS_FILES_REL_PATH = [
|
||||
'lib/datatables/js/jquery.dataTables.min.js',
|
||||
'lib/datatables/js/dataTables.bootstrap.min.js',
|
||||
'lib/datatables/js/dataTables.fixedHeader.min.js',
|
||||
'lib/datatables/js/dataTables.responsive.min.js',
|
||||
'lib/datatables/js/dataTables.scroller.min.js',
|
||||
'lib/datatables/js/dataTables.select.min.js',
|
||||
'node_modules/datatables.net/js/jquery.dataTables.js',
|
||||
'node_modules/datatables.net-fixedheader/js/dataTables.fixedHeader.js',
|
||||
'node_modules/datatables.net-responsive/js/dataTables.responsive.js',
|
||||
'node_modules/datatables.net-scroller/js/dataTables.scroller.js',
|
||||
'node_modules/datatables.net-select/js/dataTables.select.js',
|
||||
'js/dataTables.main.js',
|
||||
'js/dataTables.settings.js',
|
||||
'js/dataTables.pipeline.js',
|
||||
|
||||
Reference in New Issue
Block a user