mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 01:29:33 +00:00
Change datatables markup to be responsive with BS5
This commit is contained in:
parent
7145bce605
commit
7b5e195539
1 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue