wisemapping-open-source/wise-ui/index.html

53 lines
2.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2024-02-04 15:10:32 +08:00
<html>
<head>
2024-02-04 15:10:32 +08:00
<base href="/static/webapp/"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta charset="utf-8"/>
2021-12-27 01:23:51 +08:00
2024-02-04 15:10:32 +08:00
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;600&display=swap"
as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin>
<script>
window.serverconfig = {
2022-04-14 06:16:51 +08:00
apiBaseUrl: '${requestScope['site.baseurl']}',
analyticsAccount: '${requestScope['google.analytics.account']}',
clientType: 'rest',
recaptcha2Enabled: ${requestScope['google.recaptcha2.enabled']},
2022-12-13 10:36:58 +08:00
recaptcha2SiteKey: '${requestScope['google.recaptcha2.siteKey']}',
2022-12-18 09:33:59 +08:00
googleOauth2Url: '${requestScope['security.oauth2.google.url']}'
};
2023-11-21 11:19:57 +08:00
<%-- Hack to force view selection on react to move all the UI to react --%>
2023-07-31 13:31:24 +08:00
window.errorMvcView = '${requestScope['exception']!=null?(fn:indexOf(requestScope['exception'],'SecurityException') gt 1?'securityError':'unexpectedError'):''}';
2023-11-21 11:19:57 +08:00
/*
2023-11-21 11:56:28 +08:00
${requestScope['exception']}
2023-11-21 11:19:57 +08:00
*/
2024-02-04 15:10:32 +08:00
</script>
2023-07-31 13:31:24 +08:00
2024-02-04 15:10:32 +08:00
<script type="text/javascript">
2022-09-13 00:46:02 +08:00
function downloadJsAtOnload() {
setTimeout(function downloadJs() {
var element = document.createElement("script");
element.setAttribute("data-ad-client", "ca-pub-4996113942657337");
element.async = true;
element.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
document.body.appendChild(element);
2022-11-21 01:28:38 +08:00
}, 50);
2022-09-13 00:46:02 +08:00
};
window.addEventListener("load", downloadJsAtOnload, false);
2024-02-04 15:10:32 +08:00
</script>
</head>
<body>
2024-02-04 15:10:32 +08:00
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
2024-02-04 15:10:32 +08:00
<script type="text/javascript" src="/webapp/vendors.bundle.js" crossorigin="anonymous" async></script>
<script type="text/javascript" src="/webapp/app.bundle.js" crossorigin="anonymous" async></script>
</body>
</html>