mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
update for bootstrap, grid-bundle 4.2
This commit is contained in:
@@ -6,15 +6,15 @@ dtc_grid:
|
||||
crossorigin: anonymous
|
||||
datatables:
|
||||
css:
|
||||
- 'https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap.min.css'
|
||||
- 'https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.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'
|
||||
- 'https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js'
|
||||
- 'https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js'
|
||||
theme:
|
||||
css:
|
||||
- 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'
|
||||
- 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css'
|
||||
- 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css'
|
||||
js:
|
||||
- 'https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js'
|
||||
- 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js'
|
||||
- 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js'
|
||||
page_div_style: 'margin: 10px'
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
dtc_grid:
|
||||
resource: '@DtcGridBundle/Resources/config/routing.yml'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Dtc\\GridBundle\\DtcGridBundle": ["all"]
|
||||
},
|
||||
"copy-from-package": {
|
||||
"Resources/config/dtc_grid.yaml": "%CONFIG_DIR%/packages/dtc_grid.yaml"
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> What's next? </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
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']
|
||||
Reference in New Issue
Block a user