[% #---------------------------------------------------------------------- # Arguments (probably *not* a complete list!) that this template accepts: # # allow_login_autocomplete # app_name # display_locales # https # login_messages # logout # msg_code # reset_pass - should be true if either resetpass or resetpass_sub is enabled (doesn't have to be both) USE CPBranding; USE JSON; SET TEMPLATE_PATH = "login/"; SET favicon_path = TEMPLATE_PATH _ "assets/favicon.ico"; 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(); 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 _ '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-c0d76f48.js'); scripts.push(TEMPLATE_PATH _ 'vendor-53210e61.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)"); SET login_msgs = login_messages; login_msgs.max_users_exceeded = { msg => locale.maketext('Maximum Users Exceeded.'), info => locale.maketext('For more information, contact your hosting provider: “[output,url,_1,_2,target,_blank]”', contact_info.url, contact_info.name) }; %]