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
Cédric Le Ninivin
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
Show 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 @@
...
@@ -49,6 +49,7 @@
<option>
Appstore
</option>
<option>
Appstore
</option>
<option>
MediaPlayer
</option>
<option>
MediaPlayer
</option>
<option>
Trade Application
</option>
<option>
Trade Application
</option>
<option>
Todomvc
</option>
</select>
</select>
</div>
</div>
</div>
</div>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_html.xml
View file @
cd4ae3d6
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.
15342.25021.61081
</string>
</value>
<value>
<string>
960.
25484.60987.38638
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
8204265.35
</float>
<float>
149
9259242.52
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
cd4ae3d6
/*globals window, RSVP, rJS, loopEventListener, URL, document
/*globals window, RSVP, rJS, loopEventListener, URL, document
FileReader, console */
FileReader, console
, navigator
*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
,
jIO
,
URL
)
{
(
function
(
window
,
navigator
,
RSVP
,
rJS
,
jIO
,
URL
)
{
"
use strict
"
;
"
use strict
"
;
var
origin_url
=
(
window
.
location
.
origin
+
window
.
location
.
pathname
).
replace
(
var
origin_url
=
(
window
.
location
.
origin
+
window
.
location
.
pathname
).
replace
(
...
@@ -93,6 +93,12 @@
...
@@ -93,6 +93,12 @@
"
no_installer
"
:
true
,
"
no_installer
"
:
true
,
"
sub_gadget
"
:
[]
"
sub_gadget
"
:
[]
},
},
"
Todomvc
"
:
{
"
url
"
:
"
officejs_todomvc/
"
,
"
cache
"
:
"
officejs_todomvc.appcache
"
,
"
no_installer
"
:
true
,
"
sub_gadget
"
:
[]
},
"
connection
"
:
{
"
connection
"
:
{
"
cache
"
:
"
gadget_jabberconnection.appcache
"
,
"
cache
"
:
"
gadget_jabberconnection.appcache
"
,
"
no_installer
"
:
true
"
no_installer
"
:
true
...
@@ -137,6 +143,7 @@
...
@@ -137,6 +143,7 @@
len
=
event
.
target
.
length
,
len
=
event
.
target
.
length
,
app
,
app
,
take_installer
;
take_installer
;
for
(
j
=
0
;
j
<
len
;
j
+=
1
)
{
for
(
j
=
0
;
j
<
len
;
j
+=
1
)
{
form_result
[
event
.
target
[
j
].
name
]
=
event
.
target
[
j
].
value
;
form_result
[
event
.
target
[
j
].
name
]
=
event
.
target
[
j
].
value
;
}
}
...
@@ -251,4 +258,4 @@
...
@@ -251,4 +258,4 @@
});
});
});
});
}(
window
,
RSVP
,
rJS
,
jIO
,
URL
));
}(
window
,
navigator
,
RSVP
,
rJS
,
jIO
,
URL
));
\ No newline at end of file
\ 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 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
960.
25676.41490.62737
</string>
</value>
<value>
<string>
960.
34375.20392.48059
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
149
8824066.41
</float>
<float>
149
9338910.54
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/officejs_todomvc/PathTemplateItem/web_page_module/officejs_todomvc_appcache.xml
View file @
cd4ae3d6
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<item>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<value>
<
list
>
<
tuple
>
<string>
Anonymous
</string>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
...
@@ -17,17 +17,15 @@
...
@@ -17,17 +17,15 @@
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
<string>
Owner
</string>
</
list
>
</
tuple
>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -44,10 +42,7 @@
...
@@ -44,10 +42,7 @@
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -118,6 +113,7 @@ officejs_todomvc_gadget_model.js\n
...
@@ -118,6 +113,7 @@ officejs_todomvc_gadget_model.js\n
officejs_todomvc_gadget_router.html\n
officejs_todomvc_gadget_router.html\n
officejs_todomvc_gadget_router.js\n
officejs_todomvc_gadget_router.js\n
officejs_todomvc_manifest.json\n
officejs_todomvc_manifest.json\n
officejs_todomvc_serviceworker.js\n
/\n
/\n
NETWORK:\n
NETWORK:\n
*
</string>
</value>
*
</string>
</value>
...
@@ -255,7 +251,7 @@ NETWORK:\n
...
@@ -255,7 +251,7 @@ NETWORK:\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -273,7 +269,7 @@ NETWORK:\n
...
@@ -273,7 +269,7 @@ NETWORK:\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
14993
37902.46
</float>
<float>
14993
44507.9
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</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*/
/*jslint nomen: true, indent: 2, maxerr: 3, maxlen: 80*/
/*global self, caches, fetch,
Request,
Promise*/
/*global self, caches, fetch, Promise*/
(
function
(
self
,
caches
,
fetch
,
Request
,
Promise
)
{
(
function
(
self
,
caches
,
fetch
,
Promise
)
{
"
use strict
"
;
"
use strict
"
;
var
CACHE_VERSION
=
1
,
var
CACHE_VERSION
=
1
,
...
@@ -8,14 +8,7 @@
...
@@ -8,14 +8,7 @@
self
.
addEventListener
(
"
install
"
,
function
(
event
)
{
self
.
addEventListener
(
"
install
"
,
function
(
event
)
{
event
.
waitUntil
(
caches
.
open
(
CACHE_NAME
)
event
.
waitUntil
(
caches
.
open
(
CACHE_NAME
)
.
then
(
function
(
cache
)
{
.
then
(
function
(
cache
)
{
return
fetch
(
new
Request
(
return
fetch
(
"
officejs_todomvc.appcache
"
)
"
officejs_todomvc.appcache
"
,
{
method
:
'
GET
'
,
headers
:
{
'
Upgrade-Insecure-Requests
'
:
1
}
}))
.
then
(
function
(
cache_file
)
{
.
then
(
function
(
cache_file
)
{
return
cache_file
.
text
();
return
cache_file
.
text
();
})
})
...
@@ -24,7 +17,6 @@
...
@@ -24,7 +17,6 @@
i
,
i
,
take
=
false
;
take
=
false
;
self
.
cache_list
=
[];
self
.
cache_list
=
[];
self
.
console
.
log
(
text
);
if
(
relative_url_list
.
length
===
1
)
{
if
(
relative_url_list
.
length
===
1
)
{
relative_url_list
=
text
.
split
(
'
\n
'
);
relative_url_list
=
text
.
split
(
'
\n
'
);
}
}
...
@@ -46,13 +38,9 @@
...
@@ -46,13 +38,9 @@
take
=
true
;
take
=
true
;
}
}
}
}
self
.
console
.
log
(
self
.
cache_list
);
return
cache
.
addAll
(
self
.
cache_list
);
return
cache
.
addAll
(
self
.
cache_list
);
});
});
})
})
.
catch
(
function
(
error
)
{
self
.
console
.
log
(
error
);
})
.
then
(
function
()
{
.
then
(
function
()
{
return
self
.
skipWaiting
();
return
self
.
skipWaiting
();
}));
}));
...
@@ -81,4 +69,4 @@
...
@@ -81,4 +69,4 @@
}));
}));
});
});
}(
self
,
caches
,
fetch
,
Request
,
Promise
));
}(
self
,
caches
,
fetch
,
Promise
));
\ No newline at end of file
\ 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 @@
...
@@ -232,7 +232,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<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>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1499
268940.21
</float>
<float>
1499
339640.16
</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