[% USE CPBranding; USE VarCache; SET TEMPLATE_PATH = ""; SET CPANEL.CPVAR.dprefix = "./"; SET style_sheets = []; SET scripts = []; SET wp_mat_themes_prefix = "mat-themes-"; SET user_locale = locale.get_language_tag(); SET direction = locale.get_html_dir_attr(); # If style customizations are available, save them to varcache to inject at the end of the template. varcache.set('customizations', CPBranding.get_customizations("assets/wp2-logo-white-sm.svg", "assets/wp2-logo-sm.svg", "assets/wp2-favicon.ico", "cpanel", "wp-squared")); # The following content is inserted by underscore-template-loader's require macro. # #---------------------------------------------------- # ∨∨∨ THIS IS GENERATED CODE, DO NOT MODIFY IT ∨∨∨ #---------------------------------------------------- # # Build webpack css bundle list style_sheets.push(TEMPLATE_PATH _ 'styles.css'); style_sheets.push(TEMPLATE_PATH _ 'mat-themes-teal.css'); style_sheets.push(TEMPLATE_PATH _ 'mat-themes-violet.css'); style_sheets.push(TEMPLATE_PATH _ 'mat-themes-blue.css'); style_sheets.push(TEMPLATE_PATH _ 'mat-themes-green.css'); style_sheets.push(TEMPLATE_PATH _ 'mat-themes-orange.css'); # Build webpack javascript bundle list scripts.push(TEMPLATE_PATH _ 'runtime.js'); scripts.push(TEMPLATE_PATH _ 'vendor.js'); scripts.push(TEMPLATE_PATH _ 'polyfills.js'); scripts.push(TEMPLATE_PATH _ 'main.js'); # #---------------------------------------------------- # ^^^ THIS IS GENERATED CODE, DO NOT MODIFY IT ^^^ #---------------------------------------------------- # DEV NOTE: style_sheets are filled in the above lodash template contains the theme files that start with '$wp_mat_themes_prefix'. # Filter them out and only load the theme that is currently applied to the account. style_sheets = style_sheets.grep("^(?!$wp_mat_themes_prefix)"); %]