[% USE CPBranding; USE VarCache; SET TEMPLATE_PATH = "two-factor-auth/"; SET favicon_path = TEMPLATE_PATH _ "assets/favicon.ico"; SET CPANEL.CPVAR.dprefix = "./"; SET style_sheets = []; SET scripts = []; SET user_locale = locale.get_language_tag(); SET direction = locale.get_html_dir_attr(); SET base_dir = '/usr/local/cpanel/base/unprotected/wp-squared/'; # 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/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 _ 'wp-blue-light-variables-default.css'); style_sheets.push(TEMPLATE_PATH _ 'wp-green-light-variables-default.css'); style_sheets.push(TEMPLATE_PATH _ 'wp-orange-light-variables-default.css'); style_sheets.push(TEMPLATE_PATH _ 'wp-teal-light-variables-default.css'); style_sheets.push(TEMPLATE_PATH _ 'wp-violet-light-variables-default.css'); # Build webpack javascript bundle list scripts.push(TEMPLATE_PATH _ 'runtime.js'); scripts.push(TEMPLATE_PATH _ 'polyfills.js'); scripts.push(TEMPLATE_PATH _ 'main.js'); # #---------------------------------------------------- # ^^^ THIS IS GENERATED CODE, DO NOT MODIFY IT ^^^ #---------------------------------------------------- USE dir = Directory(base_dir); SET custom_variables_file = 0; FOREACH file IN dir.files; IF file.name.match("-variables-custom\.css$"); custom_variables_file = file.name; END; END; %]