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
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
39e4c1e7
Commit
39e4c1e7
authored
Aug 24, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Clean up bootloader presentation gadget and add logo in appcache.
parent
ce8dd3e2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
366 additions
and
29 deletions
+366
-29
bt5/erp5_officejs/PathTemplateItem/image_module/gadget_officejs_logo_png.png
...athTemplateItem/image_module/gadget_officejs_logo_png.png
+0
-0
bt5/erp5_officejs/PathTemplateItem/image_module/gadget_officejs_logo_png.xml
...athTemplateItem/image_module/gadget_officejs_logo_png.xml
+312
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_js.js
...page_module/gadget_officejs_bootloader_presentation_js.js
+52
-27
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_js.xml
...age_module/gadget_officejs_bootloader_presentation_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/image_module/gadget_officejs_logo_png.png
0 → 100644
View file @
39e4c1e7
4.67 KB
bt5/erp5_officejs/PathTemplateItem/image_module/gadget_officejs_logo_png.xml
0 → 100644
View file @
39e4c1e7
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Image"
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>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<string>
654b376d060d3d312d97d43dc78e650d
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
image/png
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
officejs_logo.png
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
filename
</string>
</key>
<value>
<string>
OfficeJS_Logo.png
</string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
84
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_logo_png
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Image
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Logo
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
90
</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=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</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>
document_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>
1503561237.69
</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>
961.40537.63113.39850
</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>
1503564339.61
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_js.js
View file @
39e4c1e7
/*global window, rJS*/
/*global window, rJS
, document
*/
/*jslint nomen: true, maxlen:80, indent:2*/
/*jslint nomen: true, maxlen:80, indent:2*/
var
IMAGE
=
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABUCAYAAAACoiByAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABIvSURBVHic7Z15eBRVusZ/Vd3pTnc6S2cjIIuAgOwBZDUQXIfxIld4hHuRxRGdcWZwuy7jHccRFdxQFK8o6NwRHRgQGUVEBeTOuIIIYbmSQEBI1ChhCTEBErJ11/xxurqruqv3LODw5qmkz6lzur7z1ne+c76zBaJHO6BjDPn+pWGKIU9XoBDIBHYBNc0q0Xl40R5QPFcN8CSQ3qYS/URhwUe0elUDc4CUNpTrJ4lqAslWgArgd4C97UT7aaEED7k9+/QzIvwIcAdgbTMJfyLYhofUd7fsVJasekfpM3CQEeHfAb8EzG0m6TmOD/CQ+fq6Tcreyjql6MQZZeHrK5XuvXobEX4QmA7IbSZxGyPWgleoH36sFB8lSeLqayeydvMO5r+8lM7dumvTdweWAXuA6wEpxuees4ib6KoTJ/RfKMuMnzyV97f+P48+v5icC3S+TR9gNbAD+LcYn31OIn6NPlFhmMBkNnP9jJvYUFDEH558lszsdtrbg4D3gC3A5THKcE4hVqK9avxj5YlQ6bBYrUz71W/5cNc+7nn4MdLSdb7NSODvwD+AUTHKck4gbo2urDDWaH8k2uzcfMc9fLirmNn3P4gjWefbXAZsBt4HBsco01mNZrDRkRGtwpGcwuz7H2TT7mJuufNeEm063+YaoAB4C+gbo2xnJZqh1xHadARDqjOdu+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aO+/xKQEJOhxeB1IpvjcgOHga2IMfdfAHG0nsGFP9dgQvwHjHsQpzlq/RYlSNiFcCS+RWz+0f4tI8KZ7PM4j/M4j/M4j/M4j7Mf/wThRm3OaG5x0AAAAABJRU5ErkJggg==
"
;
(
function
(
window
,
rJS
,
document
)
{
(
function
(
window
,
rJS
)
{
"
use strict
"
;
"
use strict
"
;
rJS
(
window
)
rJS
(
window
)
.
declareMethod
(
'
render
'
,
function
(
options
)
{
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
inner
=
var
element
=
this
.
element
.
querySelector
(
"
center
"
),
"
<header>OfficeJS Installer</header>
"
+
img
,
div
,
i
,
header
,
p
,
loader
,
error
,
skip
;
"
<br>
"
+
"
<br>
"
+
header
=
document
.
createElement
(
'
header
'
);
"
<br>
"
+
header
.
textContent
=
"
OfficeJS Installer
"
;
"
<br>
"
+
element
.
appendChild
(
header
);
"
<br>
"
+
"
<br>
"
+
for
(
i
=
0
;
i
<
7
;
i
+=
1
)
{
"
<br>
"
+
element
.
appendChild
(
document
.
createElement
(
'
br
'
));
'
<img width="100" height="100" title="" alt="" src="
'
+
IMAGE
+
'
" />
'
+
}
"
<br>
"
+
'
<div> Preparing
'
+
options
.
app_name
+
'
</div>
'
+
img
=
document
.
createElement
(
'
img
'
);
"
<br> We prepare your application for a 100 % offline mode
"
+
img
.
setAttribute
(
'
width
'
,
'
100
'
);
'
<div class="loader"></div>
'
,
img
.
setAttribute
(
'
height
'
,
'
100
'
);
error_message
;
img
.
setAttribute
(
'
src
'
,
'
officejs_logo.png
'
);
element
.
appendChild
(
img
);
element
.
appendChild
(
document
.
createElement
(
'
br
'
));
div
=
document
.
createElement
(
'
div
'
);
p
=
document
.
createElement
(
'
p
'
);
p
.
textContent
=
"
Preparing
"
+
options
.
app_name
;
div
.
appendChild
(
p
);
div
.
appendChild
(
document
.
createElement
(
'
br
'
));
p
=
document
.
createElement
(
'
p
'
);
p
.
textContent
=
"
Your application is being prepared for a 100 % offline mode
"
;
div
.
appendChild
(
p
);
loader
=
document
.
createElement
(
'
div
'
);
loader
.
setAttribute
(
'
class
'
,
'
loader
'
);
element
.
appendChild
(
div
);
div
.
appendChild
(
document
.
createElement
(
'
br
'
));
element
.
appendChild
(
loader
);
if
(
options
.
retry
>
0
)
{
if
(
options
.
retry
>
0
)
{
error_message
=
options
.
error
.
message
||
'
Unknow Error
'
;
element
.
appendChild
(
document
.
createElement
(
'
br
'
));
inner
+=
"
<br>
"
+
error
=
document
.
createElement
(
'
div
'
);
"
<div> Last Error:
"
+
error_message
+
"
</div>
"
+
p
=
document
.
createElement
(
'
p
'
);
"
<div>Retry n°
"
+
options
.
retry
+
"
</div>
"
;
p
.
textContent
=
"
Last Error:
"
+
options
.
error
.
message
||
'
Unknow Error
'
;
element
.
appendChild
(
p
);
element
.
appendChild
(
document
.
createElement
(
'
br
'
));
p
=
document
.
createElement
(
'
p
'
);
p
.
textContent
=
"
Retry n°
"
+
options
.
retry
;
element
.
appendChild
(
p
);
}
}
inner
+=
'
<div><a href="
'
+
div
=
document
.
createElement
(
'
div
'
);
options
.
redirect_url
+
'
">Skip</a></div>
'
;
skip
=
document
.
createElement
(
'
a
'
);
this
.
element
.
querySelector
(
"
center
"
)
skip
.
textContent
=
'
Skip
'
;
.
innerHTML
=
inner
;
skip
.
setAttribute
(
'
href
'
,
options
.
redirect_url
);
div
.
appendChild
(
skip
);
element
.
appendChild
(
document
.
createElement
(
'
br
'
));
element
.
appendChild
(
skip
);
return
;
return
;
});
});
}(
window
,
rJS
));
}(
window
,
rJS
,
document
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_js.xml
View file @
39e4c1e7
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.
10577.42640.30924
</string>
</value>
<value>
<string>
961.
40574.60793.40960
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
1764672.0
6
</float>
<float>
150
3563479.2
6
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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