Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/initial-setup-wizard/index.html.tt

[%
# ng/whm/apps/initial-setup-wizard/src/index.html.tt
#                                                  Copyright 2022 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
%]

[%
USE Whostmgr;
USE JSON;

SET TEMPLATE_PATH = '/templates/initial-setup-wizard/';
SET PAGE_BASE     = '/scripts3/initial_setup_wizard1';
SET ROUTER_PATH   = cp_security_token _ PAGE_BASE;
SET RESOURCE_PATH = cp_security_token _ TEMPLATE_PATH;
SET style_sheets   = [];
SET scripts       = []; # Do not change this name unless it is also changed in the partials below.

SET IMG_PATH = data.is_wp2 == 1 ? '/images/wp2_whm_logo.svg' : '/images/cpanel_whm_logo.svg';
SET logo = Whostmgr.find_file_and_insert(IMG_PATH);

# 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(Whostmgr.find_file_url(TEMPLATE_PATH _ "styles.19319c8ff093152c.css"));

# Build webpack javascript bundle list
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "runtime.5dabb3d2240b3b70.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "vendor-c0d76f48.9eca0299442f7795.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "vendor-89d5c698.c9e481ae710d0743.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "polyfills.052de6a85c872a9c.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "main.d3dbcc4d9503999d.js"));

#
# ^^^ THIS IS GENERATED CODE, DO NOT MODIFY IT ^^^
#----------------------------------------------------

SET locale_is_rtl = 0;

    WRAPPER 'master_templates/master.tmpl'
        app_key               = 'initial_setup_wizard',
        base                  = PAGE_BASE,
        skipbreadcrumb        = 1,
        skipsupport           = 1,
        skipheader            = 1,
        skipfooter            = 1,
        hide_header           = 1,
        hide_navigation       = 1,
        hide_license_warnings = 1,
        CJT2_EXCLUSIVE        = 1,
        theme                 = 'jupiter'
        is_ng                 = 1,
        stylesheets           = style_sheets;

%]
<isw-root></isw-root>
<script>
    var PAGE = [% data.json() %];
    var MagicRevision = [% MagicRevision('/templates/initial-setup-wizard/').json() %];
    PAGE.pageURL = [% ROUTER_PATH.json() %];
    PAGE.cp_security_token = "[% cp_security_token %]";
    PAGE.logo = [% logo.json() %]
    PAGE.whm_logo = [% Whostmgr.get_whm_logos(['WhmDarkLg']).json() %]
    PAGE.auto_domain_for_host = [% CPANEL.auto_domain_for_host.json() %];
    PAGE.should_prompt_user_analytics_consent = [% should_prompt_user_analytics_consent ? 'true' : 'false' %]
</script>

[% END %]
Back to Directory File Manager