assetic.yml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. assetic:
  2. debug: true # %kernel.debug%
  3. use_controller: false
  4. read_from: %kernel.root_dir%/../web
  5. write_to: %kernel.root_dir%/../web
  6. bundles: [ChamiloCoreBundle, ChamiloInstallerBundle, ChamiloThemeBundle]
  7. filters:
  8. cssrewrite: ~
  9. yui_js: { jar: "%kernel.root_dir%/../bin/yuicompressor.jar" }
  10. yui_css: { jar: "%kernel.root_dir%/../bin/yuicompressor.jar" }
  11. assets:
  12. chamilo_bootstrap_css:
  13. inputs:
  14. - bundles/chamilotheme/components/bootstrap/dist/css/bootstrap.min.css
  15. filters:
  16. - cssrewrite
  17. chamilo_font_awesome_css:
  18. inputs:
  19. - bundles/chamilotheme/components/fontawesome/css/font-awesome.min.css
  20. filters:
  21. - cssrewrite
  22. chamilo_ionicons_css:
  23. inputs:
  24. - bundles/chamilotheme/components/ionicons/css/ionicons.css
  25. filters:
  26. - cssrewrite
  27. chamilo_css:
  28. inputs:
  29. - @chamilo_bootstrap_css
  30. - @chamilo_font_awesome_css
  31. - @chamilo_ionicons_css
  32. - bundles/chamilotheme/components/fullcalendar/dist/fullcalendar.min.css
  33. - bundles/chamilotheme/components/chosen-bower/chosen.css
  34. - bundles/chamilotheme/components/jquery-ui/themes/cupertino/jquery-ui.min.css
  35. - bundles/chamilotheme/components/bootflat/css/bootflat.css
  36. - bundles/chamilotheme/components/jqgrid/css/ui.jqgrid.css
  37. - bundles/chamilotheme/components/select2/dist/css/select2.css
  38. # - bundles/chamilotheme/components/select2/select2-bootstrap.css
  39. - bundles/chamilotheme/components/adminlte/css/jvectormap/*
  40. - bundles/chamilotheme/components/adminlte/css/morris/*
  41. - bundles/chamilotheme/components/adminlte/css/bootstrap-wysihtml5/bootstrap3-wysihtml5.css
  42. - bundles/chamilotheme/components/adminlte/css/bootstrap-slider/slider.css
  43. - bundles/chamilotheme/components/adminlte/css/colorpicker/bootstrap-colorpicker.css
  44. - bundles/chamilotheme/components/adminlte/css/datatables/dataTables.bootstrap.css
  45. - bundles/chamilotheme/components/adminlte/css/daterangepicker/daterangepicker-bs3.css
  46. - bundles/chamilotheme/components/adminlte/css/iCheck/all.css
  47. - bundles/chamilotheme/components/adminlte/css/ionslider/ion.rangeSlider.css
  48. - bundles/chamilotheme/components/adminlte/css/timepicker/bootstrap-timepicker.css
  49. - bundles/chamilotheme/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css
  50. - bundles/chamilotheme/components/adminlte/css/AdminLTE.css
  51. output: js/chamilo.css
  52. chamilo_js:
  53. inputs:
  54. - bundles/chamilotheme/components/jquery/dist/jquery.js
  55. - bundles/chamilotheme/components/jquery-ui/jquery-ui.min.js
  56. - @bootstrap_js
  57. - bundles/chamilotheme/components/chosen-bower/chosen.jquery.js
  58. - @moment_js
  59. - bundles/chamilotheme/components/fullcalendar/dist/fullcalendar.min.js
  60. - bundles/chamilotheme/components/jqgrid/js/jquery.jqGrid.js
  61. - bundles/chamilotheme/components/select2/dist/js/select2.js
  62. - bundles/chamilotheme/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js
  63. - bundles/chamilotheme/components/adminlte/js/plugins/daterangepicker/daterangepicker.js
  64. - @ChamiloCoreBundle/Resources/public/js/app.js
  65. output: js/chamilo.js
  66. # see http://sonata-project.org/blog/2012/5/15/assetic-package-configuration
  67. sonata_jqueryui_js:
  68. inputs:
  69. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.core.js
  70. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.widget.js
  71. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.mouse.js
  72. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.draggable.js
  73. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.droppable.js
  74. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.resizable.js
  75. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.selectable.js
  76. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.sortable.js
  77. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect.js
  78. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.accordion.js
  79. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.autocomplete.js
  80. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.button.js
  81. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.datepicker.js
  82. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.dialog.js
  83. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-blind.js
  84. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-bounce.js
  85. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-clip.js
  86. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-drop.js
  87. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-explode.js
  88. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-fade.js
  89. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-fold.js
  90. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-highlight.js
  91. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-pulsate.js
  92. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-scale.js
  93. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-shake.js
  94. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-slide.js
  95. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-transfer.js
  96. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.menu.js
  97. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.position.js
  98. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.progressbar.js
  99. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.slider.js
  100. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.spinner.js
  101. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.tabs.js
  102. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.tooltip.js
  103. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/i18n/jquery-ui-i18n.js
  104. filters:
  105. - yui_js
  106. sonata_jqueryui_css:
  107. inputs:
  108. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/themes/base/jquery-ui.css
  109. filters:
  110. - cssrewrite
  111. - yui_css
  112. sonata_formatter_js:
  113. inputs:
  114. # do not uncomment this, ckeditor behave badly when compacted...
  115. #- %kernel.root_dir%/../web/bundles/sonataformatter/vendor/ckeditor/ckeditor.js
  116. # - bundles/chamilotheme/components/ckeditor/ckeditor.js
  117. - %kernel.root_dir%/../web/bundles/sonataformatter/vendor/markitup-markitup/markitup/jquery.markitup.js
  118. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/markdown/set.js
  119. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/html/set.js
  120. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/textile/set.js
  121. filters:
  122. - yui_js
  123. sonata_formatter_css:
  124. inputs:
  125. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/skins/sonata/style.css
  126. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/markdown/style.css
  127. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/html/style.css
  128. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/textile/style.css
  129. filters:
  130. - cssrewrite
  131. - yui_css
  132. sonata_admin_js:
  133. inputs:
  134. - bundles/chamilotheme/components/jquery/dist/jquery.js
  135. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jquery.scrollTo/jquery.scrollTo.js
  136. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js
  137. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/moment/min/moment.min.js
  138. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/bootstrap/dist/js/bootstrap.js
  139. - bundles/chamilotheme/components/bootstrap/dist/js/bootstrap.js
  140. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js
  141. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js
  142. - bundles/chamilotheme/components/select2/dist/js/select2.js
  143. # - %kernel.root_dir%/../web/bundles/sonataadmin/jquery/jquery.form.js
  144. - %kernel.root_dir%/../web/bundles/sonataadmin/jquery/jquery.confirmExit.js
  145. # - %kernel.root_dir%/../web/bundles/sonataadmin/App.js
  146. # - %kernel.root_dir%/../web/bundles/sonataadmin/treeview.js
  147. # - %kernel.root_dir%/../web/bundles/sonatapage/sonata-page.back.js
  148. - %kernel.root_dir%/../web/bundles/sonataadmin/Admin.js
  149. filters:
  150. - yui_js
  151. sonata_admin_css:
  152. inputs:
  153. - bundles/chamilotheme/components/bootstrap/dist/css/bootstrap.css
  154. - bundles/chamilotheme/components/fontawesome/css/font-awesome.min.css
  155. - bundles/chamilotheme/components/ionicons/css/ionicons.css
  156. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/admin-lte/dist/css/AdminLTE.css
  157. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/themes/flick/jquery-ui.min.css
  158. - bundles/chamilotheme/components/select2/dist/css/select2.css
  159. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/select2/select2-bootstrap.css
  160. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css
  161. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css
  162. - %kernel.root_dir%/../web/bundles/sonataadmin/css/styles.css
  163. - %kernel.root_dir%/../web/bundles/sonataadmin/css/layout.css
  164. filters:
  165. - cssrewrite
  166. - yui_css
  167. sonata_front_js:
  168. inputs:
  169. - bundles/chamilotheme/components/jquery/dist/jquery.js
  170. - @bootstrap_js
  171. - %kernel.root_dir%/../web/bundles/sonatacore/js/base.js
  172. - bundles/chamilotheme/components/select2/dist/js/select2.js
  173. filters:
  174. - yui_js
  175. sonata_front_css:
  176. inputs:
  177. - @chamilo_bootstrap_css
  178. - bundles/chamilotheme/components/select2/dist/css/select2.css
  179. # - %kernel.root_dir%/../web/bundles/mopabootstrap/css/datepicker.css
  180. filters:
  181. - cssrewrite
  182. - yui_css