linuxep / lepv

web backend and frontend for LEP
20 stars 31 forks source link

upgrade the datatable with the mobile-friendly version #29

Open linuxep opened 7 years ago

linuxep commented 7 years ago

as stated here: https://blackrockdigital.github.io/startbootstrap-sb-admin-2/pages/tables.html

DataTables is a very flexible, advanced tables plugin for jQuery. In SB Admin, we are using a specialized version of DataTables built for Bootstrap 3. We have also customized the table headings to use Font Awesome icons in place of images. For complete documentation on DataTables, visit their website at https://datatables.net/.

https://blackrockdigital.github.io/startbootstrap-sb-admin-2/pages/tables.html

we need to use this Bootstrap3 version of DataTable because current on does not work well on mobile devices.

chowyu08 commented 7 years ago

in progressing

chowyu08 commented 7 years ago

@macxu our current version is already Bootstrap3 ,but the newest is bootstrap4, in https://datatables.net/ our version detail is in \lepv\LepViewer\static\bower_components\datatables\media\js\dataTables.bootstrap.js I create a new branch named datatablecss, and add imports in it ,like follow, refer to the examples,still now work. And bootstrap4 is also. I am trying for other ways. dataTables.bootstrap.css dataTables.bootstrap.min.js dataTables.responsive.js

chowyu08 commented 7 years ago

https://github.com/ssy341/datatables-cn/issues/68#issuecomment-273410656