2024-03-19 10:43:47 +00:00
|
|
|
|
<!doctype html>
|
2024-03-05 17:43:50 +00:00
|
|
|
|
<html lang="en" translate="no">
|
2020-09-23 15:42:47 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
<meta
|
|
|
|
|
name="viewport"
|
2020-12-30 09:15:50 +00:00
|
|
|
|
content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
|
2020-09-23 15:42:47 +00:00
|
|
|
|
/>
|
|
|
|
|
<meta name="theme-color" content="#000000" />
|
2024-03-05 17:43:50 +00:00
|
|
|
|
<meta name="google" content="notranslate" />
|
2019-05-15 14:56:09 +00:00
|
|
|
|
<!--
|
|
|
|
|
manifest.json provides metadata used when your web app is added to the
|
|
|
|
|
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
|
|
|
|
|
-->
|
2024-04-04 14:31:39 +00:00
|
|
|
|
<link id="favicon" rel="icon" type="image/x-icon" href="/logo.ashx?logotype=3" />
|
2020-09-23 15:42:47 +00:00
|
|
|
|
|
2023-01-24 14:37:18 +00:00
|
|
|
|
<link rel="manifest" href="/manifest.json" />
|
2019-12-03 14:04:40 +00:00
|
|
|
|
<!-- Tell the browser it's a PWA -->
|
2022-05-25 07:53:39 +00:00
|
|
|
|
<!-- <meta name="mobile-web-app-capable" content="yes" /> -->
|
2019-12-03 14:04:40 +00:00
|
|
|
|
<!-- Tell iOS it's a PWA -->
|
2022-05-25 07:53:39 +00:00
|
|
|
|
<!-- <meta name="apple-mobile-web-app-capable" content="yes" /> -->
|
2022-05-25 12:53:26 +00:00
|
|
|
|
|
2022-05-26 14:35:59 +00:00
|
|
|
|
<meta name="react-apple-itunes-app" content="app-id=944896972" />
|
|
|
|
|
<meta
|
|
|
|
|
name="react-google-play-app"
|
|
|
|
|
content="app-id=com.onlyoffice.documents"
|
|
|
|
|
/>
|
2022-05-25 12:53:26 +00:00
|
|
|
|
|
2023-01-23 13:13:51 +00:00
|
|
|
|
<!-- <%= htmlWebpackPlugin.options.custom %> -->
|
2022-05-19 15:47:51 +00:00
|
|
|
|
|
2020-09-17 07:18:44 +00:00
|
|
|
|
<style type="text/css">
|
2020-09-23 15:42:47 +00:00
|
|
|
|
body {
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
|
}
|
2020-09-17 07:18:44 +00:00
|
|
|
|
</style>
|
2021-03-10 15:31:21 +00:00
|
|
|
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
2020-09-23 15:42:47 +00:00
|
|
|
|
</head>
|
2021-09-13 09:54:59 +00:00
|
|
|
|
<body ondragstart="return false">
|
2020-09-23 15:42:47 +00:00
|
|
|
|
<noscript> You need to enable JavaScript to run this app. </noscript>
|
|
|
|
|
|
2019-05-15 14:56:09 +00:00
|
|
|
|
<div id="root"></div>
|
|
|
|
|
<!--
|
|
|
|
|
This HTML file is a template.
|
|
|
|
|
If you open it directly in the browser, you will see an empty page.
|
|
|
|
|
|
|
|
|
|
You can add webfonts, meta tags, or analytics to this file.
|
|
|
|
|
The build step will place the bundled scripts into the <body> tag.
|
|
|
|
|
|
|
|
|
|
To begin the development, run `npm start` or `yarn start`.
|
|
|
|
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
|
|
|
-->
|
2023-11-12 23:25:32 +00:00
|
|
|
|
<script src="<%= htmlWebpackPlugin.options.browserDetectorUrl %>"></script>
|
2020-12-29 14:19:02 +00:00
|
|
|
|
<script>
|
2021-03-01 12:28:51 +00:00
|
|
|
|
console.log("It's WEB CLIENT INIT");
|
2023-11-12 23:25:32 +00:00
|
|
|
|
fetch("<%= htmlWebpackPlugin.options.configUrl %>")
|
2022-12-20 16:51:49 +00:00
|
|
|
|
.then((response) => {
|
|
|
|
|
if (!response.ok) {
|
|
|
|
|
throw new Error("HTTP error " + response.status);
|
|
|
|
|
}
|
|
|
|
|
return response.json();
|
|
|
|
|
})
|
|
|
|
|
.then((config) => {
|
|
|
|
|
window.DocSpaceConfig = {
|
|
|
|
|
...config,
|
|
|
|
|
};
|
2023-09-04 11:40:03 +00:00
|
|
|
|
|
2023-11-12 23:25:32 +00:00
|
|
|
|
if (
|
|
|
|
|
window.navigator.userAgent.includes("ZoomWebKit") ||
|
|
|
|
|
window.navigator.userAgent.includes("ZoomApps")
|
|
|
|
|
) {
|
2023-09-04 11:40:03 +00:00
|
|
|
|
window.DocSpaceConfig.editor = {
|
|
|
|
|
openOnNewPage: false,
|
2023-11-12 23:25:32 +00:00
|
|
|
|
requestClose: true,
|
2023-09-04 11:40:03 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//console.log({ DocSpaceConfig: window.DocSpaceConfig });
|
2022-12-20 16:51:49 +00:00
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
console.error(e);
|
2024-03-28 12:32:05 +00:00
|
|
|
|
window.DocSpaceConfig = {
|
|
|
|
|
errorOnLoad: e,
|
|
|
|
|
};
|
2022-12-20 16:51:49 +00:00
|
|
|
|
});
|
2020-12-29 14:19:02 +00:00
|
|
|
|
</script>
|
2020-09-23 15:42:47 +00:00
|
|
|
|
</body>
|
2019-05-15 14:56:09 +00:00
|
|
|
|
</html>
|