Skip to content

Commit

Permalink
Migration of DataTables
Browse files Browse the repository at this point in the history
TODO: restore print buttons
  • Loading branch information
coudot committed Jul 10, 2024
1 parent 11c0f17 commit 3b5a123
Show file tree
Hide file tree
Showing 15 changed files with 227 additions and 21,259 deletions.
13 changes: 11 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@
"require": {
"ltb-project/ldap": "v0.1.0",
"twbs/bootstrap": "v5.3.2",
"components/jquery": "v3.7.1"
"components/jquery": "v3.7.1",
"datatables.net/datatables.net-bs5": "2.0.8",
"datatables.net/datatables.net-buttons-bs5": "3.0.2"
},
"scripts": {
"post-update-cmd": [
"rm -rf htdocs/vendor/bootstrap",
"cp -R vendor/twbs/bootstrap/dist htdocs/vendor/bootstrap",
"rm -f htdocs/vendor/jquery/js/*",
"cp vendor/components/jquery/jquery.min.* htdocs/vendor/jquery/js/"
"cp vendor/components/jquery/jquery.min.* htdocs/vendor/jquery/js/",
"rm -f htdocs/vendor/datatables/*.js htdocs/vendor/datatables/*.css",
"cp vendor/datatables.net/datatables.net/js/dataTables.min.js htdocs/vendor/datatables/",
"cp vendor/datatables.net/datatables.net-bs5/css/dataTables.bootstrap5.min.css htdocs/vendor/datatables/",
"cp vendor/datatables.net/datatables.net-bs5/js/dataTables.bootstrap5.min.js htdocs/vendor/datatables/",
"cp vendor/datatables.net/datatables.net-buttons/js/dataTables.buttons.min.js htdocs/vendor/datatables/",
"cp vendor/datatables.net/datatables.net-buttons-bs5/css/buttons.bootstrap5.min.css htdocs/vendor/datatables/",
"cp vendor/datatables.net/datatables.net-buttons-bs5/js/buttons.bootstrap5.min.js htdocs/vendor/datatables/"
]
}
}
186 changes: 185 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions htdocs/vendor/datatables/buttons.bootstrap5.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions htdocs/vendor/datatables/buttons.bootstrap5.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3b5a123

Please sign in to comment.