diff --git a/web/documentserver-example/nodejs/views/wopiAction.ejs b/web/documentserver-example/nodejs/views/wopiAction.ejs new file mode 100644 index 00000000..0ce2007c --- /dev/null +++ b/web/documentserver-example/nodejs/views/wopiAction.ejs @@ -0,0 +1,77 @@ + + + + + + + + + ONLYOFFICE Document Editors + + + + + + + +
+ + +
+ + + + + + + + \ No newline at end of file diff --git a/web/documentserver-example/nodejs/views/wopiIndex.ejs b/web/documentserver-example/nodejs/views/wopiIndex.ejs new file mode 100644 index 00000000..2936dd22 --- /dev/null +++ b/web/documentserver-example/nodejs/views/wopiIndex.ejs @@ -0,0 +1,269 @@ + + + + + + + + + + ONLYOFFICE Document Editors + + + + + + + +
+
+ + ONLYOFFICE + +
+
+
+ + + + + + + +
+
+ Create new +
+
+ + +
+ + + + + + + + + + + + +
+ Username + + +
+ Language + + +
+
+
+
+
+ <% if (storedFiles.length <= 0) + { %> + ONLYOFFICE Document Editors – Welcome! + + Get started with a demo-sample of ONLYOFFICE Document Editors, the first html5-based editors. +
You may upload your own documents for testing using the "Upload file" button and selecting the necessary files on your PC. +
+ <%} else + { %> +
+ Your documents + + + + + + + + + + +
FilenameEditorsViewersDownloadRemove
+
+ + + <% for (var i = 0; i < storedFiles.length; i++) { %> + + + <% if (storedFiles[i].actions && storedFiles[i].actions.length > 0) { %> + <% for (var j = 0; j < storedFiles[i].actions.length; j ++) { %> + + <% } %> + <% } %> + + + + <% } %> + +
+ + <%= storedFiles[i].name %> + + + + <%= storedFiles[i].actions[j].name %> + + + Download + + + Delete +
+
+
+ <% } %> +
+
+
+ +
+
+ +
After these steps are completed, you can work with your document.
+ 1. Loading the file. + The loading speed depends on file size and additional elements it contains. +
+ 2. Conversion. + The file is converted to OOXML so that you can edit it. +
+
+ The file is password protected. +
+
+ +
Enter
+
Skip
+
+ +
+
+ 3. Loading editor scripts. + They are loaded only once, they will be cached on your computer. + +
+
+ Note the speed of all operations depends on your connection quality and server location. +
+
+
+ Upload error: +
Please select another file and try again. +
+
+
+
Edit
+
View
+
Embedded view
+
Cancel
+
+ + + + + + + + + + + + + + + \ No newline at end of file