File: //usr/share/cloudlinux-awp-plugin/user-plugins/plesk/index.phtml
<!--
Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2023 All Rights Reserved
Licensed under CLOUD LINUX LICENSE AGREEMENT
http://cloudlinux.com/docs/LICENSE.TXT
-->
<link rel="stylesheet" href="<?php echo pm_Context::getBaseUrl() ?>awp-user/common-styles.css"/>
<link rel="stylesheet" href="<?php echo pm_Context::getBaseUrl() ?>awp-user/bootstrap.min.css"/>
<lvemanager>
<div class="big_loader_wrapper">
<div class="big_loader">
<img src="<?php echo pm_Context::getBaseUrl() ?>images/loader.svg">
</div>
</div>
</lvemanager>
<script type="text/javascript">
// es6 conflict with prototypejs
Array.prototype.entries = function () {
return this.map(function (x) {
return x;
})
}
var userType = <?php echo json_encode($this->owner) ?>;
var userName = <?php echo json_encode($this->userName) ?>;
var pluginVersion = <?php echo json_encode(trim($this->pluginVersion)) ?>;
var APP_MODE = <?php echo json_encode($this->appMode) ?>;
</script>
<script type="text/javascript">
currentLanguage = <?php echo json_encode($this->currentLanguage);?>;
panelVersion = <?php echo json_encode($this->pleskVersion);?>;
mainAction = '/modules/plesk-lvemanager/index.php/awp-send-request';
mockAction = '/modules/plesk-lvemanager/index.php/awp-send-request/mock';
var localePath = '<?php echo pm_Context::getBaseUrl()?>awp-user/i18n/';
</script>
<script src="<?php echo pm_Context::getBaseUrl() ?>js/config.js"></script>
<script async="false" src="<?php echo pm_Context::getBaseUrl() ?>awp-user/polyfills.bundle.min.js?v=<?php echo $this->pluginVersion; ?>"></script>
<script async="false" src="<?php echo pm_Context::getBaseUrl() ?>awp-user/vendor.bundle.min.js?v=<?php echo $this->pluginVersion; ?>"></script>
<script async="false" src="<?php echo pm_Context::getBaseUrl() ?>awp-user/wpos.bundle.min.js?v=<?php echo $this->pluginVersion; ?>"></script>