@@ -82,6 +82,12 @@ module.exports = function (grunt) {
8282 src : [ '**' ] ,
8383 dest : 'dist/docs' ,
8484 expand : true
85+ } ,
86+ tableImgs : {
87+ cwd : 'lib/datatables/media/images' ,
88+ src : 'sort_*' ,
89+ dest : 'docs/images' ,
90+ expand : true
8591 }
8692 } ,
8793 cssmin : {
@@ -125,11 +131,16 @@ module.exports = function (grunt) {
125131 dest : 'docs' ,
126132 image : 'misc/logo-alt.svg' ,
127133 scripts : [
134+ 'node_modules/jquery/dist/jquery.js' ,
135+ 'node_modules/datatables.net/js/jquery.dataTables.js' ,
136+ 'node_modules/datatables.net-select/js/dataTables.select.js' ,
128137 'node_modules/moment/moment.js' ,
129138 'node_modules/c3/c3.js' ,
130139 'node_modules/d3/d3.js' ,
131140 'node_modules/patternfly/dist/js/patternfly-settings.js' ,
132141 'node_modules/angular/angular.js' ,
142+ 'node_modules/angular-datatables/dist/angular-datatables.min.js' ,
143+ 'node_modules/angular-datatables/dist/plugins/select/angular-datatables.select.min.js' ,
133144 'node_modules/angular-sanitize/angular-sanitize.js' ,
134145 'node_modules/angular-animate/angular-animate.js' ,
135146 'node_modules/angular-ui-bootstrap/dist/ui-bootstrap-tpls.js' ,
@@ -139,8 +150,12 @@ module.exports = function (grunt) {
139150 'node_modules/angular-ui-router/release/angular-ui-router.min.js' ] ,
140151 html5Mode : false ,
141152 template : 'grunt-ngdocs-index.tmpl' ,
142- styles : [ 'node_modules/patternfly/dist/css/patternfly.css' , 'node_modules/patternfly/dist/css/patternfly-additions.css' ,
143- 'dist/styles/angular-patternfly.css' , 'misc/ng-docs.css' , 'misc/examples.css' ]
153+ styles : [ 'node_modules/datatables.net-dt/css/jquery.dataTables.css' ,
154+ 'node_modules/patternfly/dist/css/patternfly.css' ,
155+ 'node_modules/patternfly/dist/css/patternfly-additions.css' ,
156+ 'dist/styles/angular-patternfly.css' ,
157+ 'misc/ng-docs.css' ,
158+ 'misc/examples.css' ]
144159 } ,
145160
146161 all : [ 'src/**/*.js' ]
@@ -203,6 +218,11 @@ module.exports = function (grunt) {
203218 src : [ 'sort/**/*.html' ] ,
204219 dest : 'templates/sort.js'
205220 } ,
221+ 'patternfly.table' : {
222+ cwd : 'src/' ,
223+ src : [ 'table/**/*.html' ] ,
224+ dest : 'templates/table.js'
225+ } ,
206226 'patternfly.toolbars' : {
207227 cwd : 'src/' ,
208228 src : [ 'toolbars/**/*.html' ] ,
@@ -263,7 +283,7 @@ module.exports = function (grunt) {
263283 }
264284 } ) ;
265285
266- grunt . registerTask ( 'copymain' , [ 'copy:docdata' , 'copy:fa' , 'copy:styles' , 'copy:img' ] ) ;
286+ grunt . registerTask ( 'copymain' , [ 'copy:docdata' , 'copy:fa' , 'copy:styles' , 'copy:img' , 'copy:tableImgs' ] ) ;
267287
268288 // You can specify which modules to build as arguments of the build task.
269289 grunt . registerTask ( 'build' , 'Create bootstrap build files' , function ( ) {
0 commit comments