From bf3a452b002b14853a84a1739eefd8a53cb94e0e Mon Sep 17 00:00:00 2001 From: "Matthew J. Mucklo" Date: Sun, 10 Dec 2017 08:51:11 -0800 Subject: [PATCH] Adding mmucklo/grid-bundle --- .../4.0/config/packages/dtc_grid.yaml | 19 +++++++++++++++++++ mmucklo/grid-bundle/4.0/manifest.json | 8 ++++++++ mmucklo/grid-bundle/4.0/post-install.txt | 17 +++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 mmucklo/grid-bundle/4.0/config/packages/dtc_grid.yaml create mode 100644 mmucklo/grid-bundle/4.0/manifest.json create mode 100644 mmucklo/grid-bundle/4.0/post-install.txt diff --git a/mmucklo/grid-bundle/4.0/config/packages/dtc_grid.yaml b/mmucklo/grid-bundle/4.0/config/packages/dtc_grid.yaml new file mode 100644 index 00000000..6d990f2a --- /dev/null +++ b/mmucklo/grid-bundle/4.0/config/packages/dtc_grid.yaml @@ -0,0 +1,19 @@ +dtc_grid: + purl: 'https://cdnjs.cloudflare.com/ajax/libs/purl/2.3.1/purl.min.js' + jquery: + url: 'https://code.jquery.com/jquery-3.2.1.min.js' + integrity: sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4= + crossorigin: anonymous + datatables: + css: + - 'https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css' + js: + - 'https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js' + - 'https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js' + theme: + css: + - 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' + - 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' + js: + - 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js' + page_div_style: 'margin: 10px' diff --git a/mmucklo/grid-bundle/4.0/manifest.json b/mmucklo/grid-bundle/4.0/manifest.json new file mode 100644 index 00000000..a6ac0186 --- /dev/null +++ b/mmucklo/grid-bundle/4.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Dtc\\GridBundle\\DtcGridBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/mmucklo/grid-bundle/4.0/post-install.txt b/mmucklo/grid-bundle/4.0/post-install.txt new file mode 100644 index 00000000..d1a8b280 --- /dev/null +++ b/mmucklo/grid-bundle/4.0/post-install.txt @@ -0,0 +1,17 @@ + + What's next? + + + * Warning: make sure the twig engine is turned on in framework.yaml + + - If not, add the following to config/packages/framework.yaml: + +framework: + # ... + templating: + engines: ['twig'] + + * Then add the following to config/routes.yaml: + +dtc_grid: + resource: '@DtcGridBundle/Resources/config/routing.yml'