Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
erp5
Commits
fa620a61
Commit
fa620a61
authored
Jul 15, 2020
by
Mikolaï Krol
Committed by
Roque
Sep 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_jquery_app: update Web Table app to use jexcel editor
- clone action added
parent
6bacf59c
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
722 additions
and
46 deletions
+722
-46
bt5/erp5_officejs_jquery_app/PathTemplateItem/portal_types/Web%20Table/web_table_clone.xml
...TemplateItem/portal_types/Web%20Table/web_table_clone.xml
+75
-0
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_officejs_web_table_configuration.xml
...b_page_module/gadget_officejs_web_table_configuration.xml
+3
-1
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_router.html.html
...ateItem/web_page_module/gadget_web_table_router.html.html
+1
-1
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_router.html.xml
...lateItem/web_page_module/gadget_web_table_router.html.xml
+2
-2
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_web_table_editor/app.xml
...ateItem/web_site_module/officejs_web_table_editor/app.xml
+4
-3
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable.xml
...s/erp5_web_table_editor/Base_cloneDocumentForWebTable.xml
+116
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable/action_description.xml
...itor/Base_cloneDocumentForWebTable/action_description.xml
+139
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable/gadget_field_action_js_script.xml
...loneDocumentForWebTable/gadget_field_action_js_script.xml
+246
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/WebSection_getWebTableEditorPrecacheManifestList.py
...ditor/WebSection_getWebTableEditorPrecacheManifestList.py
+2
-35
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/WebTable_viewAsJioForWebTableEditor/my_text_content.xml
...r/WebTable_viewAsJioForWebTableEditor/my_text_content.xml
+2
-2
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.html.html
...ns/erp5_web_table_editor/action_web_table_clone.html.html
+15
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.html.xml
...ins/erp5_web_table_editor/action_web_table_clone.html.xml
+28
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.js.js
..._skins/erp5_web_table_editor/action_web_table_clone.js.js
+57
-0
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.js.xml
...skins/erp5_web_table_editor/action_web_table_clone.js.xml
+28
-0
bt5/erp5_officejs_jquery_app/bt/dependency_list
bt5/erp5_officejs_jquery_app/bt/dependency_list
+2
-1
bt5/erp5_officejs_jquery_app/bt/template_path_list
bt5/erp5_officejs_jquery_app/bt/template_path_list
+2
-1
No files found.
bt5/erp5_officejs_jquery_app/PathTemplateItem/portal_types/Web%20Table/web_table_clone.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Action Information"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
action_permission
</string>
</key>
<value>
<tuple>
<string>
Add portal content
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_js_script
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
web_table_clone
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
reference
</string>
</key>
<value>
<string>
web_table_clone
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Clone
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/Base_cloneDocumentForWebTable
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_officejs_web_table_configuration.xml
View file @
fa620a61
...
...
@@ -110,7 +110,7 @@
<item>
<key>
<string>
text_content
</string>
</key>
<value>
<string>
CONFIGURATION MANIFEST\n
# generated on
Fri Dec 13 20:31:13 2019
\n
# generated on
Tue Jul 28 08:56:19 2020
\n
CACHE:\n
\n
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL1dlYiBQYWdlIE1vZHVsZQ==\n
...
...
@@ -119,6 +119,8 @@ hateoas_appcache/definition_view/cG9ydGFsX3NraW5zL2VycDVfd2ViX3RhYmxlX2VkaXRvci9
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL1dlYiBUYWJsZQ==\n
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL1dlYiBUYWJsZS93ZWJfdGFibGVfdmlldw==\n
hateoas_appcache/definition_view/cG9ydGFsX3NraW5zL2VycDVfd2ViX3RhYmxlX2VkaXRvci9XZWJUYWJsZV92aWV3QXNKaW9Gb3JXZWJUYWJsZUVkaXRvcg==\n
hateoas_appcache/definition_view/cG9ydGFsX3R5cGVzL1dlYiBUYWJsZS93ZWJfdGFibGVfY2xvbmU=\n
hateoas_appcache/definition_view/cG9ydGFsX3NraW5zL2VycDVfd2ViX3RhYmxlX2VkaXRvci9CYXNlX2Nsb25lRG9jdW1lbnRGb3JXZWJUYWJsZQ==\n
\n
NETWORK:\n
*
</string>
</value>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_router.html.html
View file @
fa620a61
...
...
@@ -19,7 +19,7 @@
<script
data-renderjs-configuration=
"parent_relative_url"
type=
"text/x-renderjs-configuration"
>
web_page_module
</script>
<script
data-renderjs-configuration=
"parent_portal_type"
type=
"text/x-renderjs-configuration"
>
Web
Page
Module
</script>
<script
data-renderjs-configuration=
"portal_skin_folder"
type=
"text/x-renderjs-configuration"
>
erp5_web_table_editor
</script>
<script
data-renderjs-configuration=
"app_actions"
type=
"text/x-renderjs-configuration"
>
(
'
Web Table | web_table_view
'
,
'
Web Page Module | web_table_view
'
)
</script>
<script
data-renderjs-configuration=
"app_actions"
type=
"text/x-renderjs-configuration"
>
(
'
Web Table | web_table_view
'
,
'
Web Page Module | web_table_view
'
,
'
Web Table | web_table_clone
'
)
</script>
<script
data-renderjs-configuration=
"app_allowed_sub_types"
type=
"text/x-renderjs-configuration"
>
(
'
Web Page Module | Web Table
'
,)
</script>
<script
data-renderjs-configuration=
"app_view_reference"
type=
"text/x-renderjs-configuration"
>
web_table_view
</script>
<script
data-renderjs-configuration=
"web_page_module_dict"
type=
"text/x-renderjs-configuration"
>
{
"
front_page
"
:
1
,
"
editable
"
:
0
,
"
hide_add_button
"
:
0
,
"
jump_button
"
:
0
,
"
fast_input_button
"
:
0
,
"
export_button
"
:
0
,
"
filter_action
"
:
1
,
"
panel_action
"
:
1
,
"
previous_next_button
"
:
0
,
"
history_previous_link
"
:
0
,
"
title
"
:
"
Jquery Sheet Documents
"
,
"
hide_listbox_buttons
"
:
1
,
"
blob_type
"
:
""
,
"
blob_create_object_url
"
:
0
}
</script>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_router.html.xml
View file @
fa620a61
...
...
@@ -235,7 +235,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
77.62260.6779.17339
</string>
</value>
<value>
<string>
9
84.59943.25702.48622
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -253,7 +253,7 @@
</tuple>
<state>
<tuple>
<float>
15
68973158
.24
</float>
<float>
15
95923550
.24
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_web_table_editor/app.xml
View file @
fa620a61
...
...
@@ -412,7 +412,8 @@
<item>
<key>
<string>
configuration_precache_manifest_script_list
</string>
</key>
<value>
<string>
WebSection_getOfficeJsPrecacheManifestList\n
WebSection_getWebTableEditorPrecacheManifestList
</string>
</value>
WebSection_getWebTableEditorPrecacheManifestList\n
WebSection_getJexcelEditorPrecacheManifestList
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
...
...
@@ -677,7 +678,7 @@ WebSection_getWebTableEditorPrecacheManifestList</string> </value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
3.23018.43853.17715
</string>
</value>
<value>
<string>
98
4.59943.25702.48622
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -695,7 +696,7 @@ WebSection_getWebTableEditorPrecacheManifestList</string> </value>
</tuple>
<state>
<tuple>
<float>
15
87729708.72
</float>
<float>
15
94816416.45
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
action_description
</string>
<string>
gadget_field_action_js_script
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_cloneDocumentForWebTable
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Base_cloneDocumentForJexcelEditor
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
ERP5 Form
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable/action_description.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"LabelField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
action_description
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Confirm clone
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/Base_cloneDocumentForWebTable/gadget_field_action_js_script.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"GadgetField"
module=
"Products.ERP5Form.GadgetField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_field_action_js_script
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
no_validator
</string>
</key>
<value>
<string>
Does not support this operation.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string>
action_web_table_clone.html
</string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
gadget_field_action_js_script
</string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/WebSection_getWebTableEditorPrecacheManifestList.py
View file @
fa620a61
...
...
@@ -4,43 +4,10 @@ url_list = [
"gadget_officejs_web_table_router.html"
,
"gadget_officejs_jio_web_table_view.html"
,
"gadget_officejs_jio_web_table_view.js"
,
"action_web_table_clone.html"
,
"action_web_table_clone.js"
,
"gadget_officejs_web_table.json"
,
"web_table_app_logo.svg"
,
#jquery-sheets
"jquery.js"
,
"jquery-sheets.gadget.html"
,
"jquery-sheets.gadget.js"
,
"jquery-sheets/wickedgrid.css"
,
"jquery-sheets/menu.html"
,
"jquery-sheets/font-awesome.css"
,
"jquery-sheets/js/thaw.js"
,
"jquery-sheets/js/raphael.js"
,
"jquery-sheets/js/copy3_of_undomanager.js"
,
"jquery-sheets/js/jquery-ui.js"
,
"jquery-sheets/js/globalize.js"
,
"jquery-sheets/js/jquery.nearest.js"
,
"jquery-sheets/js/megatable.js"
,
"jquery-sheets/js/wickedgrid.js"
,
"jquery-sheets/js/graphael/g.bar.js"
,
"jquery-sheets/js/graphael/g.line.js"
,
"jquery-sheets/js/graphael/g.raphael.js"
,
"jquery-sheets/js/graphael/g.pie.js"
,
"jquery-sheets/js/graphael/g.dot.js"
,
"jquery-sheets/js/ZeroClipboard.js"
,
"jquery-sheets/js/jquery.elastic.source.js"
,
"jquery-sheets/js/infiniscroll.js"
,
"jquery-sheets/js/undomanager.js"
,
"jquery-sheets/js/MouseWheel.js"
,
"jquery-sheets/bootstrap-theme.css"
,
"jquery-sheets/images/underline1.svg"
,
"jquery-sheets/images/strikethrough.svg"
,
"jquery-sheets/images/right183.svg"
,
"jquery-sheets/images/left181.svg"
,
"jquery-sheets/images/centered5.svg"
,
"jquery-sheets/images/italic3.svg"
,
"jquery-sheets/images/bold13.svg"
,
"jquery-sheets/bootstrap.css"
,
]
return
url_list
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/WebTable_viewAsJioForWebTableEditor/my_text_content.xml
View file @
fa620a61
...
...
@@ -224,8 +224,8 @@
<value>
<list>
<tuple>
<string>
{"editor": "j
query-sheets
", "maximize": true}
</string>
<string>
{"editor": "j
query-sheets
", "maximize": true}
</string>
<string>
{"editor": "j
excel
", "maximize": true}
</string>
<string>
{"editor": "j
excel
", "maximize": true}
</string>
</tuple>
</list>
</value>
...
...
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.html.html
0 → 100644
View file @
fa620a61
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Web Table Clone
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"action_web_table_clone.js"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.html.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
action_web_table_clone.html
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.js.js
0 → 100644
View file @
fa620a61
/*jslint nomen: true, indent: 2 */
/*global window, rJS, RSVP*/
(
function
(
window
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
jio_post
"
,
"
jio_post
"
)
.
declareMethod
(
"
preRenderDocument
"
,
function
(
parent_options
)
{
var
gadget
=
this
;
return
gadget
.
jio_get
(
parent_options
.
jio_key
)
.
push
(
function
(
parent_document
)
{
return
parent_document
;
});
})
.
declareMethod
(
"
handleSubmit
"
,
function
(
content_dict
,
parent_options
)
{
//must return a dict with:
//notify: options_dict for notifySubmitted
//redirect: options_dict for redirect
var
return_submit_dict
=
{
notify
:
{
message
:
""
,
status
:
""
},
redirect
:
{
command
:
"
display
"
,
options
:
{}
}
},
gadget
=
this
,
document
=
parent_options
.
doc
,
property
;
delete
content_dict
.
dialog_method
;
for
(
property
in
content_dict
)
{
if
(
content_dict
.
hasOwnProperty
(
property
))
{
document
[
property
]
=
content_dict
[
property
];
}
}
return
gadget
.
jio_post
(
document
)
.
push
(
function
(
jio_key
)
{
return_submit_dict
.
notify
.
message
=
"
Document Cloned
"
;
return_submit_dict
.
notify
.
status
=
"
success
"
;
return_submit_dict
.
redirect
.
options
=
{
jio_key
:
jio_key
,
editable
:
true
};
return
return_submit_dict
;
},
function
(
error
)
{
if
(
error
instanceof
jIO
.
util
.
jIOError
)
{
return_submit_dict
.
notify
.
message
=
"
Failure cloning document
"
;
return_submit_dict
.
notify
.
status
=
"
error
"
;
return
return_submit_dict
;
}
throw
error
;
});
});
}(
window
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_jquery_app/SkinTemplateItem/portal_skins/erp5_web_table_editor/action_web_table_clone.js.xml
0 → 100644
View file @
fa620a61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
action_web_table_clone.js
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/bt/dependency_list
View file @
fa620a61
erp5_officejs
erp5_jquery_sheet_js_editor
erp5_minipaint
erp5_jexcel_editor
\ No newline at end of file
bt5/erp5_officejs_jquery_app/bt/template_path_list
View file @
fa620a61
...
...
@@ -3,6 +3,7 @@ image_module/web_table_app_logo_svg
portal_types/Image Module/image_editor_view
portal_types/Image/image_editor_view
portal_types/Web Page Module/web_table_view
portal_types/Web Table/web_table_clone
portal_types/Web Table/web_table_view
web_page_module/gadget_image_editor*
web_page_module/gadget_officejs_image_editor*
...
...
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