Commit e2a4bdef authored by Roque's avatar Roque

erp5_officejs: text editor about page

parent 221d7c22
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Text Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script> <script data-renderjs-configuration="web_page_dict" type="text/x-renderjs-configuration"> {"front_page": 0, "upload_button": 0, "download_button": 0, "editable": 1, "hide_add_button": 0, "jump_button": 0, "fast_input_button": 0, "export_button": 0, "filter_action": 0, "panel_action": 1, "previous_next_button": 1, "history_previous_link": 1, "title": "Text Document", "hide_listbox_buttons": 1, "blob_type": "", "blob_create_object_url": 0}</script>
<script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script> <script data-renderjs-configuration="erp5_attachment_synchro" type="text/x-renderjs-configuration"></script>
<script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">n692ixxhyg9zhqs</script> <script data-renderjs-configuration="dropbox_app_key" type="text/x-renderjs-configuration">n692ixxhyg9zhqs</script>
<script data-renderjs-configuration="about_page" type="text/x-renderjs-configuration">ojs_text_editor_about</script>
<div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div> <div data-gadget-url="gadget_erp5_router.html" data-gadget-scope="erp5_router"></div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>978.36776.33713.12509</string> </value> <value> <string>1001.4457.58966.15581</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1568972733.17</float> <float>1655831657.11</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gadget OfficeJS Text Editor About</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_erp5_page_ojs_text_editor_about.js"></script>
<link rel="stylesheet" href="gadget_erp5_page_ojs_about.css">
</head>
<body>
<div class="about-page">
<h1>OfficeJS Text Editor</h1>
<p style="margin-bottom: 10px;">OfficeJS Text Editor app is a progressive web application developed with <a href="https://renderjs.nexedi.com/">renderJS</a> and <a href="https://jio.nexedi.com">jIO</a> under the premises of <b>privacy</b> and <b>availability</b>, meaning users are free to choose their storage, can work offline and synchronize their work easily. Text editor application is developed, maintained and used by <a href="https://www.nexedi.com/">Nexedi</a>, and its code can be found <a href="https://lab.nexedi.com/nexedi/erp5/tree/master/bt5/erp5_officejs" target="_blank">here</a>.</p>
<p></p>
<p>The editor itself is based on <a href="https://ckeditor.com/">CKEditor</a> software. The source code of <b>CKEditor</b> can be found <a href="https://github.com/ckeditor/" target="_blank">here</a>.</p>
<h1>Licence</h1>
<p>OfficeJS Text Editor is <a href="http://www.fsf.org/">Free Software</a>, licensed under the terms of the <a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU GPL v3 (or later)</a>. For details, please see <a href="https://www.nexedi.com/licensing">Nexedi licensing</a>.</p>
</div>
</body>
</html>
\ No newline at end of file
/*global window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("getSetting", "getSetting")
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("notifySubmitting", "notifySubmitting")
.declareAcquiredMethod("notifySubmitted", "notifySubmitted")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
//TODO: get history previous link?
/*.push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'display'})
]);
})*/
.push(function (url_list) {
return gadget.updateHeader({
page_title: "About Page"
});
});
});
}(window, rJS, RSVP, jIO));
\ No newline at end of file
...@@ -4,6 +4,9 @@ url_list = [ ...@@ -4,6 +4,9 @@ url_list = [
"gadget_officejs_text_editor.json", "gadget_officejs_text_editor.json",
"officejs_logo_text_editor.png", "officejs_logo_text_editor.png",
"gadget_officejs_text_editor_router.html", "gadget_officejs_text_editor_router.html",
"gadget_erp5_page_ojs_text_editor_about.html",
"gadget_erp5_page_ojs_text_editor_about.js",
"gadget_erp5_page_ojs_about.css",
] ]
return url_list return url_list
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment