mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 20:35:03 +02:00
Added a basic show category parts page with datatable
This commit is contained in:
parent
8c8bbbbd86
commit
ba33399b20
20 changed files with 11091 additions and 19 deletions
14
config/packages/datatables.yaml
Normal file
14
config/packages/datatables.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Latest documentation available at https://omines.github.io/datatables-bundle/#configuration
|
||||
datatables:
|
||||
# Set options, as documented at https://datatables.net/reference/option/
|
||||
options:
|
||||
lengthMenu : [10, 25, 50, 100, 250, 500, 1000, 2500]
|
||||
pageLength: 50
|
||||
dom: "<'row' <'col-sm-12' tr>><'row' <'col-sm-6'l><'col-sm-6 text-right'pi>>"
|
||||
|
||||
template_parameters:
|
||||
# Example classes to integrate nicely with Bootstrap 3.x
|
||||
className: 'table table-striped table-hover table-sm data-table'
|
||||
|
||||
# You can for example override this to "tables" to keep the translation domains separated nicely
|
||||
translation_domain: 'messages'
|
Loading…
Add table
Add a link
Reference in a new issue