File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/comet-backup/spa/index.html.tt
Back
[% USE Whostmgr; SET dprefix = "../"; SET CPANEL.CPVAR.dprefix = dprefix.repeat(2); SET TEMPLATE_NAME = "index.html.tt"; SET HOME_PATH = cp_security_token _ '/templates'; SET ROUTER_PATH = HOME_PATH _ '/comet-backup/spa'; SET PROTOCOL = 'http'; SET SECONDS_TO_REDIRECT = 15; IF CPANEL.ENV.HTTPS == 'on'; SET PROTOCOL = 'https'; END; SET HOME_URL = PROTOCOL _ '://' _ CPANEL.ENV.SERVER_NAME _ ':' _ CPANEL.ENV.SERVER_PORT _ '/' _ cp_security_token; SET MIXPANEL_APP_NAME = 'CometBackup'; is_root = Whostmgr.ENV.REMOTE_USER == "root" ? 1 : 0; is_root_reseller = Whostmgr.checkacl('all'); has_feature = is_root || is_root_reseller; SET environment = ''; links_code = PROCESS links_block; init_code = PROCESS init_block; js_code = PROCESS js_block; meta_code = PROCESS meta_block; %] [% WRAPPER 'master_templates/master.tmpl' header = 'Comet Backup' app_key = 'comet-backup' theme = 'bootstrap' link_block = links_code js_first_block = init_code js_block = js_code meta_block = meta_code -%] <div class="body-content whmsp" id="CometBackupApp"> <div id="root"></div> </div> [% END %] [% BLOCK links_block %] <!-- links_block --> <link href="https://fonts.googleapis.com" rel="preconnect" /> <link crossorigin="crossorigin" href="https://fonts.gstatic.com" rel="preconnect" /> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet" /> <link crossorigin="crossorigin" href="[% Whostmgr.find_file_url('/templates/comet-backup/spa/assets/index-BX1eVgAj.css') %]" rel="stylesheet" /> <style> /* html, body { height: 100% !important; } .body-content .min-h-screen { min-height: unset !important } .body-content .fixed.top-0 { top: 60px !important } html[dir=ltr] .body-content .fixed.left-0 { left: clamp(240px,14.8vw,320px) !important } html[dir=rtl] .body-content .fixed.right-0 { right: clamp(240px,14.8vw,320px) !important } .body-content .mobileFullHeight { height: calc(100vh - 6rem) !important} */ /* Correction for the page title that are being overwritten by tailwind */ /* NOTE: This is a very fragil hack that will work until the shared styles */ /* change or the tailwind stuff breaks things further. The real solution */ /* is to isolate the tailwind styles to inside the .page-body tag. */ /* .page-title { display: block; font-size: 30px; text-transform: capitalize; } .page-title-section { display: inline-block; vertical-align: top; font-size: 20px; } h1.page-header { border-bottom: 0; font-weight: lighter; font-family: "Open Sans",sans-serif; line-height: 1.1; color: inherit; font-size: 2em; margin-bottom: 0.67em; } h1 #pageSubHeading { font-size: 65%; font-weight: 400; line-height: 1; color: #999; } */ </style> [% END %] [% BLOCK init_block %] <!-- init_block --> [% SET locale_tag = locale.get_language_tag(); # es_419 SET language_tag = locale_tag.split('_').0; # es %] <script> window.PLUGINS = { 'comet-backup': { isSandbox: [% IF CPANEL.is_sandbox; 'false'; ELSE; 'false'; END; %], isCpanel: true, locale: [% language_tag.json() %], environment: [% environment.json() %], homeUrl: [% HOME_URL.json() %], defaultPage: 'index.html#', companyId: [% get_company_id() %], track: function(eventName, additionalProperties) { window["mixpanel"]?.track([% MIXPANEL_APP_NAME.json() %] + "-" + eventName, additionalProperties); }, hasDevConfig: false, } } </script> [% END %] [% BLOCK js_block %] <!-- js_block --> <script crossorigin="crossorigin" src="[% Whostmgr.find_file_url('/templates/comet-backup/spa/assets/index-BNe0i567.js') %]" type="module"></script> [% END %] [% BLOCK meta_block %] <!-- meta_block --> <meta charset="UTF-8" /> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings