diff --git a/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css b/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css index 954e588e..2efc0e68 100644 --- a/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css +++ b/web/documentserver-example/nodejs/public/stylesheets/stylesheet.css @@ -74,6 +74,23 @@ header img { margin-bottom: 20px; width: 600px; } +pre +{ + border: 1px solid #CCC; + background-color: #fff; + border-radius: 3px; + display: block; + font-family: Monaco,Andale Mono,Courier New,monospace; + font-size: 12px; + line-height: 18px; + margin: 18px 0 24px; + padding: 8px; + white-space: pre-wrap; + word-wrap: break-word; +} +pre.hljs { + padding-left: 35px; +} .features-list { padding-left: 16px; list-style: outside none disc; diff --git a/web/documentserver-example/nodejs/views/index.ejs b/web/documentserver-example/nodejs/views/index.ejs index 1f06eb39..696e5a6e 100644 --- a/web/documentserver-example/nodejs/views/index.ejs +++ b/web/documentserver-example/nodejs/views/index.ejs @@ -221,8 +221,16 @@ Explore ONLYOFFICEâ„¢ Integration Edition API Documentation.
-
-
+
+ Warning +
+ This is a test example used for demonstration purposes only and it can be accessed by anyone. Once you finish examining it, we recommend that you disable this example for security reasons. This is done running the following commands: +
+sudo docker exec $(sudo docker ps -q) sudo supervisorctl stop onlyoffice-documentserver:example
+
+sudo docker exec $(sudo docker ps -q) sudo sed 's,autostart=true,autostart=false,' -i /etc/supervisor/conf.d/onlyoffice-documentserver-example.conf
+
+
Any questions?