2021-08-06 10:55:26 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< title > Documents< / title >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0, user-scalable=no" >
< meta name = "description" content = "" >
< meta name = "author" content = "" >
<!-- debug begin -->
< link rel = "stylesheet/less" type = "text/css" href = "resources/less/application.less" / >
<!-- debug end -->
<!-- splash -->
< style type = "text/css" >
2021-09-27 15:14:01 +00:00
.theme-dark {
--background-toolbar: #404040;
--border-toolbar: #2a2a2a;
--highlight-button-hover: #555;
--canvas-background: #555;
}
.theme-classic-light {
}
.theme-light {
--background-toolbar: #f7f7f7;
--border-toolbar: #cbcbcb;
--highlight-button-hover: #e0e0e0;
--canvas-background: #eee;
}
2021-08-06 10:55:26 +00:00
.loadmask {
left: 0;
top: 0;
position: absolute;
height: 100%;
width: 100%;
overflow: hidden;
border: none;
2021-09-27 15:14:01 +00:00
background-color: #e2e2e2;
background-color: var(--canvas-background, #e2e2e2);
2021-09-01 22:11:52 +00:00
z-index: 1001;
2021-08-06 10:55:26 +00:00
}
.loadmask > .brendpanel {
width: 100%;
position: absolute;
height: 48px;
background-color: #F7F7F7;
2021-09-27 15:14:01 +00:00
background-color: var(--background-toolbar, #F7F7F7);
-webkit-box-shadow: inset 0 -1px 0 #cbcbcb;
box-shadow: inset 0 -1px 0 #cbcbcb;
-webkit-box-shadow: inset 0 -1px 0 var(--border-toolbar, #cbcbcb);
box-shadow: inset 0 -1px 0 var(--border-toolbar, #cbcbcb);
2021-08-06 10:55:26 +00:00
}
.loadmask > .brendpanel > div {
display: flex;
align-items: center;
height: 100%;
}
.loadmask > .brendpanel .loading-logo {
max-width: 200px;
2021-09-27 15:14:01 +00:00
height: 20px;
2021-08-06 10:55:26 +00:00
margin-left: 10px;
text-align: center;
}
.loadmask > .brendpanel .loading-logo > img {
display: inline-block;
max-width: 100px;
max-height: 20px;
opacity: 0;
}
.loadmask > .brendpanel .doc-title {
flex-grow: 1;
}
.loadmask > .brendpanel .circle {
vertical-align: middle;
2021-09-27 15:14:01 +00:00
width: 20px;
height: 20px;
2021-08-06 10:55:26 +00:00
border-radius: 12px;
margin: 4px 10px;
background: rgba(255, 255, 255, 0.2);
}
.loadmask > .placeholder {
background: #fbfbfb;
width: 100%;
height: 100%;
padding-top: 56px;
}
.loadmask > .placeholder > .line {
height: 15px;
margin: 30px;
2021-09-27 15:14:01 +00:00
background: rgba(0,0,0,.05);
2021-08-06 10:55:26 +00:00
overflow: hidden;
position: relative;
-webkit-animation: flickerAnimation 2s infinite ease-in-out;
-moz-animation: flickerAnimation 2s infinite ease-in-out;
-o-animation: flickerAnimation 2s infinite ease-in-out;
animation: flickerAnimation 2s infinite ease-in-out;
}
@keyframes flickerAnimation {
0% { opacity:0.1; }
50% { opacity:1; }
100% { opacity:0.1; }
}
@-o-keyframes flickerAnimation{
0% { opacity:0.1; }
50% { opacity:1; }
100% { opacity:0.1; }
}
@-moz-keyframes flickerAnimation{
0% { opacity:0.1; }
50% { opacity:1; }
100% { opacity:0.1; }
}
@-webkit-keyframes flickerAnimation{
0% { opacity:0.1; }
50% { opacity:1; }
100% { opacity:0.1; }
}
< / style >
<!-- [if lt IE 9]>
< script src = "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" > < / script >
<![endif]-->
< / head >
2021-09-24 14:21:05 +00:00
< body class = "embed-body" >
2021-08-06 10:55:26 +00:00
< script src = "../../common/main/lib/util/htmlutils.js" > < / script >
< div id = "loading-mask" class = "loadmask" > < div class = "brendpanel" > < div > < div class = "brand-logo loading-logo" > < img src = "" > < / div > < div class = "doc-title" > < / div > < div class = "circle" > < / div > < / div > < / div > < div class = "placeholder" > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < div class = "line" > < / div > < / div > < / div >
< script >
var userAgent = navigator.userAgent.toLowerCase(),
2021-09-01 22:11:52 +00:00
check = function(regex){ return regex.test(userAgent); },
stopLoading = false;
2021-08-06 10:55:26 +00:00
if (!check(/opera/) & & (check(/msie/) || check(/trident/))) {
var m = /msie (\d+\.\d+)/.exec(userAgent);
if (m & & parseFloat(m[1]) < 10.0 ) {
document.write(
'< div id = "id-error-mask" class = "errormask" > ',
'< div class = "error-body" align = "center" > ',
'< div id = "id-error-mask-title" class = "title" > Your browser is not supported.< / div > ',
2021-09-01 22:11:52 +00:00
'< div id = "id-error-mask-text" > Sorry, Document Editor is currently only supported in the latest versions of the Chrome, Firefox, Safari or Internet Explorer web browsers.< / div > ',
2021-08-06 10:55:26 +00:00
'< / div > ',
'< / div > '
);
2021-09-01 22:11:52 +00:00
stopLoading = true;
2021-08-06 10:55:26 +00:00
}
2021-09-01 22:11:52 +00:00
} else
if (check(/windows\snt/i)) {
var re = /chrome\/(\d+)/i.exec(userAgent);
if (!!re & & !!re[1] & & !(re[1] > 49)) {
setTimeout(function () {
document.getElementsByTagName('body')[0].className += "winxp";
},0);
}
2021-08-06 10:55:26 +00:00
}
function getUrlParams() {
var e,
a = /\+/g, // Regex for replacing addition symbol with a space
r = /([^& =]+)=?([^& ]*)/g,
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
q = window.location.search.substring(1),
urlParams = {};
while (e = r.exec(q))
urlParams[d(e[1])] = d(e[2]);
return urlParams;
}
function encodeUrlParam(str) {
return str.replace(/"/g, '" ')
.replace(/'/g, '' ')
.replace(/< /g, '< ')
.replace(/>/g, '> ');
}
var params = getUrlParams(),
lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
logo = params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : null;
window.frameEditorId = params["frameEditorId"];
window.parentOrigin = params["parentOrigin"];
2021-09-01 22:11:52 +00:00
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent))
document.write('< script src = "../../common/main/lib/util/fix-ie-compat.js" > < \ / s c r i p t > ' ) ;
if (stopLoading) {
document.body.removeChild(document.getElementById('loading-mask'));
} else {
var elem = document.querySelector('.loading-logo');
if (elem & & logo) {
elem.style.backgroundImage= 'none';
2021-09-21 21:53:08 +00:00
elem.style.width = 'auto';
elem.style.height = 'auto';
2021-09-01 22:11:52 +00:00
var img = document.querySelector('.loading-logo img');
img & & img.setAttribute('src', logo);
img.style.opacity = 1;
}
2021-08-06 10:55:26 +00:00
}
2021-09-01 22:11:52 +00:00
< / script >
2021-08-06 10:55:26 +00:00
< div id = "editor_sdk" class = "viewer" style = "overflow: hidden;" tabindex = "-1" > < / div >
< div class = "overlay-controls" style = "margin-left: -32px" >
< ul class = "left" >
< li id = "id-btn-zoom-in" > < button class = "overlay svg-icon zoom-up" > < / button > < / li >
< li id = "id-btn-zoom-out" > < button class = "overlay svg-icon zoom-down" > < / button > < / li >
< / ul >
< / div >
< div class = "toolbar" id = "toolbar" >
< div class = "group left" >
< div class = "margin-right-large" > < a id = "header-logo" class = "brand-logo" href = "http://www.onlyoffice.com/" target = "_blank" > < / a > < / div >
2021-08-18 18:29:47 +00:00
< span id = "id-btn-prev-field" class = "margin-right-small" > < / span >
< span id = "id-btn-next-field" class = "margin-right-large" > < / span >
< span id = "id-btn-clear-fields" > < / span >
2021-08-06 10:55:26 +00:00
< / div >
< div class = "group center" >
< span id = "title-doc-name" > < / span >
< / div >
< div class = "group right" >
2021-08-18 21:52:04 +00:00
< div id = "id-pages" class = "item margin-right-small" style = "vertical-align: middle;" >
< div id = "page-number" style = "display: inline-block; vertical-align: middle;" > < / div > < span class = "text" id = "pages" tabindex = "-1" > of 1< / span >
< / div >
2021-08-19 20:09:18 +00:00
< div id = "id-submit-group" style = "display: inline-block;" > < / div >
2021-08-07 08:44:58 +00:00
< span id = "box-tools" > < / span >
2021-08-06 10:55:26 +00:00
< / div >
< / div >
2021-09-27 17:02:29 +00:00
<!-- debug begin -->
< script type = "text/javascript" > var less = less || { } ; less . env = 'development' ; < / script >
< script src = "../../../vendor/less/dist/less.js" type = "text/javascript" > < / script >
<!-- debug end -->
2021-08-06 10:55:26 +00:00
<!-- vendor -->
< script type = "text/javascript" src = "../../../vendor/jquery/jquery.min.js" > < / script >
< script type = "text/javascript" src = "../../../vendor/xregexp/xregexp-all-min.js" > < / script >
< script type = "text/javascript" src = "../../../../sdkjs/develop/sdkjs/word/scripts.js" > < / script >
< script >
window.sdk_scripts.forEach(function(item){
document.write('< script type = "text/javascript" src = "' + item + '" > < \ / s c r i p t > ' ) ;
});
2021-09-01 22:11:52 +00:00
window.requireTimeourError = function(){
var reqerr;
2021-08-06 10:55:26 +00:00
2021-09-01 22:11:52 +00:00
if ( lang == 'de') reqerr = 'Die Verbindung ist zu langsam, einige Komponenten konnten nicht geladen werden. Aktualisieren Sie bitte die Seite.';
else if ( lang == 'es') reqerr = 'La conexión es muy lenta, algunos de los componentes no han podido cargar. Por favor recargue la página.';
else if ( lang == 'fr') reqerr = 'La connexion est trop lente, certains des composants n\'ons pas pu être chargé. Veuillez recharger la page.';
else if ( lang == 'ru') reqerr = 'Слишком медленное соединение, не удается загрузить некоторые компоненты. Пожалуйста, обновите страницу.';
else reqerr = 'The connection is too slow, some of the components could not be loaded. Please reload the page.';
2021-08-06 10:55:26 +00:00
2021-09-01 22:11:52 +00:00
return reqerr;
};
2021-08-06 10:55:26 +00:00
< / script >
< script data-main = "app_dev" src = "../../../vendor/requirejs/require.js" > < / script >
< / body >
< / html >