From 33cf4e87a87fda27c3c37f60e8b6b4369d554b86 Mon Sep 17 00:00:00 2001 From: Aziz BenMallouk Date: Tue, 10 Jan 2023 15:42:09 +0000 Subject: [PATCH] add recpies for aziz403/ux-datatable (#1470) --- .../1.0/config/packages/datatable.yaml | 14 ++++++++++++++ aziz403/ux-datatable/1.0/manifest.json | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 aziz403/ux-datatable/1.0/config/packages/datatable.yaml create mode 100644 aziz403/ux-datatable/1.0/manifest.json diff --git a/aziz403/ux-datatable/1.0/config/packages/datatable.yaml b/aziz403/ux-datatable/1.0/config/packages/datatable.yaml new file mode 100644 index 00000000..3ad91931 --- /dev/null +++ b/aziz403/ux-datatable/1.0/config/packages/datatable.yaml @@ -0,0 +1,14 @@ +datatable: + # Load i18n data from DataTables CDN or locally + language_from_cdn: false + # Language of the Datatables (if language_from_cdn true) + language: 'English' + # Default options to load into DataTables + # options: + # stateSave: true + # Default parameters to be passed to the template + template_parameters: + # Default Datatables style (one from none,bootstrap3,bootstrap4,bootstrap5,foundation,bulma,jqueryui) + style: 'bootstrap5' + # Default class attribute to apply to the root table elements (change it to be compatible with the style) + className: 'table table-bordered' diff --git a/aziz403/ux-datatable/1.0/manifest.json b/aziz403/ux-datatable/1.0/manifest.json new file mode 100644 index 00000000..be996fad --- /dev/null +++ b/aziz403/ux-datatable/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Aziz403\\UX\\Datatable\\DatatableBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}