Change datatables markup to be responsive with BS5

This commit is contained in:
Sam Edwards 2024-11-01 15:28:46 -07:00
parent 7145bce605
commit 7b5e195539
No known key found for this signature in database
GPG key ID: 7E45576E3D00CD64

View file

@ -10,13 +10,12 @@ datatables:
options: options:
lengthMenu : [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]] lengthMenu : [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]]
pageLength: '%partdb.table.default_page_size%' # Set to -1 to disable pagination (i.e. show all rows) by default pageLength: '%partdb.table.default_page_size%' # Set to -1 to disable pagination (i.e. show all rows) by default
#dom: "<'row' <'col-sm-12' tr>><'row' <'col-sm-6'l><'col-sm-6 text-right'pif>>" dom: " <'row' <'col mb-2 input-group flex-nowrap' B l > <'col-auto mb-2' < p >>>
dom: " <'row'<'col mb-2 input-group' B l> <'col mb-2' <'pull-end' p>>> <'card'
<'card' rt
rt <'card-footer card-footer-table text-muted' i >
<'card-footer card-footer-table text-muted' i > >
> <'row' <'col mt-2 input-group flex-nowrap' B l > <'col-auto mt-2' < p >>>"
<'row'<'col mt-2 input-group' B l> <'col mt-2' <'pull-right' p>>>"
pagingType: 'simple_numbers' pagingType: 'simple_numbers'
searching: true searching: true
stateSave: true stateSave: true