Responsive tweaks (#755)

* Change datatables markup to be responsive with BS5

* Responsive tweaks to single part info
This commit is contained in:
Sam Edwards 2024-11-03 14:14:52 -08:00 committed by GitHub
parent 5e76451d46
commit 65b2f045ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 259 additions and 223 deletions

View file

@ -10,13 +10,12 @@ datatables:
options:
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
#dom: "<'row' <'col-sm-12' tr>><'row' <'col-sm-6'l><'col-sm-6 text-right'pif>>"
dom: " <'row'<'col mb-2 input-group' B l> <'col mb-2' <'pull-end' p>>>
<'card'
rt
<'card-footer card-footer-table text-muted' i >
>
<'row'<'col mt-2 input-group' B l> <'col mt-2' <'pull-right' p>>>"
dom: " <'row' <'col mb-2 input-group flex-nowrap' B l > <'col-auto mb-2' < p >>>
<'card'
rt
<'card-footer card-footer-table text-muted' i >
>
<'row' <'col mt-2 input-group flex-nowrap' B l > <'col-auto mt-2' < p >>>"
pagingType: 'simple_numbers'
searching: true
stateSave: true