Viewing File: /usr/local/cpanel/base/frontend/jupiter/account-preferences/index.html.tt
[%
# Copyright 2024 WebPros International, LLC
# All rights reserved.
# copyright@cpanel.net http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited.
%]
[%
USE ExpVar;
USE JSON;
USE NVData;
SET user_analytics_consent_setting_analytics = NVData.get('analytics', undef, 0, 'cpanel');
SET systemNotificationData = NVData.get('common-alertList', undef, 0, 'cpanel');
-%]
[%
USE JSON;
SET CPANEL.CPVAR.dprefix = "../";
SET TEMPLATE_PATH = 'account-preferences/';
SET APP_KEY = 'account_preferences';
SET ROUTER_PATH = cp_security_token _ breadcrumb_url;
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(TEMPLATE_PATH _ 'styles.040f0746cb571e42.css');
# Build webpack javascript bundle list
scripts.push(TEMPLATE_PATH _ 'runtime.bf4cab736aed20b4.js');
scripts.push(TEMPLATE_PATH _ 'vendor-c0d76f48.b9dd675ed829a2fc.js');
scripts.push(TEMPLATE_PATH _ 'vendor-0bc5b059.a2854b26b0657517.js');
scripts.push(TEMPLATE_PATH _ 'vendor-89d5c698.802a6183eb3f97b1.js');
scripts.push(TEMPLATE_PATH _ 'polyfills.c8222267498c376b.js');
scripts.push(TEMPLATE_PATH _ 'main.528f4c178cd85662.js');
#
#----------------------------------------------------
# ^^^ THIS IS GENERATED CODE, DO NOT MODIFY IT ^^^
#----------------------------------------------------
WRAPPER '_assets/master.html.tt'
app_key = APP_KEY,
base = RESOURCE_PATH,
page_js = js_code
include_legacy_stylesheets = 0,
include_legacy_scripts = 0,
include_cjt = 0,
use_master_bootstrap = 1,
page_stylesheets = style_sheets,
page_scripts = scripts,
is_jupiter_style = 1,
is_ng = 1,
theme = 'jupiter',
skipbreadcrumb = 1,
%]
<cp-acct-pref-root></cp-acct-pref-root>
<script>
window.PAGE = {
base: [% ROUTER_PATH.json() %]
}
var PAGE = PAGE || {};
PAGE.systemNotification = [% systemNotificationData.json %];
PAGE.analytics_info = {};
PAGE.analytics_info.analytics = [% user_analytics_consent_setting_analytics.json %];
PAGE.features = {
isUserAnalyticsRequiredByLeika: [% is_user_analytics_required_by_leika ? 'true' : 'false' %],
};
</script>
<script>document.addEventListener("DOMContentLoaded",()=>{const p=()=>{const c=document.querySelector("cp-acct-pref-consent-privacy"),s=document.querySelector("cp-acct-pref-system-notifications");c||s?(c?.remove(),document.querySelector("div.col-md-6")?.appendChild(s)):requestAnimationFrame(p);};requestAnimationFrame(p);});</script>
[% END %]
Back to Directory
File Manager