Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastien Robin
erp5
Commits
703979e4
Commit
703979e4
authored
8 years ago
by
Vincent Bechu
Browse files
Options
Download
Email Patches
Plain Diff
erp5_officejs_jquery_app: create bt for jquery based application, add image editor
parent
fb0fdae3
Changes
155
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
6234 additions
and
0 deletions
+6234
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_landing_page_html.html
...eb_page_module/gadget_image_editor_landing_page_html.html
+68
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_landing_page_html.xml
...web_page_module/gadget_image_editor_landing_page_html.xml
+327
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_appcache.xml
...web_page_module/gadget_image_editor_officejs_appcache.xml
+411
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_gadget_appcache.xml
...e_module/gadget_image_editor_officejs_gadget_appcache.xml
+405
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_html.html
...em/web_page_module/gadget_image_editor_officejs_html.html
+318
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_html.xml
...tem/web_page_module/gadget_image_editor_officejs_html.xml
+366
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_js.js
...teItem/web_page_module/gadget_image_editor_officejs_js.js
+54
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_js.xml
...eItem/web_page_module/gadget_image_editor_officejs_js.xml
+325
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_router_html.html
...page_module/gadget_image_editor_officejs_router_html.html
+24
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_router_html.xml
..._page_module/gadget_image_editor_officejs_router_html.xml
+366
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_html.html
...b_page_module/gadget_image_editor_officejs_view_html.html
+58
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_html.xml
...eb_page_module/gadget_image_editor_officejs_view_html.xml
+329
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.js
...m/web_page_module/gadget_image_editor_officejs_view_js.js
+234
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.xml
.../web_page_module/gadget_image_editor_officejs_view_js.xml
+325
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor.xml
...athTemplateItem/web_site_module/officejs_image_editor.xml
+735
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor/development.xml
...tem/web_site_module/officejs_image_editor/development.xml
+559
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget.xml
...lateItem/web_site_module/officejs_image_editor_gadget.xml
+735
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget/development.xml
..._site_module/officejs_image_editor_gadget/development.xml
+557
-0
bt5/erp5_officejs_jquery_app/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+6
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_officejs_image_editor.xml
...nTemplateItem/portal_skins/erp5_officejs_image_editor.xml
+32
-0
No files found.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_landing_page_html.html
0 → 100644
View file @
703979e4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"shortcut icon"
href=
"favicon.ico"
>
<title>
Image Editor
</title>
<link
href=
"//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"jquerymobile.css"
>
<link
rel=
"stylesheet"
href=
"gadget_erp5.css"
>
<base
href=
""
>
<script
data-renderjs-configuration=
"application_title"
type=
"text/x-renderjs-configuration"
>
Image
Editor
</script>
<script
data-renderjs-configuration=
"panel_gadget"
type=
"text/x-renderjs-configuration"
>
gadget_officejs_application_panel
.
html
</script>
<script
data-renderjs-configuration=
"action_view"
type=
"text/x-renderjs-configuration"
>
object_view
</script>
<script
data-renderjs-configuration=
"default_view_reference"
type=
"text/x-renderjs-configuration"
>
view
</script>
<script
data-renderjs-configuration=
"hateoas_url"
type=
"text/x-renderjs-configuration"
>
hateoas
/
</script>
<script
data-renderjs-configuration=
"frontpage_gadget"
type=
"text/x-renderjs-configuration"
>
worklist
</script>
<script
src=
"jquery.js"
></script>
<script
src=
"jquerymobile.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"gadget_global.js"
></script>
<script
src=
"erp5_launcher.js"
></script>
</head>
<body>
<div
data-role=
"page"
>
<div
data-gadget-url=
"gadget_jio.html"
data-gadget-scope=
"setting_gadget"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_officejs_image_editor_router.html"
data-gadget-scope=
"router"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_translation.html"
data-gadget-scope=
"translation_gadget"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_officejs_header.html"
data-gadget-scope=
"header"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_officejs_jio.html"
data-gadget-scope=
"jio_gadget"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_erp5_editor_panel.html"
data-gadget-scope=
"editor_panel"
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"gadget_officejs_application_panel.html"
data-gadget-scope=
"panel"
data-gadget-sandbox=
"public"
></div>
<div
role=
"main"
class=
"ui-content gadget-content"
></div>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_landing_page_html.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</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>
image_editor_landing_page.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_landing_page_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Image Editor Landing Page
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630138.95
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.13422.20656.62003
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486637807.12
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486568513.49
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_appcache.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Manifest"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</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>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_image_editor.appcache
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_appcache
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Manifest
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
CACHE MANIFEST\n
# generated on Fri, 09 Jun 2016 11:45:33 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0\n
https://netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular\n
gadget_officejs_liberator.html\n
gadget_officejs_liberator.js\n
jio_mappingstorage.js\n
URI.js\n
dygraph.js\n
gadget_erp5.css\n
gadget_global.js\n
gadget_jio.html\n
gadget_jio.js\n
gadget_translate.html\n
gadget_translate.js\n
handlebars.js\n
jiodev.js\n
jquery.js\n
jquerymobile.css\n
jquerymobile.js\n
renderjs.js\n
rsvp.js\n
gadget_officejs_header.html\n
gadget_officejs_jio.html\n
gadget_officejs_page_add_document.html\n
gadget_officejs_page_jio_configurator.html\n
gadget_officejs_page_jio_dav_configurator.html\n
gadget_officejs_page_jio_erp5_configurator.html\n
gadget_officejs_page_jio_dropbox_configurator.html\n
gadget_officejs_page_login.html\n
gadget_officejs_page_logout.html\n
gadget_officejs_page_share_webrtc_jio.html\n
gadget_officejs_page_sync.html\n
gadget_officejs_page_document_list.html\n
gadget_officejs_application_panel.html\n
gadget_translation.html\n
gadget_officejs_webrtc_jio.html\n
gadget_officejs_widget_listbox.html\n
gadget_erp5_editor_panel.html\n
gadget_erp5_editor_panel.js\n
gadget_officejs_header.js\n
gadget_officejs_jio.js\n
gadget_officejs_page_add_document.js\n
gadget_officejs_page_jio_configurator.js\n
gadget_officejs_page_jio_dav_configurator.js\n
gadget_officejs_page_jio_erp5_configurator.js\n
gadget_officejs_page_jio_dropbox_configurator.js\n
gadget_officejs_page_login.js\n
gadget_officejs_page_logout.js\n
gadget_officejs_page_share_webrtc_jio.js\n
gadget_officejs_page_sync.js\n
gadget_officejs_page_document_list.js\n
gadget_officejs_router.js\n
gadget_officejs_application_panel.js\n
gadget_translation.js\n
gadget_translation_data.js\n
gadget_officejs_webrtc_jio.js\n
gadget_officejs_widget_listbox.js\n
erp5_launcher.js\n
erp5_launcher.html\n
/\n
gadget_officejs_image_editor_router.html\n
gadget_officejs_jio_image_view.html\n
gadget_officejs_jio_image_view.js\n
NETWORK:\n
*
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Image Editor OfficeJS AppCache
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630147.41
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.29602.29356.10683
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1487776087.95
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486568697.11
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_gadget_appcache.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Manifest"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</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>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_image_editor_gadget.appcache
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_gadget_appcache
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Manifest
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
CACHE MANIFEST\n
# generated on Fri, 09 Jun 2016 11:45:33 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
rsvp.js\n
renderjs.js\n
jiodev.js\n
/\n
gadget_officejs_image_editor.js\n
renderjs.js\n
rsvp.js\n
gadget_officejs_liberator.html\n
gadget_officejs_liberator.js\n
miniPaint/config.jsg\n
miniPaint/img/right.png\n
miniPaint/img/colorwheel.png\n
miniPaint/img/favicon.png\n
miniPaint/img/preview.jpg\n
miniPaint/img/sprites.png\n
miniPaint/js/draw_tools.js\n
miniPaint/js/edit.js\n
miniPaint/js/effects.js\n
miniPaint/js/elements.js\n
miniPaint/js/events.js\n
miniPaint/js/file.js\n
miniPaint/js/gui.js\n
miniPaint/js/help.js\n
miniPaint/js/image.js\n
miniPaint/js/layers.js\n
miniPaint/js/main.js\n
miniPaint/js/tools.js\n
miniPaint/languages/de.js\n
miniPaint/languages/empty.js\n
miniPaint/languages/es.js\n
miniPaint/languages/fr.js\n
miniPaint/languages/it.js\n
miniPaint/languages/ja.js\n
miniPaint/languages/ko.js\n
miniPaint/languages/lt.js\n
miniPaint/languages/pt.js\n
miniPaint/languages/ru.js\n
miniPaint/languages/tr.js\n
miniPaint/languages/zh.js\n
miniPaint/libs/helpers.js\n
miniPaint/libs/popup.js\n
miniPaint/libs/sift.js\n
miniPaint/libs/vintage.js\n
miniPaint/styles/styles.css\n
miniPaint/vendor/exif/exif.js\n
miniPaint/vendor/exif/exif.min.js\n
miniPaint/vendor/file-saver/FileSaver.min.js\n
miniPaint/vendor/file-saver/canvas-toBlob.js\n
miniPaint/vendor/glfx/glfx.js\n
miniPaint/vendor/harmony/harmony.js\n
miniPaint/vendor/harmony/harmony.min.js\n
miniPaint/vendor/hermite-resize/hermite.js\n
miniPaint/vendor/hqx/hqx.js\n
miniPaint/vendor/hqx/hqx.min.js\n
miniPaint/vendor/imagefilters/imagefilters.js\n
miniPaint/vendor/imagefilters/imagefilters.min.js\n
miniPaint/vendor/jquery/jquery-migrate.js\n
miniPaint/vendor/jquery/jquery.js\n
miniPaint/vendor/menu/menu.js\n
miniPaint/vendor/menu/menu.min.js\n
miniPaint/vendor/translate/jquery.translate.js\n
miniPaint/vendor/translate/jquery.translate.min.js\n
gadget_officejs_liberator.js\n
gadget_officejs_liberator.html\n
NETWORK:\n
*
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Image Editor Gadget OfficeJS AppCache
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630144.48
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.32407.23435.38775
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1487776775.26
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486570892.32
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_html.html
0 → 100644
View file @
703979e4
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Image Editor Gadget
</title>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"jiodev.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_officejs_image_editor.js"
type=
"text/javascript"
></script>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"miniPaint/styles/styles.css"
/>
<link
rel=
"shortcut icon"
href=
"miniPaint/img/favicon.png"
/>
</head>
<body>
<div
id=
"wrapper"
>
<div
id=
"sidebar_left"
>
<a
id=
"logo"
href=
""
>
miniPaint
</a>
<div
id=
"menu_left_container"
>
<noscript>
Select object tool, Select area tool, Magic Wand Tool,
Erase, Fill, Pick Color, Pencil, Draw line, Draw letters,
Draw rectangle, Draw circle, Brush, Blur tool, Sharpen tool,
Clone tool, Gradient
</noscript>
</div>
<div
style=
"clear:both;"
></div>
<div
id=
"main_color_container"
>
<input
type=
"color"
id=
"main_color"
value=
"#0000ff"
onchange=
"GUI.set_color(this);"
/>
<div
style=
"display:none;"
id=
"main_color_alt"
onclick=
"GUI.toggle_color_select();"
></div>
</div>
<div
class=
"block"
id=
"all_colors"
></div>
<div
class=
"block"
>
<input
type=
"text"
id=
"color_hex"
value=
"#000000"
/><br
/>
<div
id=
"main_color_rgb"
>
<a
class=
"red"
href=
"#"
title=
"Red"
onclick=
"return false;"
>
Red
</a>
<input
id=
"rgb_r"
onKeyUp=
"GUI.set_color_rgb(this, 'r')"
onchange=
"GUI.set_color_rgb(this, 'r')"
type=
"number"
value=
"255"
/>
<br
/>
<a
class=
"green"
href=
"#"
title=
"Green"
onclick=
"return false;"
>
Green
</a>
<input
id=
"rgb_g"
onKeyUp=
"GUI.set_color_rgb(this, 'g')"
onchange=
"GUI.set_color_rgb(this, 'g')"
type=
"number"
value=
"255"
/>
<br
/>
<a
class=
"blue"
href=
"#"
title=
"Blue"
onclick=
"return false;"
>
Blue
</a>
<input
id=
"rgb_b"
onKeyUp=
"GUI.set_color_rgb(this, 'b')"
onchange=
"GUI.set_color_rgb(this, 'b')"
type=
"number"
value=
"255"
/>
<br
/>
<a
class=
"alpha"
href=
"#"
title=
"Alpha"
onclick=
"return false;"
>
Alpha
</a>
<input
id=
"rgb_a"
onKeyUp=
"GUI.set_color_rgb(this, 'a')"
onchange=
"GUI.set_color_rgb(this, 'a')"
type=
"number"
value=
"255"
/>
<br
/>
</div>
</div>
<div
class=
"block"
id=
"mouse_info"
>
<span
class=
"trn mouse_info_title"
>
Size:
</span>
<span
id=
"mouse_info_size"
></span><br
/>
<span
class=
"trn mouse_info_title"
>
Mouse:
</span>
<span
id=
"mouse_info_mouse"
></span><br
/>
<div
style=
"display:none;"
id=
"mouse_info_selected"
>
<br
/>
<span
class=
"mouse_info_title"
>
XY:
</span>
<span
id=
"mouse_info_xy"
></span><br
/>
<span
class=
"trn mouse_info_title"
>
Area:
</span>
<span
id=
"mouse_info_area"
></span><br
/>
</div>
</div>
<div
class=
"block"
id=
"action_attributes"
></div>
</div>
<div
id=
"canvas_wrapper"
>
<canvas
id=
"canvas_back"
><div
class=
"trn error"
>
Your browser doesn't support canvas.
</div></canvas>
<div
id=
"canvas_more"
></div>
<canvas
id=
"canvas_front"
></canvas>
<canvas
id=
"canvas_grid"
></canvas>
<div
id=
"resize-w"
></div>
<div
id=
"resize-h"
></div>
<div
id=
"resize-wh"
></div>
</div>
<div
id=
"sidebar_right"
>
<div
id=
"preview"
>
<canvas
id=
"canvas_preview"
></canvas>
<div
style=
"margin-top:105px;padding-left:5px;"
>
<input
title=
"Zoom out"
onclick=
"GUI.zoom(-1, true);"
style=
"width:25px;"
class=
"layer_add"
type=
"button"
value=
"-"
/>
<input
title=
"Reset zoom level"
onclick=
"GUI.zoom(100, true);"
class=
"layer_add"
id=
"zoom_nr"
type=
"button"
value=
"100%"
/>
<input
title=
"Zowom in"
onclick=
"GUI.zoom(+1, true);"
style=
"width:25px;"
class=
"layer_add"
type=
"button"
value=
"+"
/>
<input
title=
"Fit"
onclick=
"GUI.zoom_auto();"
class=
"layer_add"
type=
"button"
value=
"Fit"
/>
<input
style=
"width:95%;margin-top:5px;"
id=
"zoom_range"
type=
"range"
value=
"100"
min=
"50"
max=
"1000"
step=
"50"
oninput=
"GUI.zoom(this.value, true);"
/>
</div>
</div>
<div
id=
"layers_base"
>
<b
class=
"trn"
>
Layers
</b>
<a
title=
"Add new layer"
class=
"layer_add"
onclick=
"EDIT.save_state();LAYER.layer_add();return false;"
href=
"#"
>
+
</a>
<a
title=
"Move down"
onclick=
"EDIT.save_state();LAYER.move_layer('down');return false;"
class=
"layers_arrow"
href=
"#"
>
↓
</a>
<a
title=
"Move up"
onclick=
"EDIT.save_state();LAYER.move_layer('up');return false;"
class=
"layers_arrow"
href=
"#"
>
↑
</a>
<div
style=
"margin-top:5px;"
id=
"layers"
></div>
</div>
</div>
</div>
<div
id=
"mobile_menu"
>
<a
class=
"left_mobile_menu"
onclick=
"GUI.toggle('#sidebar_left');return false;"
href=
"#"
></a>
<a
class=
"right_mobile_menu"
onclick=
"GUI.toggle('#sidebar_right');return false;"
href=
"#"
></a>
</div>
<div
id=
"main_menu"
class=
"ddsmoothmenu"
>
<ul>
<li>
<a
class=
"icon file trn"
href=
"#"
>
File
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(FILE, 'file_new');"
href=
"#"
>
New
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(FILE, 'file_open');"
href=
"#"
>
Open
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(FILE, 'file_save');"
href=
"#"
>
Save as
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(FILE, 'file_print');"
href=
"#"
>
Print
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(FILE, 'file_quicksave');"
href=
"#"
>
Quick save
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(FILE, 'file_quickload');"
href=
"#"
>
Quick load
</a></li>
</ul>
</li>
<li>
<a
class=
"icon edit trn"
href=
"#"
>
Edit
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_undo');"
href=
"#"
>
Undo
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_cut');"
href=
"#"
>
Cut selection
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_copy');"
href=
"#"
>
Copy selection
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_paste');"
href=
"#"
>
Paste selection
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_select');"
href=
"#"
>
Select all
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(EDIT, 'edit_clear');"
href=
"#"
>
Clear selection
</a></li>
</ul>
</li>
<li>
<a
class=
"icon image trn"
href=
"#"
>
Image
</a>
<ul>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_information');"
href=
"#"
>
Information
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_size');"
href=
"#"
>
Size
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_trim');"
href=
"#"
>
Trim
</a>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_crop');"
href=
"#"
>
Crop Selection
</a>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Zoom
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'zoom_in');"
href=
"#"
>
Zoom In
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'zoom_out');"
href=
"#"
>
Zoom Out
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'zoom_original');"
href=
"#"
>
Original size
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'zoom_auto');"
href=
"#"
>
Fit window
</a></li>
</ul>
</li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_resize');"
href=
"#"
>
Resize
</a></li>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Rotate
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_rotate_left');"
href=
"#"
>
Left
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_rotate_right');"
href=
"#"
>
Right
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_rotate');"
href=
"#"
>
Rotation
</a></li>
</ul>
</li>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Flip
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_vflip');"
href=
"#"
>
Vertical
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_hflip');"
href=
"#"
>
Horizontal
</a></li>
</ul>
</li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_colors');"
href=
"#"
>
Color corrections
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_auto_adjust');"
href=
"#"
>
Auto adjust colors
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_GrayScale');"
href=
"#"
>
GrayScale
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_decrease_colors');"
href=
"#"
>
Decrease color depth
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(IMAGE, 'image_negative');"
href=
"#"
>
Negative
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_grid');"
href=
"#"
>
Grid
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(IMAGE, 'image_histogram');"
href=
"#"
>
Histogram
</a></li>
</ul>
</li>
<li>
<a
class=
"icon layer trn"
href=
"#"
>
Layer
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_new');"
href=
"#"
>
New
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_duplicate');"
href=
"#"
>
Duplicate
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_show_hide');"
href=
"#"
>
Show / Hide
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_crop');"
href=
"#"
>
Crop Selection
</a>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_delete');"
href=
"#"
>
Delete
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Move
</a>
<ul>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_move_up');"
href=
"#"
>
Up
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_move_down');"
href=
"#"
>
Down
</a></li>
</ul>
</li>
<li><a
class=
"trn dots"
onclick=
"call_menu(LAYER, 'layer_opacity');"
href=
"#"
>
Opacity
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(LAYER, 'layer_rename');"
href=
"#"
>
Rename
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_trim');"
href=
"#"
>
Trim
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(LAYER, 'layer_resize');"
href=
"#"
>
Resize
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_clear');"
href=
"#"
>
Clear
</a></li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_differences');"
href=
"#"
>
Differences Down
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(LAYER, 'layer_merge_down');"
href=
"#"
>
Merge Down
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(LAYER, 'layer_flatten');"
href=
"#"
>
Flatten Image
</a></li>
</ul>
</li>
<li>
<a
class=
"icon effects trn"
href=
"#"
>
Effects
</a>
<ul
id=
"effects_list"
>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_bw');"
href=
"#"
>
Black and White
</a>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Blur
</a>
<ul>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_BoxBlur');"
href=
"#"
>
Blur-Box
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_GaussianBlur');"
href=
"#"
>
Blur-Gaussian
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_StackBlur');"
href=
"#"
>
Blur-Stack
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_zoomblur');"
href=
"#"
>
Blur-Zoom
</a>
</ul>
</li>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_bulge_pinch');"
href=
"#"
>
Bulge/Pinch
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_colorize');"
href=
"#"
>
Colorize
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_denoise');"
href=
"#"
>
Denoise
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Desaturate');"
href=
"#"
>
Desaturate
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Dither');"
href=
"#"
>
Dither
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_dot_screen');"
href=
"#"
>
Dot Screen
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Edge');"
href=
"#"
>
Edge
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Emboss');"
href=
"#"
>
Emboss
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Enrich');"
href=
"#"
>
Enrich
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Grains');"
href=
"#"
>
Grains
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_heatmap');"
href=
"#"
>
Heatmap
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_jpg_vintage');"
href=
"#"
>
JPG Compression
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Mosaic');"
href=
"#"
>
Mosaic
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Oil');"
href=
"#"
>
Oil
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_perspective');"
href=
"#"
>
Perspective
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Sepia');"
href=
"#"
>
Sepia
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Sharpen');"
href=
"#"
>
Sharpen
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_Solarize');"
href=
"#"
>
Solarize
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_tilt_shift');"
href=
"#"
>
Tilt Shift
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_vignette');"
href=
"#"
>
Vignette
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_vibrance');"
href=
"#"
>
Vibrance
</a>
<li><a
class=
"trn dots"
onclick=
"call_menu(EFFECTS, 'effects_vintage');"
href=
"#"
>
Vintage
</a>
</ul>
</li>
<li>
<a
class=
"icon tools trn"
href=
"#"
>
Tools
</a>
<ul>
<li><a
class=
"trn dots"
onclick=
"call_menu(TOOLS, 'tools_borders');"
href=
"#"
>
Borders
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(TOOLS, 'tools_sprites');"
href=
"#"
>
Sprites
</a></li>
<li><a
class=
"trn"
onclick=
"call_menu(TOOLS, 'tools_keypoints');"
href=
"#"
>
Key-points
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(TOOLS, 'tools_color2alpha');"
href=
"#"
>
Color to Alpha
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(TOOLS, 'tools_color_zoom');"
href=
"#"
>
Color Zoom
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(TOOLS, 'tools_replace_color');"
href=
"#"
>
Replace Color
</a></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(TOOLS, 'tools_restore_alpha');"
href=
"#"
>
Restore alpha
</a></li>
</ul>
</li>
<li>
<a
class=
"icon help trn"
href=
"#"
>
Help
</a>
<ul>
<li><a
class=
"trn dots"
onclick=
"call_menu(HELP, 'help_shortcuts');"
href=
"#"
>
Keyboard Shortcuts
</a></li>
<li
class=
"more"
>
<a
class=
"trn"
href=
"#"
>
Language
</a>
<ul>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'en');"
href=
"#"
>
English
</a>
<li><div
class=
"mid-line"
></div></li>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'zh');"
href=
"#"
>
简体中文)
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'es');"
href=
"#"
>
Español
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'fr');"
href=
"#"
>
French
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'de');"
href=
"#"
>
German
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'it');"
href=
"#"
>
Italiano
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'ja');"
href=
"#"
>
Japanese
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'ko');"
href=
"#"
>
Korean
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'lt');"
href=
"#"
>
Lietuvių
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'pt');"
href=
"#"
>
Portuguese
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'ru');"
href=
"#"
>
Russian
</a>
<li><a
onclick=
"call_menu(HELP, 'help_translate', 'tr');"
href=
"#"
>
Turkish
</a>
</ul>
</li>
<li><div
class=
"mid-line"
></div></li>
<li><a
class=
"trn dots"
onclick=
"call_menu(HELP, 'help_about');"
href=
"#"
>
About
</a></li>
</ul>
</li>
</ul>
</div>
<div
style=
"display:none;"
id=
"tmp"
></div>
<div
id=
"popup"
></div>
<script
src=
"miniPaint/vendor/jquery/jquery.js"
></script>
<script
src=
"miniPaint/vendor/jquery/jquery-migrate.js"
></script>
<script
src=
"miniPaint/vendor/menu/menu.min.js"
></script>
<script
src=
"miniPaint/vendor/imagefilters/imagefilters.min.js"
></script>
<script
src=
"miniPaint/vendor/glfx/glfx.js"
></script>
<script
src=
"miniPaint/vendor/exif/exif.min.js"
></script>
<script
src=
"miniPaint/vendor/harmony/harmony.min.js"
></script>
<script
src=
"miniPaint/libs/vintage.js"
></script>
<script
src=
"miniPaint/libs/sift.js"
></script>
<script
src=
"miniPaint/js/elements.js"
></script>
<script
src=
"miniPaint/libs/helpers.js"
></script>
<script
src=
"miniPaint/libs/popup.js"
></script>
<script
src=
"miniPaint/vendor/file-saver/canvas-toBlob.js"
></script>
<script
src=
"miniPaint/vendor/file-saver/FileSaver.min.js"
></script>
<script
src=
"miniPaint/vendor/hqx/hqx.min.js"
></script>
<script
src=
"miniPaint/vendor/translate/jquery.translate.min.js"
></script>
<script
src=
"miniPaint/vendor/hermite-resize/hermite.js"
></script>
<script
src=
"miniPaint/languages/de.js"
></script>
<script
src=
"miniPaint/languages/es.js"
></script>
<script
src=
"miniPaint/languages/it.js"
></script>
<script
src=
"miniPaint/languages/ja.js"
></script>
<script
src=
"miniPaint/languages/ko.js"
></script>
<script
src=
"miniPaint/languages/lt.js"
></script>
<script
src=
"miniPaint/languages/pt.js"
></script>
<script
src=
"miniPaint/languages/ru.js"
></script>
<script
src=
"miniPaint/languages/tr.js"
></script>
<script
src=
"miniPaint/languages/zh.js"
></script>
<script
src=
"miniPaint/languages/fr.js"
></script>
<script
src=
"miniPaint/js/events.js"
></script>
<script
src=
"miniPaint/js/file.js"
></script>
<script
src=
"miniPaint/js/edit.js"
></script>
<script
src=
"miniPaint/js/image.js"
></script>
<script
src=
"miniPaint/js/layers.js"
></script>
<script
src=
"miniPaint/js/effects.js"
></script>
<script
src=
"miniPaint/js/tools.js"
></script>
<script
src=
"miniPaint/js/draw_tools.js"
></script>
<script
src=
"miniPaint/js/gui.js"
></script>
<script
src=
"miniPaint/js/help.js"
></script>
<script
src=
"miniPaint/config.js"
></script>
<script
src=
"miniPaint/js/main.js"
></script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_html.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</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>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_image_editor.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284352.21
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_substitution_mapping_method_id
</string>
</key>
<value>
<string>
WebPage_getRenderJSSubstitutionMappingDict
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Image Editor Gadget
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630146.12
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.29602.29356.10683
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1487775881.14
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486570502.76
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_js.js
0 → 100644
View file @
703979e4
/*global window, rJS, jIO, Blob*/
/*jslint nomen: true, maxlen:80, indent:2*/
(
function
(
rJS
,
RSVP
,
jIO
,
Blob
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
})
.
ready
(
function
(
g
)
{
return
g
.
getElement
()
.
push
(
function
(
element
)
{
var
textarea
=
element
.
querySelector
(
'
textarea
'
);
g
.
props
.
element
=
element
;
g
.
props
.
blob_defer
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
submitContent
"
,
"
triggerSubmit
"
)
.
declareMethod
(
'
render
'
,
function
(
options
)
{
this
.
props
.
key
=
options
.
key
||
"
text_content
"
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
if
(
options
.
value
.
split
(
'
data:
'
)[
1
]
===
''
)
{
return
''
;
}
return
jIO
.
util
.
dataURItoBlob
(
options
.
value
);
})
.
push
(
function
(
blob
)
{
if
(
!
blob
)
{
blob
=
new
Blob
([
''
],
{
type
:
'
image/png
'
});
}
blob
.
name
=
options
.
name
;
FILE
.
open_handler
({
target
:
{
files
:
[
blob
]}});
return
{};
});
})
.
declareMethod
(
'
getContent
'
,
function
()
{
var
result
=
{},
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
FILE
.
save
({
name
:
gadget
.
props
.
key
,
type
:
'
BLOB
'
});
})
.
push
(
function
(
blob
)
{
return
jIO
.
util
.
readBlobAsDataURL
(
blob
);
})
.
push
(
function
(
datauri
)
{
return
datauri
.
target
.
result
;
});
});
}(
rJS
,
RSVP
,
jIO
,
Blob
));
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_js.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_image_editor.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Jio Image Editor JS
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630144.92
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.13350.53669.40157
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486634345.47
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486570708.28
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_router_html.html
0 → 100644
View file @
703979e4
<!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_router.js"
type=
"text/javascript"
></script>
</head>
<body>
<script
data-renderjs-configuration=
"portal_type"
type=
"text/x-renderjs-configuration"
>
Image
</script>
<script
data-renderjs-configuration=
"parent_relative_url"
type=
"text/x-renderjs-configuration"
>
image_module
</script>
<script
data-renderjs-configuration=
"document_title"
type=
"text/x-renderjs-configuration"
>
Image
</script>
<script
data-renderjs-configuration=
"document_title_plural"
type=
"text/x-renderjs-configuration"
>
Images
</script>
<script
data-renderjs-configuration=
"erp5_attachment_synchro"
type=
"text/x-renderjs-configuration"
>
/
{
+
id
}
/Base_downloadWithCors
</script>
<script
data-renderjs-configuration=
"global_setting_gadget_url"
type=
"text/x-renderjs-configuration"
>
..
/
officejs_setting_gadget
/
</script>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_router_html.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</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>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_image_editor_router.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_router_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284352.21
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_substitution_mapping_method_id
</string>
</key>
<value>
<string>
WebPage_getRenderJSSubstitutionMappingDict
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Image Editor router Gadget
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630142.13
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.13501.4478.21947
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486654784.41
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486568881.97
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_html.html
0 → 100644
View file @
703979e4
<!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>
<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
>
<
div
class
=
"
ui-input-text ui-body-inherit ui-corner-all ui-shadow-inset
"
>
<
input
type
=
"
text
"
name
=
"
title
"
value
=
"
{{title}}
"
>
<
/div
>
<
/div
>
<
button
type
=
"
submit
"
data
-
i18n
=
"
Save
"
style
=
"
display:none;
"
>
Save
<
/button
>
<
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
>
<
div
class
=
'
document-content
'
><
/div
>
<
/div
>
<
/div
>
<
/form
>
</script>
<script
src=
"gadget_officejs_jio_image_view.js"
></script>
</head>
<body>
</body>
</html>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_html.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</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_jio_image_view.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_view_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Image View
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630141.04
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.13297.1201.28177
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486634249.28
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486569971.19
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.js
0 → 100644
View file @
703979e4
/*globals window, rJS, Handlebars, RSVP, loopEventListener, console, URL*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
URL
)
{
"
use strict
"
;
function
saveContent
(
gadget
,
submit_event
)
{
var
i
,
doc
=
gadget
.
options
.
doc
,
now
=
new
Date
(),
blob
;
doc
.
parent_relative_url
=
"
image_module
"
;
doc
.
portal_type
=
"
Image
"
;
doc
.
modification_date
=
now
.
toISOString
();
for
(
i
=
0
;
i
<
submit_event
.
target
.
length
;
i
+=
1
)
{
// XXX Should check input type instead
if
(
submit_event
.
target
[
i
].
name
)
{
doc
[
submit_event
.
target
[
i
].
name
]
=
submit_event
.
target
[
i
].
value
;
}
}
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
getDeclaredGadget
(
"
my_text_content
"
);
})
.
push
(
function
(
text_content_gadget
)
{
return
text_content_gadget
.
getContent
();
})
.
push
(
function
(
dataURI
)
{
return
jIO
.
util
.
dataURItoBlob
(
dataURI
);
})
.
push
(
function
(
blob
)
{
console
.
log
(
gadget
.
options
.
jio_key
);
return
RSVP
.
all
([
gadget
.
put
(
gadget
.
options
.
jio_key
,
doc
),
gadget
.
putAttachment
(
gadget
.
options
.
jio_key
,
"
data
"
,
blob
)
]);
});
}
function
maximize
(
gadget
)
{
var
iframe
=
gadget
.
props
.
element
.
querySelector
(
'
iframe
'
),
iframe_class_string
=
iframe
.
getAttribute
(
'
class
'
)
||
""
,
class_name
=
"
ui-content-maximize
"
,
class_index
=
iframe_class_string
.
indexOf
(
class_name
);
if
(
class_index
===
-
1
)
{
iframe_class_string
+=
'
'
+
class_name
;
iframe
.
setAttribute
(
'
style
'
,
''
);
iframe
.
setAttribute
(
'
class
'
,
iframe_class_string
);
return
;
}
iframe_class_string
=
iframe_class_string
.
substring
(
0
,
class_index
)
+
iframe_class_string
.
substring
(
class_index
+
class_name
.
length
);
iframe
.
setAttribute
(
'
style
'
,
'
width:100%; border: 0 none; height: 600px
'
);
iframe
.
setAttribute
(
'
class
'
,
iframe_class_string
);
return
;
}
var
gadget_klass
=
rJS
(
window
),
source
=
gadget_klass
.
__template_element
.
querySelector
(
"
.view-web-page-template
"
)
.
innerHTML
,
template
=
Handlebars
.
compile
(
source
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
g
.
options
=
null
;
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
put
"
,
"
jio_put
"
)
.
declareAcquiredMethod
(
"
putAttachment
"
,
"
jio_putAttachment
"
)
.
declareAcquiredMethod
(
"
getAttachment
"
,
"
jio_getAttachment
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
allowPublicAcquisition
(
'
triggerMaximize
'
,
function
()
{
var
gadget
=
this
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
maximize
(
gadget
);
})
.
fail
(
function
(
e
)
{
console
.
log
(
e
);
});
})
.
allowPublicAcquisition
(
'
triggerSubmit
'
,
function
(
option
)
{
if
(
option
[
0
]
===
"
maximize
"
||
option
===
"
maximize
"
)
{
var
gadget
=
this
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
maximize
(
gadget
);
});
}
return
this
.
props
.
element
.
querySelector
(
'
button
'
).
click
();
})
.
declareMethod
(
'
triggerSubmit
'
,
function
(
option
)
{
if
(
option
[
0
]
===
"
maximize
"
||
option
===
"
maximize
"
)
{
var
gadget
=
this
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
maximize
(
gadget
);
});
}
return
this
.
props
.
element
.
querySelector
(
'
button
'
).
click
();
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
gadget
.
options
=
options
;
gadget
.
options
.
doc
.
title
=
gadget
.
options
.
doc
.
title
||
""
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
translateHtml
(
template
(
options
.
doc
));
})
.
push
(
function
(
html
)
{
gadget
.
props
.
element
.
innerHTML
=
html
;
return
gadget
.
updateHeader
({
title
:
options
.
doc
.
title
+
"
| Image
"
,
save_action
:
true
,
maximize_action
:
true
,
maximized
:
gadget
.
options
.
doc
.
title
!==
""
});
})
.
push
(
function
()
{
return
gadget
.
getAttachment
(
gadget
.
options
.
jio_key
,
"
data
"
);
})
.
push
(
function
(
blob_result
)
{
gadget
.
props
.
blob
=
blob_result
;
return
gadget
.
props
.
deferred
.
resolve
();
},
function
(
error
)
{
if
(
error
.
status_code
===
404
)
{
gadget
.
props
.
blob
=
new
Blob
([
''
],
{
type
:
'
image/png
'
});
return
gadget
.
props
.
deferred
.
resolve
();
}
throw
new
Error
(
error
);
});
})
/////////////////////////////////////////
// Render text content gadget
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
,
image_content_gadget
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
gadget
.
declareGadget
(
"
../../officejs_image_editor_gadget/development/
"
,
{
scope
:
"
my_text_content
"
,
sandbox
:
"
iframe
"
,
element
:
gadget
.
props
.
element
.
querySelector
(
"
.document-content
"
)
}
);
})
.
push
(
function
(
image_gadget
)
{
image_content_gadget
=
image_gadget
;
var
iframe
=
gadget
.
props
.
element
.
querySelector
(
'
iframe
'
);
iframe
.
setAttribute
(
'
style
'
,
'
width:100%; border: 0 none; height: 600px
'
);
return
jIO
.
util
.
readBlobAsDataURL
(
gadget
.
props
.
blob
);
})
.
push
(
function
(
f
)
{
return
image_content_gadget
.
render
({
"
key
"
:
'
text_content
'
,
"
value
"
:
f
.
target
.
result
,
"
name
"
:
gadget
.
options
.
jio_key
});
})
.
push
(
function
()
{
if
(
gadget
.
options
.
doc
.
title
!==
""
)
{
return
gadget
.
triggerSubmit
(
"
maximize
"
);
}
})
.
push
(
undefined
,
function
(
error
)
{
var
display_error_element
;
if
(
error
.
message
.
indexOf
(
"
Timed out after
"
)
===
0
)
{
display_error_element
=
gadget
.
props
.
element
.
querySelector
(
"
form div.center
"
);
display_error_element
.
innerHTML
=
'
<br/><p style="color: red"></p><br/><br/>
'
+
display_error_element
.
innerHTML
;
display_error_element
.
querySelector
(
'
p
'
).
textContent
=
"
TIMEOUT: The editor gadget is taking too long to load but is
"
+
"
currently being cached, please wait for the page to load
"
+
"
(check your browser loading icon) and then refresh.
"
;
}
else
{
throw
error
;
}
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
props
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
true
,
function
(
event
)
{
return
saveContent
(
gadget
,
event
);
}
);
});
});
}(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
,
URL
));
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_jio_image_view.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_image_editor_officejs_view_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Jio Image View JS
</string>
</value>
</item>
<item>
<key>
<string>
url_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486630139.96
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.13364.62517.12032
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486634237.39
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1486569810.91
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor.xml
0 → 100644
View file @
703979e4
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor/development.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Section"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
<string>
Reviewer
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Authenticated
</string>
<string>
Author
</string>
<string>
Manager
</string>
<string>
Member
</string>
<string>
Owner
</string>
<string>
Reviewer
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
__before_publishing_traverse__
</string>
</key>
<value>
<object>
<klass>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_defined_in_class
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
_hookname
</string>
</key>
<value>
<string>
__before_publishing_traverse__
</string>
</value>
</item>
<item>
<key>
<string>
_list
</string>
</key>
<value>
<list>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</list>
</value>
</item>
<item>
<key>
<string>
_prior
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
__before_traverse__
</string>
</key>
<value>
<dictionary>
<item>
<key>
<tuple>
<int>
99
</int>
<string>
ERP5 Web Section/development
</string>
</tuple>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_router_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_application_title
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_jio_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_content_security_policy
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_panel_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_translation_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_header_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_hateoas_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_manifest_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_x_frame_options
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
caching_policy/must-revalidate
</string>
<string>
aggregate/web_page_module/rjs_gadget_erp5_html
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
configuration_application_title
</string>
</key>
<value>
<string>
Office JS SVG Editor
</string>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'none\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://localhost:5000 mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net; script-src \'self\' \'unsafe-eval\'; font-src netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data: *.app.officejs.com
</string>
</value>
</item>
<item>
<key>
<string>
configuration_hateoas_url
</string>
</key>
<value>
<string>
hateoas/
</string>
</value>
</item>
<item>
<key>
<string>
configuration_header_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_header.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_jio.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_officejs_image_editor.appcache
</string>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_application_panel.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<string>
gadget_officejs_image_editor_router.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
<value>
<string>
gadget_translation.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
SAMEORIGIN
</string>
</value>
</item>
<item>
<key>
<string>
container_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
content_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
custom_render_method_id
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
empty_criterion_valid
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
development
</string>
</value>
</item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<value>
<string>
WebSection_viewRenderJSPreference
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Section
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
skin_selection_name
</string>
</key>
<value>
<string>
RJS
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Image Editor Development
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"WebSectionTraversalHook"
module=
"Products.ERP5.Document.WebSection"
/>
</pickle>
<pickle>
<dictionary/>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAY=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAc=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"6"
aka=
"AAAAAAAAAAY="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1487775923.92
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"7"
aka=
"AAAAAAAAAAc="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
957.32393.59064.5870
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1487776059.89
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget.xml
0 → 100644
View file @
703979e4
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget/development.xml
0 → 100644
View file @
703979e4
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
0 → 100644
View file @
703979e4
<registered_skin_selection>
<skin_folder_selection>
<skin_folder>
erp5_officejs_image_editor
</skin_folder>
<skin_selection>
RJSVersioning
</skin_selection>
</skin_folder_selection>
</registered_skin_selection>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_officejs_image_editor.xml
0 → 100644
View file @
703979e4
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_officejs_image_editor
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
8
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment