Assets.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  2. <f:comment><!--
  3. Assets included with the VHS viewhelpers
  4. /!\ Warning: assets'names shall be uniques, even among styles and scripts viewhelpers!
  5. --></f:comment>
  6. <v:variable.set name="assets_dir" value="EXT:ot_templating/Resources/Public/assets/Modern" />
  7. <v:variable.set name="force_standalone" value="1" />
  8. <f:comment><!-- Fonts assets --></f:comment>
  9. <v:asset.style name="montserrat-font"
  10. path="https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,500,500i,600,700,800,900|Poppins:200,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900"
  11. external="1"
  12. standalone="{force_standalone}" />
  13. <v:asset.style name="dosis-font"
  14. path="https://fonts.googleapis.com/css?family=Dosis:300,400,500,600,700,800"
  15. external="1"
  16. standalone="{force_standalone}"/>
  17. <style>
  18. @font-face {
  19. font-family: "fontawesome";
  20. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/fontawesome-webfont.ttf") format("truetype");
  21. }
  22. @font-face {
  23. font-family: "themify";
  24. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/themify.ttf") format("truetype");
  25. }
  26. @font-face {
  27. font-family: "slick";
  28. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/slick.ttf") format("truetype");
  29. }
  30. @font-face {
  31. font-family: "revicons";
  32. src: url("/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/fonts/revicons.ttf") format("truetype");
  33. }
  34. </style>
  35. <f:comment><!-- Style assets --></f:comment>
  36. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  37. <v:asset.style name="plugins-css"
  38. path="{assets_dir}/style/plugins-css.css"
  39. standalone="{force_standalone}"/>
  40. <f:comment><!-- includes revolution stylesheets --></f:comment>
  41. <v:asset.style name="revolution-settings"
  42. path="{assets_dir}/style/revolution/settings.css"
  43. standalone="{force_standalone}"/>
  44. <f:comment><!-- includes all typography stylesheets --></f:comment>
  45. <v:asset.style name="typography"
  46. path="{assets_dir}/style/typography.css"
  47. standalone="{force_standalone}"/>
  48. <v:asset.style name="datetimepicker-css"
  49. path="{assets_dir}/style/plugins/bootstrap-datetimepicker.min.css"
  50. standalone="{force_standalone}"/>
  51. <v:asset.style name="slick-css"
  52. path="{assets_dir}/style/plugins/slick.css"
  53. standalone="{force_standalone}"/>
  54. <v:asset.style name="slick-theme-css"
  55. path="{assets_dir}/style/plugins/slick-theme.css"
  56. standalone="{force_standalone}"/>
  57. <v:asset.style name="leaflet-css"
  58. path="{assets_dir}/style/plugins/leaflet.css"
  59. standalone="{force_standalone}"
  60. rewrite="0"/>
  61. <f:comment><!-- includes all shortcodes ; can be removed if none of those plugins are used --></f:comment>
  62. <v:asset.style name="shortcodes"
  63. path="{assets_dir}/style/shortcodes/shortcodes.css"
  64. standalone="{force_standalone}"/>
  65. <f:comment><!-- main stylesheet of the template --></f:comment>
  66. <v:asset.style name="style-css"
  67. path="{assets_dir}/style/style.css"
  68. standalone="1"
  69. rewrite="0"/>
  70. <f:comment><!-- responsive stylesheet of the template (mediaqueries) --></f:comment>
  71. <v:asset.style name="responsive-css"
  72. path="{assets_dir}/style/responsive.css"
  73. standalone="{force_standalone}"/>
  74. <v:asset.style name="custom-css"
  75. path="{assets_dir}/style/custom.css"
  76. standalone="{force_standalone}"/>
  77. <f:comment><!-- Chosen theme --></f:comment>
  78. <f:if condition="{settings.themeColor}=='light-blue'">
  79. <f:then>
  80. <v:asset.style name="theme"
  81. path="{assets_dir}/style/skins/skin-blue.css"
  82. standalone="1"/>
  83. </f:then>
  84. <f:else if="{settings.themeColor}=='blue'">
  85. <v:asset.style name="theme"
  86. path="{assets_dir}/style/skins/skin-steelblue.css"
  87. standalone="1"/>
  88. </f:else>
  89. <f:else if="{settings.themeColor}=='green'">
  90. <v:asset.style name="theme"
  91. path="{assets_dir}/style/skins/skin-green.css"
  92. standalone="1"/>
  93. </f:else>
  94. <f:else if="{settings.themeColor}=='orange'">
  95. <v:asset.style name="theme"
  96. path="{assets_dir}/style/skins/skin-orange.css"
  97. standalone="1"/>
  98. </f:else>
  99. <f:else if="{settings.themeColor}=='grey'">
  100. <v:asset.style name="theme"
  101. path="{assets_dir}/style/skins/skin-grey.css"
  102. standalone="1"/>
  103. </f:else>
  104. <f:else if="{settings.themeColor}=='red'">
  105. <v:asset.style name="theme"
  106. path="{assets_dir}/style/skins/skin-red.css"
  107. standalone="1"/>
  108. </f:else>
  109. <f:else if="{settings.themeColor}=='light-red'">
  110. <v:asset.style name="theme"
  111. path="{assets_dir}/style/skins/skin-red-light.css"
  112. standalone="1"/>
  113. </f:else>
  114. <f:else if="{settings.themeColor}=='purple'">
  115. <v:asset.style name="theme"
  116. path="{assets_dir}/style/skins/skin-purple.css"
  117. standalone="1"/>
  118. </f:else>
  119. </f:if>
  120. <f:comment><!-- Script assets --></f:comment>
  121. <f:comment><!-- Defines the path of all plugin folders to allow dynamic loading --></f:comment>
  122. <script>
  123. var plugin_path = '/typo3conf/ext/ot_templating/Resources/Public/assets/Modern/script/';
  124. </script>
  125. <v:asset.script name="jquery"
  126. path="{assets_dir}/script/jquery-3.3.1.min.js"
  127. standalone="{force_standalone}"/>
  128. <f:comment><!-- includes all plugins ; can be removed if none of those plugins are used --></f:comment>
  129. <v:asset.script name="plugins-jquery"
  130. path="{assets_dir}/script/plugins-jquery.js"
  131. standalone="{force_standalone}"
  132. dependencies="jquery" />
  133. <v:asset.script name="recaptcha"
  134. path="https://www.google.com/recaptcha/api.js"
  135. external="1"
  136. standalone="{force_standalone}"
  137. dependencies="jquery"/>
  138. <v:asset.script name="jquery-tools"
  139. path="{assets_dir}/script/revolution/jquery.themepunch.tools.min.js"
  140. standalone="{force_standalone}"/>
  141. <v:asset.script name="jquery-revolution"
  142. path="{assets_dir}/script/revolution/jquery.themepunch.revolution.min.js"
  143. standalone="{force_standalone}"
  144. dependencies="jquery"/>
  145. <v:asset.script name="revolution-actions"
  146. path="{assets_dir}/script/revolution/extensions/revolution.extension.actions.min.js"
  147. standalone="{force_standalone}"
  148. dependencies="jquery"/>
  149. <v:asset.script name="revolution-carousel"
  150. path="{assets_dir}/script/revolution/extensions/revolution.extension.carousel.min.js"
  151. standalone="{force_standalone}"
  152. dependencies="jquery"/>
  153. <v:asset.script name="revolution-kenburn"
  154. path="{assets_dir}/script/revolution/extensions/revolution.extension.kenburn.min.js"
  155. standalone="{force_standalone}"
  156. dependencies="jquery"/>
  157. <v:asset.script name="revolution-layeranimation"
  158. path="{assets_dir}/script/revolution/extensions/revolution.extension.layeranimation.min.js"
  159. standalone="{force_standalone}"
  160. dependencies="jquery"/>
  161. <v:asset.script name="revolution-migration"
  162. path="{assets_dir}/script/revolution/extensions/revolution.extension.migration.min.js"
  163. standalone="{force_standalone}"
  164. dependencies="jquery"/>
  165. <v:asset.script name="revolution-parallax"
  166. path="{assets_dir}/script/revolution/extensions/revolution.extension.parallax.min.js"
  167. standalone="{force_standalone}"
  168. dependencies="jquery"/>
  169. <v:asset.script name="revolution-navigation"
  170. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  171. standalone="{force_standalone}"/>
  172. <v:asset.script name="revolution-slideanims"
  173. path="{assets_dir}/script/revolution/extensions/revolution.extension.slideanims.min.js"
  174. standalone="{force_standalone}"
  175. dependencies="jquery"/>
  176. <v:asset.script name="revolution-navigation"
  177. path="{assets_dir}/script/revolution/extensions/revolution.extension.navigation.min.js"
  178. standalone="{force_standalone}"
  179. dependencies="jquery"/>
  180. <v:asset.script name="revolution-video"
  181. path="{assets_dir}/script/revolution/extensions/revolution.extension.video.min.js"
  182. standalone="{force_standalone}"
  183. dependencies="jquery"/>
  184. <v:asset.script name="revolution-custom"
  185. path="{assets_dir}/script/revolution/revolution-custom.js"
  186. standalone="{force_standalone}"
  187. dependencies="jquery"/>
  188. <v:asset.script name="moment-js"
  189. path="{assets_dir}/script/bootstrap-datetimepicker/moment-datepicker.js"
  190. standalone="{force_standalone}"
  191. dependencies="jquery"/>
  192. <v:asset.script name="datetimepicker-js"
  193. path="{assets_dir}/script/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"
  194. standalone="{force_standalone}"
  195. dependencies="jquery,moment-js"/>
  196. <v:asset.script name="slick-js"
  197. path="{assets_dir}/script/slick/slick.js"
  198. standalone="{force_standalone}"
  199. dependencies="jquery"/>
  200. <v:asset.script name="leaflet-js"
  201. path="{assets_dir}/script/leaflet/leaflet.js"
  202. standalone="{force_standalone}"
  203. dependencies="jquery"/>
  204. <v:asset.script name="magnific-popup"
  205. path="{assets_dir}/script/magnific-popup/jquery.magnific-popup.min.js"
  206. standalone="{force_standalone}"
  207. dependencies="jquery"/>
  208. <v:asset.script name="custom-js"
  209. path="{assets_dir}/script/custom.js"
  210. standalone="{force_standalone}"
  211. dependencies="jquery"/>
  212. <v:asset.script name="custom-ot-js"
  213. path="{assets_dir}/script/custom-ot.js"
  214. standalone="{force_standalone}"
  215. dependencies="jquery"/>