assetic.yml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. assetic:
  2. debug: %kernel.debug%
  3. use_controller: false
  4. read_from: %kernel.root_dir%/../web
  5. write_to: %kernel.root_dir%/../web
  6. bundles: [ChamiloCoreBundle, 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/chamilocore/components/bootstrap/dist/css/bootstrap.min.css
  15. filters:
  16. - cssrewrite
  17. chamilo_font_awesome_css:
  18. inputs:
  19. - bundles/chamilocore/components/fontawesome/css/font-awesome.min.css
  20. filters:
  21. - cssrewrite
  22. chamilo_ionicons_css:
  23. inputs:
  24. - bundles/chamilocore/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/chamilocore/components/fullcalendar/dist/fullcalendar.min.css
  33. - bundles/chamilocore/components/chosen-bower/chosen.css
  34. - bundles/chamilocore/components/jquery-ui/themes/cupertino/jquery-ui.min.css
  35. - bundles/chamilocore/components/bootflat/css/bootflat.css
  36. - bundles/chamilocore/components/jqgrid/css/ui.jqgrid.css
  37. - bundles/chamilocore/components/select2/dist/css/select2.css
  38. - bundles/chamilocore/js/tag/style.css
  39. - bundles/chamilocore/components/jquery-file-upload/css/jquery.fileupload.css
  40. - bundles/chamilocore/components/jquery-file-upload/css/jquery.fileupload-ui.css
  41. - bundles/chamilocore/components/bootstrap-language/languages.css
  42. - bundles/chamilocore/css/grid.css
  43. # - bundles/chamilocore/components/select2/select2-bootstrap.css
  44. # - bundles/chamilocore/components/adminlte/css/jvectormap/*
  45. # - bundles/chamilocore/components/adminlte/css/morris/*
  46. # - bundles/chamilocore/components/adminlte/css/bootstrap-wysihtml5/bootstrap3-wysihtml5.css
  47. # - bundles/chamilocore/components/adminlte/css/bootstrap-slider/slider.css
  48. # - bundles/chamilocore/components/adminlte/css/colorpicker/bootstrap-colorpicker.css
  49. # - bundles/chamilocore/components/adminlte/css/datatables/dataTables.bootstrap.css
  50. # - bundles/chamilocore/components/adminlte/css/daterangepicker/daterangepicker-bs3.css
  51. # - bundles/chamilocore/components/adminlte/css/iCheck/all.css
  52. # - bundles/chamilocore/components/adminlte/css/ionslider/ion.rangeSlider.css
  53. # - bundles/chamilocore/components/adminlte/css/timepicker/bootstrap-timepicker.css
  54. - bundles/chamilocore/components/bootstrap-daterangepicker/daterangepicker-bs3.css
  55. - bundles/chamilocore/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css
  56. - bundles/chamilocore/components/adminlte/dist/css/skins/_all-skins.min.css
  57. - bundles/chamilocore/components/adminlte/dist/css/AdminLTE.css
  58. filters:
  59. - cssrewrite
  60. output: js/chamilo.css
  61. chamilo_js:
  62. inputs:
  63. - bundles/chamilocore/components/jquery/dist/jquery.js
  64. - bundles/chamilocore/components/jquery-ui/jquery-ui.min.js
  65. # - @bootstrap_js
  66. - bundles/chamilocore/components/bootstrap/dist/js/bootstrap.min.js
  67. - bundles/chamilocore/components/chosen-bower/chosen.jquery.js
  68. # - @moment_js
  69. - bundles/chamilocore/components/moment/moment.js
  70. - bundles/chamilocore/components/fullcalendar/dist/fullcalendar.min.js
  71. - bundles/chamilocore/components/jqgrid/js/jquery.jqGrid.js
  72. - bundles/chamilocore/components/select2/dist/js/select2.js
  73. - bundles/chamilocore/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js
  74. - bundles/chamilocore/components/jquery.scrollbar/jquery.scrollbar.js
  75. - bundles/chamilocore/components/mediaelement/build/mediaelement-and-player.js
  76. - bundles/chamilocore/js/upload.js
  77. - bundles/chamilocore/js/pear/qfamsHandler.js
  78. - bundles/chamilocore/components/image-map-resizer/js/imageMapResizer.js
  79. - bundles/chamilocore/components/blueimp-load-image/js/load-image.all.min.js
  80. - bundles/chamilocore/components/blueimp-canvas-to-blob/js/canvas-to-blob.min.js
  81. - bundles/chamilocore/js/tag/jquery.fcbkcomplete.js
  82. - bundles/chamilocore/components/jquery-file-upload/js/jquery.iframe-transport.js
  83. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload.js
  84. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload-process.js
  85. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload-image.js
  86. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload-audio.js
  87. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload-video.js
  88. - bundles/chamilocore/components/jquery-file-upload/js/jquery.fileupload-validate.js
  89. - bundles/chamilocore/components/bootstrap-daterangepicker/daterangepicker.js
  90. - bundles/chamilocore/components/adminlte/dist/js/app.js
  91. output: js/chamilo.js
  92. # see https://sonata-project.org/blog/2012/5/15/assetic-package-configuration
  93. #
  94. sonata_jqueryui_js:
  95. inputs:
  96. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.core.js
  97. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.widget.js
  98. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.mouse.js
  99. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.draggable.js
  100. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.droppable.js
  101. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.resizable.js
  102. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.selectable.js
  103. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.sortable.js
  104. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect.js
  105. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.accordion.js
  106. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.autocomplete.js
  107. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.button.js
  108. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.datepicker.js
  109. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.dialog.js
  110. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-blind.js
  111. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-bounce.js
  112. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-clip.js
  113. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-drop.js
  114. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-explode.js
  115. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-fade.js
  116. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-fold.js
  117. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-highlight.js
  118. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-pulsate.js
  119. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-scale.js
  120. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-shake.js
  121. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-slide.js
  122. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.effect-transfer.js
  123. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.menu.js
  124. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.position.js
  125. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.progressbar.js
  126. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.slider.js
  127. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.spinner.js
  128. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.tabs.js
  129. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/jquery.ui.tooltip.js
  130. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/ui/i18n/jquery-ui-i18n.js
  131. # filters:
  132. # - yui_js
  133. sonata_jqueryui_css:
  134. inputs:
  135. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/themes/base/jquery-ui.css
  136. filters:
  137. - cssrewrite
  138. # - yui_css
  139. sonata_formatter_js:
  140. inputs:
  141. # do not uncomment this, ckeditor behave badly when compacted...
  142. #- %kernel.root_dir%/../web/bundles/sonataformatter/vendor/ckeditor/ckeditor.js
  143. - %kernel.root_dir%/../web/bundles/sonataformatter/vendor/markitup-markitup/markitup/jquery.markitup.js
  144. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/markdown/set.js
  145. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/html/set.js
  146. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/textile/set.js
  147. # filters:
  148. # - yui_js
  149. sonata_formatter_css:
  150. inputs:
  151. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/skins/sonata/style.css
  152. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/markdown/style.css
  153. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/html/style.css
  154. - %kernel.root_dir%/../web/bundles/sonataformatter/markitup/sets/textile/style.css
  155. filters:
  156. - cssrewrite
  157. # - yui_css
  158. sonata_admin_js:
  159. inputs:
  160. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/jquery/dist/jquery.js
  161. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jquery.scrollTo/jquery.scrollTo.js
  162. # - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js
  163. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/moment/min/moment.min.js
  164. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/bootstrap/dist/js/bootstrap.js
  165. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js
  166. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jquery-form/jquery.form.js
  167. - %kernel.root_dir%/../web/bundles/sonataadmin/jquery/jquery.confirmExit.js
  168. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js
  169. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/select2/select2.js
  170. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/admin-lte/dist/js/app.min.js
  171. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/iCheck/icheck.min.js
  172. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/waypoints/lib/jquery.waypoints.js
  173. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/waypoints/lib/shortcuts/sticky.js
  174. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/slimScroll/jquery.slimscroll.min.js
  175. - %kernel.root_dir%/../web/bundles/sonatapage/sonata-page.back.js
  176. - %kernel.root_dir%/../web/bundles/sonataadmin/Admin.js
  177. - %kernel.root_dir%/../web/bundles/sonataadmin/treeview.js
  178. # filters:
  179. # - yui_js
  180. sonata_admin_css:
  181. inputs:
  182. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/bootstrap/dist/css/bootstrap.min.css
  183. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/components-font-awesome/css/font-awesome.min.css
  184. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/ionicons/css/ionicons.min.css
  185. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/admin-lte/dist/css/AdminLTE.css
  186. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/iCheck/skins/square/blue.css
  187. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/jqueryui/themes/flick/jquery-ui.min.css
  188. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/select2/select2.css
  189. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/select2/select2-bootstrap.css
  190. - %kernel.root_dir%/../web/bundles/sonataadmin/vendor/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css
  191. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css
  192. - %kernel.root_dir%/../web/bundles/sonataadmin/css/styles.css
  193. - %kernel.root_dir%/../web/bundles/sonataadmin/css/layout.css
  194. - %kernel.root_dir%/../web/bundles/sonataadmin/css/tree.css
  195. - %kernel.root_dir%/../web/bundles/sonatapage/sonata-page.back.css
  196. filters:
  197. - cssrewrite
  198. # - yui_css
  199. sonata_front_js:
  200. inputs:
  201. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/jquery/dist/jquery.js
  202. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/bootstrap/dist/js/bootstrap.js
  203. # - %kernel.root_dir%/../web/bundles/sonataproduct/js/product.js
  204. - %kernel.root_dir%/../web/bundles/sonatacore/js/base.js
  205. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/select2/select2.min.js
  206. # - %kernel.root_dir%/../web/bundles/sonatademo/js/demo.js
  207. # filters:
  208. # - yui_js
  209. sonata_front_css:
  210. inputs:
  211. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/bootstrap/dist/css/bootstrap.min.css
  212. - %kernel.root_dir%/../web/bundles/sonatacore/vendor/select2/select2.css
  213. # - %kernel.root_dir%/../web/bundles/mopabootstrap/css/mopabootstrapbundle.css
  214. # - %kernel.root_dir%/../web/bundles/sonatademo/css/demo.css
  215. filters:
  216. - cssrewrite
  217. # - yui_css