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
Ludovic Kiefer
erp5
Commits
cd4ae3d6
Commit
cd4ae3d6
authored
Jul 06, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: add todomvc to export site
parent
6f95a2dd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
26 additions
and
34 deletions
+26
-34
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_html.html
...tem/web_page_module/gadget_officejs_page_export_html.html
+1
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_html.xml
...Item/web_page_module/gadget_officejs_page_export_html.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
+10
-3
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
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_appcache.xml
...emplateItem/web_page_module/officejs_todomvc_appcache.xml
+5
-9
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.js
...Item/web_page_module/officejs_todomvc_serviceworker_js.js
+4
-16
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml
...tem/web_page_module/officejs_todomvc_serviceworker_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_html.html
View file @
cd4ae3d6
...
...
@@ -49,6 +49,7 @@
<option>
Appstore
</option>
<option>
MediaPlayer
</option>
<option>
Trade Application
</option>
<option>
Todomvc
</option>
</select>
</div>
</div>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_html.xml
View file @
cd4ae3d6
...
...
@@ -231,7 +231,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.
15342.25021.61081
</string>
</value>
<value>
<string>
960.
25484.60987.38638
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -249,7 +249,7 @@
</tuple>
<state>
<tuple>
<float>
149
8204265.35
</float>
<float>
149
9259242.52
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
cd4ae3d6
/*globals window, RSVP, rJS, loopEventListener, URL, document
FileReader, console */
FileReader, console
, navigator
*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
,
jIO
,
URL
)
{
(
function
(
window
,
navigator
,
RSVP
,
rJS
,
jIO
,
URL
)
{
"
use strict
"
;
var
origin_url
=
(
window
.
location
.
origin
+
window
.
location
.
pathname
).
replace
(
...
...
@@ -93,6 +93,12 @@
"
no_installer
"
:
true
,
"
sub_gadget
"
:
[]
},
"
Todomvc
"
:
{
"
url
"
:
"
officejs_todomvc/
"
,
"
cache
"
:
"
officejs_todomvc.appcache
"
,
"
no_installer
"
:
true
,
"
sub_gadget
"
:
[]
},
"
connection
"
:
{
"
cache
"
:
"
gadget_jabberconnection.appcache
"
,
"
no_installer
"
:
true
...
...
@@ -137,6 +143,7 @@
len
=
event
.
target
.
length
,
app
,
take_installer
;
for
(
j
=
0
;
j
<
len
;
j
+=
1
)
{
form_result
[
event
.
target
[
j
].
name
]
=
event
.
target
[
j
].
value
;
}
...
...
@@ -251,4 +258,4 @@
});
});
}(
window
,
RSVP
,
rJS
,
jIO
,
URL
));
\ No newline at end of file
}(
window
,
navigator
,
RSVP
,
rJS
,
jIO
,
URL
));
\ No newline at end of file
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
cd4ae3d6
...
...
@@ -227,7 +227,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.
25676.41490.62737
</string>
</value>
<value>
<string>
960.
34375.20392.48059
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>
149
8824066.41
</float>
<float>
149
9338910.54
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_appcache.xml
View file @
cd4ae3d6
...
...
@@ -9,7 +9,7 @@
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<
list
>
<
tuple
>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
...
...
@@ -17,17 +17,15 @@
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</
list
>
</
tuple
>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -44,10 +42,7 @@
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
...
...
@@ -118,6 +113,7 @@ officejs_todomvc_gadget_model.js\n
officejs_todomvc_gadget_router.html\n
officejs_todomvc_gadget_router.js\n
officejs_todomvc_manifest.json\n
officejs_todomvc_serviceworker.js\n
/\n
NETWORK:\n
*
</string>
</value>
...
...
@@ -255,7 +251,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.35
683.10793.57514
</string>
</value>
<value>
<string>
960.35
777.53431.31453
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -273,7 +269,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
14993
37902.46
</float>
<float>
14993
44507.9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.js
View file @
cd4ae3d6
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80*/
/*global self, caches, fetch,
Request,
Promise*/
(
function
(
self
,
caches
,
fetch
,
Request
,
Promise
)
{
/*global self, caches, fetch, Promise*/
(
function
(
self
,
caches
,
fetch
,
Promise
)
{
"
use strict
"
;
var
CACHE_VERSION
=
1
,
...
...
@@ -8,14 +8,7 @@
self
.
addEventListener
(
"
install
"
,
function
(
event
)
{
event
.
waitUntil
(
caches
.
open
(
CACHE_NAME
)
.
then
(
function
(
cache
)
{
return
fetch
(
new
Request
(
"
officejs_todomvc.appcache
"
,
{
method
:
'
GET
'
,
headers
:
{
'
Upgrade-Insecure-Requests
'
:
1
}
}))
return
fetch
(
"
officejs_todomvc.appcache
"
)
.
then
(
function
(
cache_file
)
{
return
cache_file
.
text
();
})
...
...
@@ -24,7 +17,6 @@
i
,
take
=
false
;
self
.
cache_list
=
[];
self
.
console
.
log
(
text
);
if
(
relative_url_list
.
length
===
1
)
{
relative_url_list
=
text
.
split
(
'
\n
'
);
}
...
...
@@ -46,13 +38,9 @@
take
=
true
;
}
}
self
.
console
.
log
(
self
.
cache_list
);
return
cache
.
addAll
(
self
.
cache_list
);
});
})
.
catch
(
function
(
error
)
{
self
.
console
.
log
(
error
);
})
.
then
(
function
()
{
return
self
.
skipWaiting
();
}));
...
...
@@ -81,4 +69,4 @@
}));
});
}(
self
,
caches
,
fetch
,
Request
,
Promise
));
\ No newline at end of file
}(
self
,
caches
,
fetch
,
Promise
));
\ No newline at end of file
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_serviceworker_js.xml
View file @
cd4ae3d6
...
...
@@ -232,7 +232,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.3
4534.37982.4333
2
</string>
</value>
<value>
<string>
960.3
5709.39075.365
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -250,7 +250,7 @@
</tuple>
<state>
<tuple>
<float>
1499
268940.21
</float>
<float>
1499
339640.16
</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