Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/multiphp-manager-ng7/index.html.tt

[%
# w./apps/multiphp-manager-ng7/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/multiphp-manager-ng7/';
SET breadcrumb_url = '/scripts7/multiphp-manager';
SET ROUTER_PATH   = cp_security_token _ breadcrumb_url;
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.

# 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.css"));

# Build webpack javascript bundle list
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "runtime.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "vendor-c0d76f48.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "vendor-0bc5b059.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "vendor-89d5c698.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "polyfills.js"));
scripts.push(Whostmgr.find_file_url(TEMPLATE_PATH _ "main.js"));

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

SET locale_is_rtl = 0;

WRAPPER 'master_templates/master.tmpl'
    app_key = 'multiphp_manager',
    breadcrumburl = breadcrumb_url,
    base = RESOURCE_PATH,
    stylesheets = style_sheets,
    scripts = scripts,
    theme = 'bootstrap',
    CJT2_EXCLUSIVE=1,
    is_ng = 1;
%]
<multiphp-mgr-root></multiphp-mgr-root>
<script>
    window.PAGE = {
        base: [% ROUTER_PATH.json() %],
        cl_data: [% data.cl_data.json() %],
        litespeed_running: [% data.litespeed_running %],
        fpmConversion_in_progress: [% data.fpm_conversion_in_progress %] ? true : false,
        cp_security_token: "[% cp_security_token %]"
    };
</script>
[% END %]
Back to Directory File Manager