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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vincent Bechu
erp5
Commits
45f33fb3
Commit
45f33fb3
authored
Sep 12, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Add favicon to export site
parent
647405f1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
6 deletions
+18
-6
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
...web_page_module/gadget_officejs_jio_appcachestorage_js.js
+7
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
...eb_page_module/gadget_officejs_jio_appcachestorage_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+7
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
View file @
45f33fb3
...
...
@@ -15,6 +15,7 @@
this
.
_gadget_list
=
[];
this
.
_prefix
=
spec
.
prefix
||
""
;
this
.
_documents
=
{};
this
.
_favicon
=
spec
.
favicon
;
// Harcoded here, find a better way.
if
(
this
.
_take_installer
)
{
this
.
_relative_url_list
=
[
...
...
@@ -34,6 +35,9 @@
if
(
this
.
_take_installer
)
{
this
.
_version
=
'
app/
'
;
}
if
(
this
.
_favicon
)
{
this
.
_relative_url_list
.
push
(
'
favicon.ico
'
);
}
this
.
_version
=
this
.
_prefix
+
this
.
_version
;
}
...
...
@@ -59,6 +63,9 @@
}
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
if
(
relative_url
===
'
/favicon.ico
'
)
{
relative_url
=
storage
.
_favicon
;
}
return
jIO
.
util
.
ajax
({
type
:
"
GET
"
,
url
:
(
relative_url
.
startsWith
(
"
http
"
)
||
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
View file @
45f33fb3
...
...
@@ -239,7 +239,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
1.48080.27649.65467
</string>
</value>
<value>
<string>
96
2.2788.21589.60364
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -257,7 +257,7 @@
</tuple>
<state>
<tuple>
<float>
150
4083085.19
</float>
<float>
150
5228503.61
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
45f33fb3
...
...
@@ -138,7 +138,8 @@
"
officejs_image_editor_gadget
"
:
{
"
cache
"
:
"
gadget_officejs_image_editor_gadget.appcache
"
}
};
},
favicon
=
"
officejs_logo.png
"
;
function
exportZip
(
gadget
,
event
)
{
var
j
,
...
...
@@ -154,6 +155,9 @@
app
=
application_dict
[
form_result
.
web_site
];
zip_name
=
form_result
.
filename
;
len
=
app
.
sub_gadget
.
length
;
if
(
app
.
favicon
!==
undefined
)
{
favicon
=
app
.
favicon
;
}
function
fill
(
zip_file
)
{
if
(
i
<
len
)
{
...
...
@@ -221,7 +225,8 @@
take_installer
:
no_installer
===
undefined
,
manifest
:
cache_file
,
origin_url
:
site_url
,
prefix
:
prefix
||
""
prefix
:
prefix
||
""
,
favicon
:
favicon
}
},
signature_sub_storage
:
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
45f33fb3
...
...
@@ -227,7 +227,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
1.62121.21824.18124
</string>
</value>
<value>
<string>
96
2.2780.32923.23278
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>
150
4856376.66
</float>
<float>
150
5228525.41
</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