Commit d1f285f29c45cb3b54d9be027f72f1bb7678eb72
1 parent
229bd8bb
Exists in
master
and in
1 other branch
Corrige configurações para funcioar
Showing
1 changed file
with
30 additions
and
9 deletions
Show diff stats
app/config/config.yml
| ... | ... | @@ -28,18 +28,12 @@ twig: |
| 28 | 28 | - "BraincraftedBootstrapBundle:Form:form_div_layout.html.twig" |
| 29 | 29 | |
| 30 | 30 | braincrafted_bootstrap: |
| 31 | - assets_dir: %kernel.root_dir%/../vendor/twbs/bootstrap | |
| 32 | - jquery_path: %kernel.root_dir%/../vendor/jquery/jquery/jquery-1.10.2.js | |
| 33 | - less_filter: less # "less", "lessphp" or "none" | |
| 34 | 31 | auto_configure: |
| 35 | - assetic: true | |
| 32 | + assetic: false | |
| 36 | 33 | twig: true |
| 37 | 34 | knp_menu: true |
| 38 | 35 | knp_paginator: true |
| 39 | - customize: | |
| 40 | - variables_file: ~ | |
| 41 | - bootstrap_output: %kernel.root_dir%/Resources/less/bootstrap.less | |
| 42 | - bootstrap_template: BraincraftedBootstrapBundle:Bootstrap:bootstrap.less.twig | |
| 36 | + | |
| 43 | 37 | |
| 44 | 38 | # Assetic Configuration |
| 45 | 39 | assetic: |
| ... | ... | @@ -67,12 +61,39 @@ assetic: |
| 67 | 61 | apply_to: "\.less$" |
| 68 | 62 | cssrewrite: ~ |
| 69 | 63 | assets: |
| 64 | + bootstrap_css: | |
| 65 | + inputs: | |
| 66 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/less/bootstrap.less | |
| 67 | + - %kernel.root_dir%/../vendor/braincrafted/bootstrap-bundle/Braincrafted/Bundle/BootstrapBundle/Resources/less/form.less | |
| 68 | + filters: | |
| 69 | + - less | |
| 70 | + - cssrewrite | |
| 71 | + output: css/bootstrap.css | |
| 72 | + bootstrap_js: | |
| 73 | + inputs: | |
| 74 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/transition.js | |
| 75 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/alert.js | |
| 76 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/button.js | |
| 77 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/carousel.js | |
| 78 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/collapse.js | |
| 79 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/dropdown.js | |
| 80 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/modal.js | |
| 81 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/tooltip.js | |
| 82 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/popover.js | |
| 83 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/scrollspy.js | |
| 84 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/tab.js | |
| 85 | + - %kernel.root_dir%/../vendor/twbs/bootstrap/js/affix.js | |
| 86 | + - %kernel.root_dir%/../vendor/braincrafted/bootstrap-bundle/Braincrafted/Bundle/BootstrapBundle/Resources/js/bc-bootstrap-collection.js | |
| 87 | + output: js/bootstrap.js | |
| 70 | 88 | jquery_js: |
| 71 | 89 | inputs: |
| 72 | 90 | - "%kernel.root_dir%/../vendor/jquery/jquery/jquery-1.10.2.js" |
| 73 | 91 | output: js/jquery.js |
| 74 | 92 | filters: [?yui_js] |
| 75 | - | |
| 93 | + bootstrap_less: | |
| 94 | + inputs: | |
| 95 | + - '%kernel.root_dir%/../vendor/twbs/bootstrap/less/bootstrap.less' | |
| 96 | + filters: [less,cssembed] | |
| 76 | 97 | |
| 77 | 98 | # Doctrine Configuration |
| 78 | 99 | doctrine: | ... | ... |