Commit 11cf0995 authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: new ooffice version and add presentation app

parent 13f7830d
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Jio Web Page View</title>
<link rel="stylesheet" href="gadget_erp5.css">
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="handlebars.js"></script>
<script class="view-web-page-template" type="text/x-handlebars-template">
<form class="view-web-page-form">
<div class="center">
<div class="ui-field-contain">
<label data-i18n="Title:">Title:</label>
<input type="text" name="title" value="{{title}}">
</div>
<button type="submit" data-i18n="Save" style="display:none;">
Save
</button>
</div>
<div class="ui-field-contain">
    
<fieldset data-role="collapsible">
        
<legend>Extra Properties</legend>
<div class="ui-field-contain">
<label data-i18n="Reference:">Reference:</label>
<input type="text" name="reference"
value="{{reference}}">
</div>
<div class="ui-field-contain">
<label data-i18n="Version:">Version:</label>
<input type="text" name="version"
value="{{version}}"></label>
</div>
<div class="ui-field-contain">
<label data-i18n="Language:">Language:</label>
<input type="text" name="language" value="{{language}}">
</div>
<div class="ui-field-contain">
<label data-i18n="Description:">Description:</label>
<textarea name="description">{{description}}</textarea>
</div>
</fieldset>
</div>
<div class='document-content'></div>
</form>
</script>
<script src="gadget_officejs_jio_spreadsheet_view.js"></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Web Script" module="erp5.portal_type"/>
<global name="Web Page" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -63,23 +63,19 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_page_text_list.js</string> </value>
<value> <string>gadget_officejs_jio_presentation_view.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -89,7 +85,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_officejs_page_text_list_js</string> </value>
<value> <string>gadget_officejs_jio_presentation_view_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
......@@ -99,7 +95,7 @@
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Script</string> </value>
<value> <string>Web Page</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
......@@ -109,7 +105,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OfficeJS Text List JS</string> </value>
<value> <string>OfficeJS Jio Presentation View</string> </value>
</item>
<item>
<key> <string>version</string> </key>
......@@ -175,7 +171,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>bk</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -197,7 +193,7 @@
</tuple>
<state>
<tuple>
<float>1450795664.54</float>
<float>1471705737.68</float>
<string>UTC</string>
</tuple>
</state>
......@@ -242,7 +238,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.62792.35325.54596</string> </value>
<value> <string>953.24020.14001.43144</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1450796689.07</float>
<float>1471734203.36</float>
<string>UTC</string>
</tuple>
</state>
......@@ -317,7 +313,7 @@
</tuple>
<state>
<tuple>
<float>1450790931.07</float>
<float>1471705716.16</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -103,6 +103,8 @@
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("translateHtml", "translateHtml")
.declareAcquiredMethod('getSetting', 'getSetting')
.allowPublicAcquisition("getSetting", this_func_link("getSetting"))
.declareAcquiredMethod("jio_get", "jio_get")
.allowPublicAcquisition("jio_get", this_func_link("jio_get"))
.declareAcquiredMethod("jio_put", "jio_put")
......@@ -157,8 +159,7 @@
gadget.props.element.innerHTML = html;
return gadget.updateHeader({
page_title: options.doc.title + " | " + options.doc.portal_type,
back_url: "#page=" +
options.doc.portal_type.toLowerCase() + "_list",
back_url: "#page=document_list",
panel_action: false,
// breadcrumb_url: all_result[4],
save_action: true
......@@ -198,13 +199,11 @@
return text_content_gadget;
})
.push(function (text_content_gadget) {
console.log('prerender');
return text_content_gadget.render({
"jio_key": gadget.options.jio_key
});
})
.push(function () {
console.log('getelement');
return text_gadget.getElement();
})
.push(undefined, function (error) {
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>949.50294.65237.43212</string> </value>
<value> <string>953.24023.27994.54869</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1459107813.53</float>
<float>1471734207.12</float>
<string>UTC</string>
</tuple>
</state>
......
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Add Text Document</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="handlebars.js"></script>
<script src="gadget_officejs_page_add_spreadsheet.js"></script>
</head>
<body>
</body>
</html>
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(function (window, RSVP, rJS) {
"use strict";
var gadget_klass = rJS(window);
gadget_klass
.ready(function (g) {
g.props = {};
return g.getElement()
.push(function (element) {
g.props.element = element;
g.props.deferred = RSVP.defer();
});
})
.declareAcquiredMethod("post", "jio_post")
.declareAcquiredMethod("redirect", "redirect")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareMethod("render", function (options) {
var gadget = this;
gadget.props.options = options;
return gadget.updateHeader({
title: "New Spreadsheet"
})
.push(function () {
gadget.props.deferred.resolve();
});
})
.declareService(function () {
var gadget = this;
return new RSVP.Queue()
.push(function () {
return gadget.props.deferred.promise;
})
.push(function () {
var doc = {
// XXX Hardcoded
parent_relative_url: "document_module",
portal_type: "Spreadsheet",
content_type: "application/yformat.xlsy",
data: "XLSY;v2;2286;BAKAAgAAA+cHAAAEAwgAAADqCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGMFAAAAEQAAAAEMAAAABwEAAAAACAEAAAAABAoAAAAFAAAAAAUAAAAABnwAAAAHGgAAAAQGCgAAAEEAcgBpAGEAbAAGBQAAAAAAACRABxoAAAAEBgoAAABBAHIAaQBhAGwABgUAAAAAAAAkQAcaAAAABAYKAAAAQQByAGkAYQBsAAYFAAAAAAAAJEAHGgAAAAQGCgAAAEEAcgBpAGEAbAAGBQAAAAAAACRACB8AAAAJGgAAAAAGDgAAAEcARQBOAEUAUgBBAEwAAQSkAAAADhYDAAADPwAAAAABAQEBAQMBAQYEAAAAAAcEAAAAAAgEAAAAAAkEpAAAAA0GGAAAAAABBAEEAAAAAAUBAAYEAAAAAAcBAAgBAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQBAAAACQQAAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAEAAAAJBAAAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAgAAAAkEAAAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQCAAAACQQAAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAAAAAAJBAAAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAAAAAAkEAAAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQAAAAACQQAAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAAAAAAJBAAAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAAAAAAkEAAAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQAAAAACQQAAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAAAAAAJBAAAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAAAAAAkEAAAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQAAAAACQQAAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAAAAAAJBAAAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAQAAAAkEKwAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQBAAAACQQpAAAAAyEAAAAAAQABAQADAQEGBAAAAAAHBAAAAAAIBAEAAAAJBCwAAAADIQAAAAABAAEBAAMBAQYEAAAAAAcEAAAAAAgEAQAAAAkEKgAAAAMhAAAAAAEAAQEAAwEBBgQAAAAABwQAAAAACAQBAAAACQQJAAAAAkoAAAADRQAAAAABAAEBAAMBAAYEAAAAAAcEAAAAAAgEAAAAAAkEpAAAAAwEAAAAAA0GGAAAAAABBAEEAAAAAAUBAAYEAAAAAAcBAAgBAA8qAQAAECkAAAAABAAAAAAAAAABAQAAAAAEDAAAAE4AbwByAG0AYQBsAAUEAAAAAAAAABAnAAAAAAQAAAADAAAAAQEAAAAABAoAAABDAG8AbQBtAGEABQQAAAAPAAAAEC8AAAAABAAAAAYAAAABAQAAAAAEEgAAAEMAbwBtAG0AYQAgAFsAMABdAAUEAAAAEAAAABAtAAAAAAQAAAAEAAAAAQEAAAAABBAAAABDAHUAcgByAGUAbgBjAHkABQQAAAARAAAAEDUAAAAABAAAAAcAAAABAQAAAAAEGAAAAEMAdQByAHIAZQBuAGMAeQAgAFsAMABdAAUEAAAAEgAAABArAAAAAAQAAAAFAAAAAQEAAAAABA4AAABQAGUAcgBjAGUAbgB0AAUEAAAAEwAAABgAAAAAAwAAAAEBAAELAAAAAgYAAAAABAAAAADjAAAAAN4AAAABGwAAAAAGDAAAAFMAaABlAGUAdAAxAAEEAQAAAAIBAgIkAAAAAx8AAAABAQACBAEEAAADBAEAAAAEBAAAAAAFBXnalahdiStABAQAAABBADEAFhEAAAAXDAAAAAQBAAAAAQYBAAAAAQsKAAAAAQWamZmZmZkpQA48AAAAAAVxPQrXowA0QAEFKFyPwvUIOkACBXE9CtejADRAAwUoXI/C9Qg6QAQFcT0K16MANEAFBXE9CtejADRADwYAAAAAAQEBAQkQBgAAAAABAQEBAAkAAAAAGAYAAAACAQAAAAAAAAAA",
filename: ".xlsy"
};
return gadget.post(doc);
})
.push(function (data) {
return gadget.redirect({
jio_key: data,
page: "view"
});
});
});
}(window, RSVP, rJS));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Add Text Document</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="handlebars.js"></script>
<script src="gadget_officejs_page_add_text.js"></script>
</head>
<body>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Text Editor List</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_officejs_page_spreadsheet_list.js"></script>
</head>
<body>
<div data-gadget-url="gadget_officejs_widget_listbox.html" data-gadget-scope="listbox"></div>
</body>
</html>
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(function (window, RSVP, rJS) {
"use strict";
rJS(window)
.ready(function (g) {
g.props = {};
return g.getElement()
.push(function (element) {
g.props.element = element;
});
})
.ready(function (g) {
return new RSVP.Queue()
.push(function () {
return RSVP.all([
g.translate("validated"),
g.translate("invalidated"),
g.translate("Not synced!"),
g.translate("Waiting for approval")
]);
})
.push(function (result_list) {
g.props.translation_dict = {
"validated": result_list[0],
"invalidated": result_list[1],
"Not synced!": result_list[2],
"Waiting for approval": result_list[3]
};
});
})
.declareAcquiredMethod("translate", "translate")
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("jio_allDocs", "jio_allDocs")
.allowPublicAcquisition("jio_allDocs", function (param_list) {
var gadget = this;
return this.jio_allDocs.apply(this, param_list)
.push(function (result) {
var i,
len;
for (i = 0, len = result.data.total_rows; i < len; i += 1) {
// XXX jIO does not create UUID with module inside
if (result.data.rows[i].id.indexOf("module") === -1) {
result.data.rows[i].value.state =
gadget.props.translation_dict["Not synced!"];
} else {
result.data.rows[i].value.state =
gadget.props.translation_dict[
result.data.rows[i].value.local_state ||
"Waiting for approval"
];
}
}
return result;
});
})
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
.push(function () {
return gadget.getUrlFor({page: "add_spreadsheet"});
})
.push(function (url) {
return gadget.updateHeader({
title: "Spreadsheets",
add_url: url
});
})
.push(function () {
return gadget.getDeclaredGadget("listbox");
})
.push(function (listbox) {
return listbox.render({
search_page: 'spreadsheet_list',
search: options.search,
column_list: [{
select: 'title',
title: 'Title'
}, {
select: 'reference',
title: 'Reference'
}, {
select: 'language',
title: 'Language'
}, {
select: 'description',
title: 'Description'
}, {
select: 'version',
title: 'version'
}, {
select: 'modification_date',
title: 'Modification Date'
}],
query: {
query: 'portal_type:("Spreadsheet",)',
select_list: ['title', 'reference', 'language',
'description', 'version', 'modification_date'],
limit: [0, 30]
//sort_on: [["date", "descending"]]
}
});
});
});
}(window, RSVP, rJS));
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OfficeJS Text Editor List</title>
<script src="rsvp.js"></script>
<script src="renderjs.js"></script>
<script src="gadget_officejs_page_text_list.js"></script>
</head>
<body>
<div data-gadget-url="gadget_officejs_widget_listbox.html" data-gadget-scope="listbox"></div>
</body>
</html>
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(function (window, RSVP, rJS) {
"use strict";
rJS(window)
.ready(function (g) {
g.props = {};
return g.getElement()
.push(function (element) {
g.props.element = element;
});
})
.ready(function (g) {
return new RSVP.Queue()
.push(function () {
return RSVP.all([
g.translate("validated"),
g.translate("invalidated"),
g.translate("Not synced!"),
g.translate("Waiting for approval")
]);
})
.push(function (result_list) {
g.props.translation_dict = {
"validated": result_list[0],
"invalidated": result_list[1],
"Not synced!": result_list[2],
"Waiting for approval": result_list[3]
};
});
})
.declareAcquiredMethod("translate", "translate")
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("updateHeader", "updateHeader")
.declareAcquiredMethod("jio_allDocs", "jio_allDocs")
.allowPublicAcquisition("jio_allDocs", function (param_list) {
var gadget = this;
return this.jio_allDocs.apply(this, param_list)
.push(function (result) {
var i,
len;
for (i = 0, len = result.data.total_rows; i < len; i += 1) {
// XXX jIO does not create UUID with module inside
if (result.data.rows[i].id.indexOf("module") === -1) {
result.data.rows[i].value.state =
gadget.props.translation_dict["Not synced!"];
} else {
result.data.rows[i].value.state =
gadget.props.translation_dict[
result.data.rows[i].value.local_state ||
"Waiting for approval"
];
}
}
return result;
});
})
.declareMethod("render", function (options) {
var gadget = this;
return new RSVP.Queue()
.push(function () {
return gadget.getUrlFor({page: "add_text"});
})
.push(function (url) {
return gadget.updateHeader({
title: "Texts",
add_url: url
});
})
.push(function () {
return gadget.getDeclaredGadget("listbox");
})
.push(function (listbox) {
return listbox.render({
search_page: 'text_list',
search: options.search,
column_list: [{
select: 'title',
title: 'Title'
}, {
select: 'reference',
title: 'Reference'
}, {
select: 'language',
title: 'Language'
}, {
select: 'description',
title: 'Description'
}, {
select: 'version',
title: 'version'
}, {
select: 'modification_date',
title: 'Modification Date'
}],
query: {
query: 'portal_type:("Text",)',
select_list: ['title', 'reference', 'language',
'description', 'version', 'modification_date'],
limit: [0, 30]
//sort_on: [["date", "descending"]]
}
});
});
});
}(window, RSVP, rJS));
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>OfficeJS Router Gadget</title>
<!-- renderjs -->
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="gadget_officejs_presentation_router.js" type="text/javascript"></script>
</head>
<body>
<script data-renderjs-configuration="portal_type" type="text/x-renderjs-configuration">Presentation</script>
<script data-renderjs-configuration="parent_relative_url" type="text/x-renderjs-configuration">document_module</script>
<script data-renderjs-configuration="document_title" type="text/x-renderjs-configuration">Presentation</script>
<script data-renderjs-configuration="document_title_plural" type="text/x-renderjs-configuration">Presentations</script>
</body>
</html>
\ No newline at end of file
......@@ -63,14 +63,6 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -83,7 +75,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_page_spreadsheet_list.html</string> </value>
<value> <string>gadget_officejs_presentation_router.html</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -93,13 +85,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_officejs_page_spreadsheet_list_html</string> </value>
<value> <string>gadget_officejs_presentation_router_html</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -113,13 +103,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OfficeJS Spreadsheet List</string> </value>
<value> <string>OfficeJS router Gadget</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -179,7 +167,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>cedric.le.ninivin</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -201,7 +189,7 @@
</tuple>
<state>
<tuple>
<float>1448023505.12</float>
<float>1471104996.92</float>
<string>UTC</string>
</tuple>
</state>
......@@ -232,7 +220,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>cedric.le.ninivin</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -246,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.15135.44751.35925</string> </value>
<value> <string>953.13908.13658.50363</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -264,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1448023678.93</float>
<float>1471734252.05</float>
<string>UTC</string>
</tuple>
</state>
......@@ -321,7 +309,7 @@
</tuple>
<state>
<tuple>
<float>1444144295.68</float>
<float>1471091644.76</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -63,14 +63,6 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -79,7 +71,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_page_add_spreadsheet.js</string> </value>
<value> <string>gadget_officejs_presentation_router.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -89,13 +81,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_officejs_page_add_spreadsheet_js</string> </value>
<value> <string>gadget_officejs_presentation_router_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -109,13 +99,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OfficeJS Add Spreadsheet JS</string> </value>
<value> <string>OfficeJS presentation router Gadget JS</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -175,7 +163,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>bk</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -197,7 +185,7 @@
</tuple>
<state>
<tuple>
<float>1444748349.49</float>
<float>1471105019.41</float>
<string>UTC</string>
</tuple>
</state>
......@@ -242,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>949.27357.65103.887</string> </value>
<value> <string>953.23671.55314.54732</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1460461541.6</float>
<float>1471734254.06</float>
<string>UTC</string>
</tuple>
</state>
......@@ -287,7 +275,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>bk</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -317,7 +305,7 @@
</tuple>
<state>
<tuple>
<float>1444748157.13</float>
<float>1471091644.63</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -63,14 +63,6 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/1</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -79,7 +71,7 @@
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_officejs_page_add_text.js</string> </value>
<value> <string>gadget_officejs_presentation_serviceworker.js</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -89,13 +81,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>gadget_officejs_page_add_text_js</string> </value>
<value> <string>gadget_officejs_presentation_serviceworker_js</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......@@ -109,13 +99,11 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>OfficeJS Add Text JS</string> </value>
<value> <string>Office ServiceWorker</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
......@@ -175,7 +163,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>bk</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -197,7 +185,7 @@
</tuple>
<state>
<tuple>
<float>1450795664.47</float>
<float>1471704940.18</float>
<string>UTC</string>
</tuple>
</state>
......@@ -242,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>949.27357.65103.887</string> </value>
<value> <string>953.24296.17360.39816</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1460462926.01</float>
<float>1471767263.95</float>
<string>UTC</string>
</tuple>
</state>
......@@ -317,7 +305,7 @@
</tuple>
<state>
<tuple>
<float>1450790071.96</float>
<float>1471698258.53</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -6,7 +6,7 @@
var gadget_klass = rJS(window),
NAME = "spreadsheet",
MAIN_PAGE_PREFIX = "gadget_officejs_",
DEFAULT_PAGE = NAME + "_list",
DEFAULT_PAGE = "document_list",
REDIRECT_TIMEOUT = 5000;
(function () {
......@@ -14,6 +14,16 @@
jio_erp5_cache_storage;
if ('serviceWorker' in navigator) {
erp5_query = [
"ooffice/apps/common/%",
"ooffice/apps/spreadsheeteditor/main/%",
"ooffice/vendor/%",
"ooffice/sdkjs/common/%",
"ooffice/sdkjs/word/%",
"ooffice/sdkjs/cell/%"
].map(function (currentValue) {
return 'url_string: "' + currentValue + '"';
}).join(' OR ');
erp5_query = erp5_query + ' OR ' + [
"ooffice/gadget_ooffice.js",
"ooffice/gadget_ooffice.html",
"ooffice/apps/require.js",
......@@ -23,23 +33,19 @@
"ooffice/apps/bootstrap.js",
"ooffice/apps/text.js",
"ooffice/apps/xregexp-all-min.js",
"ooffice/apps/jquery.mousewheel.js",
"ooffice/apps/common/%",
"ooffice/apps/spreadsheeteditor/main/%",
"ooffice/sdk/Common/%",
"ooffice/sdk/Excel/%"
"ooffice/apps/jquery.mousewheel.js"
].map(function (currentValue) {
return 'url_string: "' + currentValue + '"';
return 'url_string: ="' + currentValue + '"';
}).join(' OR ');
erp5_query = '(' + erp5_query + ' OR ' + [
erp5_query = erp5_query + ' OR ' + [
"gadget_officejs_spreadsheet_router.html",
"gadget_officejs_spreadsheet_router.js",
"gadget_officejs_page_spreadsheet_list.html",
"gadget_officejs_page_spreadsheet_list.js",
"gadget_officejs_page_document_list.html",
"gadget_officejs_page_document_list.js",
"gadget_officejs_jio_spreadsheet_view.html",
"gadget_officejs_jio_spreadsheet_view.js",
"gadget_officejs_page_add_spreadsheet.html",
"gadget_officejs_page_add_spreadsheet.js",
"gadget_officejs_page_add_document.html",
"gadget_officejs_page_add_document.js",
"gadget_erp5_editor_panel.html",
"gadget_erp5_editor_panel.js",
"URI.js",
......@@ -88,7 +94,7 @@
"erp5_launcher.html"
].map(function (currentValue) {
return '(reference: ="' + currentValue + '")';
}).join(' OR ') + ')';
}).join(' OR ');
jio_erp5_cache_storage = {
type: "query",
......@@ -133,6 +139,15 @@
}
});
/*navigator.serviceWorker.register('gadget_officejs_' + NAME + '_serviceworker.js')
.then(function (reg) {
// registration worked
console.log('Registration succeeded. Scope is ' + reg.scope);
})
.then(undefined, function (error) {
// registration failed
console.log('Registration failed with ' + error);
});*/
jio_erp5_cache_storage.repair().push(function () {
navigator.serviceWorker.register('gadget_officejs_' + NAME + '_serviceworker.js')
.then(function (reg) {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.23423.52750.13294</string> </value>
<value> <string>953.24296.32010.24814</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1467796641.44</float>
<float>1471769908.85</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -14,30 +14,32 @@
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0",
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0",
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular",
"ooffice/apps/spreadsheeteditor/main/resources/img/about/OnlyOffice.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/about/OnlyOffice@2x.png",
"ooffice/apps/common/main/resources/img/about/OnlyOffice.png",
"ooffice/apps/common/main/resources/img/about/OnlyOffice@2x.png",
"ooffice/apps/common/main/resources/img/header/header-logo.png",
"ooffice/apps/common/main/resources/img/header/header-logo@2x.png",
"ooffice/apps/common/main/resources/img/combo-border-size/BorderSize.png",
"ooffice/apps/common/main/resources/img/plugin/icon_add_on_default@2x.png",
"ooffice/apps/common/main/resources/img/plugin/icon_add_on_default.png",
"ooffice/apps/common/main/resources/img/load-mask/loading.gif",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/hsb-colorpicker.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/hsb-colorpicker@2x.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_39x15.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_39x15@2x.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_63x20.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_63x20@2x.png",
"ooffice/apps/common/main/resources/img/controls/common-controls.png",
"ooffice/apps/common/main/resources/img/controls/common-controls@2x.png",
"ooffice/apps/common/main/resources/img/controls/Scroll_center.png",
"ooffice/apps/common/main/resources/img/controls/Scroll_center@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/charttypes.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/charttypes@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/combo-border-size/BorderSize.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/controls/Scroll_center.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/controls/Scroll_center@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/controls/common-controls.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/controls/common-controls@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/docformat.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/docformat@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/file-recent.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/file-recent@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/file-templates.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/file-templates@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/header/header-logo.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/header/header-logo@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/hsb-colorpicker.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/hsb-colorpicker@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/transparency_39x15.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/transparency_39x15@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/transparency_63x20.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/hsbcolorpicker/transparency_63x20@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/load-mask/loading.gif",
"ooffice/apps/spreadsheeteditor/main/resources/img/loading-logo.gif",
"ooffice/apps/spreadsheeteditor/main/resources/img/loading-logo@2x.gif",
"ooffice/apps/spreadsheeteditor/main/resources/img/popupmenu-btns.png",
......@@ -57,15 +59,15 @@
"ooffice/apps/spreadsheeteditor/main/resources/img/toolbar-menu@2x.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/toolbar/BorderSize.png",
"ooffice/apps/spreadsheeteditor/main/resources/img/toolbar/BorderSize@2x.png",
"ooffice/sdk/Common/Images/fonts_thumbnail.png",
"ooffice/sdk/Common/Images/fonts_thumbnail@2x.png",
"ooffice/sdk/Common/Images/marker_format.cur",
"ooffice/sdk/Common/Images/plus.cur",
"ooffice/sdk/Common/Images/plus_2x.cur",
"ooffice/sdk/Common/Images/plus_copy.cur",
"ooffice/sdk/Common/Images/plus_copy_2x.cur",
"ooffice/sdk/Common/Images/text_copy.cur",
"ooffice/sdk/Common/Images/text_copy_2x.cur",
"ooffice/sdkjs/common/Images/fonts_thumbnail.png",
"ooffice/sdkjs/common/Images/fonts_thumbnail@2x.png",
"ooffice/sdkjs/common/Images/marker_format.cur",
"ooffice/sdkjs/common/Images/plus.cur",
"ooffice/sdkjs/common/Images/plus_2x.cur",
"ooffice/sdkjs/common/Images/plus_copy.cur",
"ooffice/sdkjs/common/Images/plus_copy_2x.cur",
"ooffice/sdkjs/common/Images/text_copy.cur",
"ooffice/sdkjs/common/Images/text_copy_2x.cur",
"ooffice_fonts/ef3g15mxfibg65drf348e3o.js",
"ooffice_fonts/ef3g15mxfibg65drjf4gn5djccz8e7dg.js",
"ooffice_fonts/ef3g15mxfijgk35iptozrmuwqtuy.js",
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.18597.7272.54272</string> </value>
<value> <string>953.24852.4371.43878</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1467460249.11</float>
<float>1471768554.56</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -6,7 +6,7 @@
var gadget_klass = rJS(window),
NAME = "text",
MAIN_PAGE_PREFIX = "gadget_officejs_",
DEFAULT_PAGE = NAME + "_list",
DEFAULT_PAGE = "document_list",
REDIRECT_TIMEOUT = 5000;
(function () {
......@@ -14,6 +14,17 @@
jio_erp5_cache_storage;
if ('serviceWorker' in navigator) {
erp5_query = [
"ooffice/apps/common/%",
"ooffice/apps/documenteditor/main/%",
"ooffice/vendor/%",
"ooffice/sdkjs/common/%",
"ooffice/sdkjs/word/%",
"ooffice/sdkjs/cell/model/%",
"ooffice/sdkjs/cell/utils/%"
].map(function (currentValue) {
return 'url_string: "' + currentValue + '"';
}).join(' OR ');
erp5_query = erp5_query + ' OR ' + [
"ooffice/gadget_ooffice.js",
"ooffice/gadget_ooffice.html",
"ooffice/apps/require.js",
......@@ -23,23 +34,19 @@
"ooffice/apps/bootstrap.js",
"ooffice/apps/text.js",
"ooffice/apps/xregexp-all-min.js",
"ooffice/apps/jquery.mousewheel.js",
"ooffice/apps/common/%",
"ooffice/apps/documenteditor/main/%",
"ooffice/sdk/Common/%",
"ooffice/sdk/Word/%"
"ooffice/apps/jquery.mousewheel.js"
].map(function (currentValue) {
return 'url_string: "' + currentValue + '"';
return 'url_string: ="' + currentValue + '"';
}).join(' OR ');
erp5_query = '(' + erp5_query + ' OR ' + [
"gadget_officejs_text_router.html",
"gadget_officejs_text_router.js",
"gadget_officejs_page_text_list.html",
"gadget_officejs_page_text_list.js",
"gadget_officejs_page_document_list.html",
"gadget_officejs_page_document_list.js",
"gadget_officejs_jio_text_view.html",
"gadget_officejs_jio_spreadsheet_view.js",
"gadget_officejs_page_add_text.html",
"gadget_officejs_page_add_text.js",
"gadget_officejs_page_add_document.html",
"gadget_officejs_page_add_document.js",
"gadget_erp5_editor_panel.html",
"gadget_erp5_editor_panel.js",
"URI.js",
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.23423.52750.13294</string> </value>
<value> <string>953.24890.11410.5649</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1467800965.21</float>
<float>1471769918.23</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -13,13 +13,22 @@
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0",
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0",
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular",
"ooffice/apps/documenteditor/main/resources/img/about/OnlyOffice.png",
"ooffice/apps/documenteditor/main/resources/img/about/OnlyOffice@2x.png",
"ooffice/apps/common/main/resources/img/about/OnlyOffice.png",
"ooffice/apps/common/main/resources/img/about/OnlyOffice@2x.png",
"ooffice/apps/common/main/resources/img/controls/common-controls.png",
"ooffice/apps/common/main/resources/img/controls/common-controls@2x.png",
"ooffice/apps/common/main/resources/img/header/header-logo.png",
"ooffice/apps/common/main/resources/img/header/header-logo@2x.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/hsb-colorpicker.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/hsb-colorpicker@2x.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_39x15.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_39x15@2x.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_63x20.png",
"ooffice/apps/common/main/resources/img/hsbcolorpicker/transparency_63x20@2x.png",
"ooffice/apps/common/main/resources/img/load-mask/loading.gif",
"ooffice/apps/documenteditor/main/resources/img/combo-border-size/BorderSize.png",
"ooffice/apps/documenteditor/main/resources/img/controls/Scroll_center.png",
"ooffice/apps/documenteditor/main/resources/img/controls/Scroll_center@2x.png",
"ooffice/apps/documenteditor/main/resources/img/controls/common-controls.png",
"ooffice/apps/documenteditor/main/resources/img/controls/common-controls@2x.png",
"ooffice/apps/documenteditor/main/resources/img/controls/dimension-picker/dimension-highlighted.png",
"ooffice/apps/documenteditor/main/resources/img/controls/dimension-picker/dimension-highlighted@2x.png",
"ooffice/apps/documenteditor/main/resources/img/controls/dimension-picker/dimension-unhighlighted.png",
......@@ -32,15 +41,6 @@
"ooffice/apps/documenteditor/main/resources/img/file-template-default@2x.png",
"ooffice/apps/documenteditor/main/resources/img/file-templates-blank.png",
"ooffice/apps/documenteditor/main/resources/img/file-templates-blank@2x.png",
"ooffice/apps/documenteditor/main/resources/img/header/header-logo.png",
"ooffice/apps/documenteditor/main/resources/img/header/header-logo@2x.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/hsb-colorpicker.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/hsb-colorpicker@2x.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/transparency_39x15.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/transparency_39x15@2x.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/transparency_63x20.png",
"ooffice/apps/documenteditor/main/resources/img/hsbcolorpicker/transparency_63x20@2x.png",
"ooffice/apps/documenteditor/main/resources/img/load-mask/loading.gif",
"ooffice/apps/documenteditor/main/resources/img/loading-logo.gif",
"ooffice/apps/documenteditor/main/resources/img/loading-logo@2x.gif",
"ooffice/apps/documenteditor/main/resources/img/popupmenu-btns.png",
......@@ -83,15 +83,15 @@
"ooffice/apps/documenteditor/main/resources/img/toolbar/multilevels-numbering@2x.png",
"ooffice/apps/documenteditor/main/resources/img/toolbar/nocolor.png",
"ooffice/apps/documenteditor/main/resources/img/toolbar/text_styles.png",
"ooffice/sdk/Common/Images/fonts_thumbnail.png",
"ooffice/sdk/Common/Images/fonts_thumbnail@2x.png",
"ooffice/sdk/Common/Images/marker_format.cur",
"ooffice/sdk/Common/Images/plus.cur",
"ooffice/sdk/Common/Images/plus_2x.cur",
"ooffice/sdk/Common/Images/plus_copy.cur",
"ooffice/sdk/Common/Images/plus_copy_2x.cur",
"ooffice/sdk/Common/Images/text_copy.cur",
"ooffice/sdk/Common/Images/text_copy_2x.cur",
"ooffice/sdkjs/common/Images/fonts_thumbnail.png",
"ooffice/sdkjs/common/Images/fonts_thumbnail@2x.png",
"ooffice/sdkjs/common/Images/marker_format.cur",
"ooffice/sdkjs/common/Images/plus.cur",
"ooffice/sdkjs/common/Images/plus_2x.cur",
"ooffice/sdkjs/common/Images/plus_copy.cur",
"ooffice/sdkjs/common/Images/plus_copy_2x.cur",
"ooffice/sdkjs/common/Images/text_copy.cur",
"ooffice/sdkjs/common/Images/text_copy_2x.cur",
"ooffice_fonts/ef3g15mxfibg65drf348e3o.js",
"ooffice_fonts/ef3g15mxfibg65drjf4gn5djccz8e7dg.js",
"ooffice_fonts/ef3g15mxfijgk35iptozrmuwqtuy.js",
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.17059.29170.50995</string> </value>
<value> <string>953.22774.64599.10956</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1467458879.51</float>
<float>1471734280.02</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>header</string> </value>
<value> <string>common</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>about</string> </value>
<value> <string>main</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>resources</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -14,7 +14,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>sdk</string> </value>
<value> <string>img</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>plugin</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>icon_add_on_default@2x.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>icon_add_on_default@2x.png</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>icon_add_on_default.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>icon_add_on_default.png</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>OnlyOffice@2x.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>110</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>680</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>OnlyOffice.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>55</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>340</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
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