Files
espocrm/html/main.html
Yuri Kuznetsov fddda800a8 year
2024-01-08 18:07:07 +02:00

44 lines
2.1 KiB
HTML

<!doctype html>
<html>
<head>
<title>{{applicationName}}</title>
<script type="application/json" data-name="loader-params">{{loaderParams}}</script>{{scriptsHtml}}
<link rel="stylesheet" href="{{basePath}}{{stylesheet}}?r={{cacheTimestamp}}" id='main-stylesheet'>{{additionalStyleSheetsHtml}}{{linksHtml}}
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="{{applicationDescription}}">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="shortcut icon" sizes="196x196" href="{{basePath}}{{favicon196Path}}">
<link rel="icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
<link rel="shortcut icon" href="{{basePath}}{{faviconPath}}" type="image/x-icon">
<script type="text/javascript" nonce="{{nonce}}">
window.addEventListener('DOMContentLoaded', () => {
require('{{appClientClassName}}', App => {
new App({
id: '{{applicationId}}',
useCache: {{useCache}},
cacheTimestamp: {{cacheTimestamp}},
appTimestamp: {{appTimestamp}},
basePath: '{{basePath}}',
apiUrl: '{{apiUrl}}',
ajaxTimeout: {{ajaxTimeout}},
internalModuleList: {{internalModuleList}},
bundledModuleList: {{bundledModuleList}},
}, app => {
{{runScript}}
});
});
});
</script>
</head>
<body>
<div class="container content"></div>
<footer>
<p class="credit small">&copy; 2024
<a href="https://www.espocrm.com" title="Powered by EspoCRM" rel="noopener" target="_blank">EspoCRM</a></p>
</footer>
</body>
</html>