From 2802310b87c4c89e439aa2dbba926319ff4f80ec Mon Sep 17 00:00:00 2001 From: Niels Keurentjes Date: Sun, 3 Dec 2017 15:04:39 +0100 Subject: [PATCH] Add datatables bundle --- .../0.1/config/packages/datatables.yaml | 14 ++++++++++++++ omines/datatables-bundle/0.1/manifest.json | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 omines/datatables-bundle/0.1/config/packages/datatables.yaml create mode 100644 omines/datatables-bundle/0.1/manifest.json diff --git a/omines/datatables-bundle/0.1/config/packages/datatables.yaml b/omines/datatables-bundle/0.1/config/packages/datatables.yaml new file mode 100644 index 00000000..7344a01a --- /dev/null +++ b/omines/datatables-bundle/0.1/config/packages/datatables.yaml @@ -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-bordered table-hover data-table' + + # You can for example override this to "tables" to keep the translation domains separated nicely + translation_domain: 'messages' diff --git a/omines/datatables-bundle/0.1/manifest.json b/omines/datatables-bundle/0.1/manifest.json new file mode 100644 index 00000000..4197df3e --- /dev/null +++ b/omines/datatables-bundle/0.1/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Omines\\DataTablesBundle\\DataTablesBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}