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
Hamza
erp5
Commits
3453adb1
Commit
3453adb1
authored
Aug 06, 2019
by
Hamza Chahed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change officeJs_notebook to use gadget_jsmd_eval instead of iodide_master
parent
2a93926f
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1095 additions
and
21 deletions
+1095
-21
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
...e_module/gadget_officejs_controller_page_controller_js.js
+5
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
..._module/gadget_officejs_controller_page_controller_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_with_editable_js.js
...module/gadget_officejs_erp5_ojs_panel_with_editable_js.js
+363
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_with_editable_js.xml
...odule/gadget_officejs_erp5_ojs_panel_with_editable_js.xml
+325
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_panel_with_editable_html.html
...module/gadget_officejs_erp5_panel_with_editable_html.html
+57
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_panel_with_editable_html.xml
..._module/gadget_officejs_erp5_panel_with_editable_html.xml
+325
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.html.xml
...eb_page_module/gadget_officejs_jio_notebook_view.html.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
...m/web_page_module/gadget_officejs_jio_notebook_view.js.js
+9
-8
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
.../web_page_module/gadget_officejs_jio_notebook_view.js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_controller_html.xml
.../web_page_module/gadget_officejs_page_controller_html.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_notebook/app.xml
...athTemplateItem/web_site_module/officejs_notebook/app.xml
+3
-3
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
View file @
3453adb1
...
...
@@ -55,6 +55,7 @@
return
gadget
.
changeState
({
jio_key
:
options
.
jio_key
,
editable
:
options
.
editable
||
false
,
///P
doc
:
result
,
child_gadget_url
:
child_gadget_url
});
...
...
@@ -68,7 +69,8 @@
.
push
(
function
(
child_gadget
)
{
return
child_gadget
.
render
({
jio_key
:
gadget
.
state
.
jio_key
,
doc
:
gadget
.
state
.
doc
doc
:
gadget
.
state
.
doc
,
editable
:
gadget
.
state
.
editable
///P
});
});
}
...
...
@@ -83,7 +85,8 @@
.
push
(
function
(
form_gadget
)
{
return
form_gadget
.
render
({
jio_key
:
gadget
.
state
.
jio_key
,
doc
:
gadget
.
state
.
doc
doc
:
gadget
.
state
.
doc
,
editable
:
gadget
.
state
.
editable
///P
});
});
});
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
View file @
3453adb1
...
...
@@ -225,7 +225,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
67.6016.61211.59613
</string>
</value>
<value>
<string>
9
77.36473.21326.52036
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -243,7 +243,7 @@
</tuple>
<state>
<tuple>
<float>
15
24754712.51
</float>
<float>
15
65098210.86
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_with_editable_js.js
0 → 100644
View file @
3453adb1
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_ojs_panel_with_editable_js.xml
0 → 100644
View file @
3453adb1
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_panel_with_editable_html.html
0 → 100644
View file @
3453adb1
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
ERP5 Panel
</title>
<link
rel=
"http://www.renderjs.org/rel/interface"
href=
"interface_panel.html"
>
<!--
data-i18n=Editable
data-i18n=Home
data-i18n=Modules
data-i18n=Worklists
data-i18n=History
data-i18n=Search
data-i18n=Preferences
data-i18n=Logout
data-i18n=Views
data-i18n=Workflows
data-i18n=Actions
-->
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_erp5_ojs_panel_with_editable.js"
type=
"text/javascript"
></script>
</head>
<body>
<div>
<div
data-role=
"header"
>
<div
class=
"ui-btn-left"
>
<div
class=
"ui-controlgroup-controls"
>
<button
data-i18n=
"Close"
class=
"ui-btn-icon-notext ui-icon-delete"
>
Close
</button>
</div>
</div>
</div>
<div>
<form>
<button
type=
"submit"
class=
"ui-icon-action ui-btn-icon-right ui-screen-hidden"
>
Submit
</button>
<div
data-gadget-url=
"gadget_erp5_searchfield.html"
data-gadget-scope=
"erp5_searchfield"
data-gadget-sandbox=
"public"
></div>
</form>
<ul></ul>
<div
data-gadget-url=
"gadget_erp5_field_multicheckbox.html"
data-gadget-scope=
"erp5_checkbox"
data-gadget-sandbox=
"public"
></div>
<dl></dl>
</div>
</div>
</body>
</html>
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_panel_with_editable_html.xml
0 → 100644
View file @
3453adb1
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.html.xml
View file @
3453adb1
...
...
@@ -248,7 +248,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
69.37889.56311.25753
</string>
</value>
<value>
<string>
9
77.28694.830.42120
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -266,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>
15
34254952.0
</float>
<float>
15
65098238.18
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.js
View file @
3453adb1
...
...
@@ -21,7 +21,8 @@
.
declareMethod
(
"
render
"
,
function
(
options
)
{
return
this
.
changeState
({
jio_key
:
options
.
jio_key
,
doc
:
options
.
doc
doc
:
options
.
doc
,
editable
:
options
.
editable
///P
});
})
...
...
@@ -59,7 +60,7 @@
"
default
"
:
gadget
.
state
.
doc
.
title
,
"
css_class
"
:
""
,
"
required
"
:
1
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
title
"
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
...
...
@@ -70,7 +71,7 @@
"
default
"
:
gadget
.
state
.
doc
.
reference
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
reference
"
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
...
...
@@ -81,7 +82,7 @@
"
default
"
:
gadget
.
state
.
doc
.
version
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
version
"
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
...
...
@@ -92,7 +93,7 @@
"
default
"
:
gadget
.
state
.
doc
.
language
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
language
"
,
"
hidden
"
:
0
,
"
type
"
:
"
StringField
"
...
...
@@ -103,7 +104,7 @@
"
default
"
:
gadget
.
state
.
doc
.
description
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
description
"
,
"
hidden
"
:
0
,
"
type
"
:
"
TextAreaField
"
...
...
@@ -112,13 +113,13 @@
"
default
"
:
gadget
.
state
.
doc
.
text_content
,
"
css_class
"
:
""
,
"
required
"
:
0
,
"
editable
"
:
1
,
"
editable
"
:
gadget
.
state
.
editable
,
///P
"
key
"
:
"
text_content
"
,
"
hidden
"
:
0
,
"
type
"
:
"
GadgetField
"
,
"
url
"
:
"
gadget_editor.html
"
,
"
sandbox
"
:
"
public
"
,
"
renderjs_extra
"
:
'
{"editor": "
notebook_editor", "maximize": true}
'
"
renderjs_extra
"
:
'
{"editor": "
jsmd_editor", "maximize": true}
'
///P
}
}},
"
_links
"
:
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_notebook_view.js.xml
View file @
3453adb1
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
0.42986.60138.7065
</string>
</value>
<value>
<string>
97
7.36477.39617.29644
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
15
38406432.04
</float>
<float>
15
65098228.79
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_controller_html.xml
View file @
3453adb1
...
...
@@ -229,7 +229,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
61.578.63257.59545
</string>
</value>
<value>
<string>
9
77.28694.830.42120
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -247,7 +247,7 @@
</tuple>
<state>
<tuple>
<float>
15
01163709.
2
</float>
<float>
15
65098202.9
2
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_notebook/app.xml
View file @
3453adb1
...
...
@@ -358,7 +358,7 @@
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_erp5_ojs_panel.html
</string>
</value>
<value>
<string>
gadget_erp5_ojs_panel
_with_editable
.html
</string>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
...
...
@@ -647,7 +647,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
3.33482.4166.8669
</string>
</value>
<value>
<string>
97
7.28694.830.42120
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -665,7 +665,7 @@
</tuple>
<state>
<tuple>
<float>
15
49887971.4
</float>
<float>
15
65022204.56
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
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