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
Labels
Merge Requests
141
Merge Requests
141
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
38e56924
Commit
38e56924
authored
Nov 09, 2017
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_monitoring] replace jquery notify plugin with erp5_notify gadget
parent
2932fbc3
Changes
32
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
108 additions
and
9615 deletions
+108
-9615
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/Notify_min_js.js
...itoring/PathTemplateItem/web_page_module/Notify_min_js.js
+0
-1
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/Notify_min_js.xml
...toring/PathTemplateItem/web_page_module/Notify_min_js.xml
+0
-332
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_hosting_subscription_view_js.js
...ule/gadget_erp5_page_ojsm_hosting_subscription_view_js.js
+5
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_hosting_subscription_view_js.xml
...le/gadget_erp5_page_ojsm_hosting_subscription_view_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_import_export_js.js
...web_page_module/gadget_erp5_page_ojsm_import_export_js.js
+11
-4
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_import_export_js.xml
...eb_page_module/gadget_erp5_page_ojsm_import_export_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_add_js.js
...Item/web_page_module/gadget_erp5_page_ojsm_opml_add_js.js
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_add_js.xml
...tem/web_page_module/gadget_erp5_page_ojsm_opml_add_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
...m/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
+1
-1
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
.../web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_html.html
...age_module/gadget_erp5_page_ojsm_processes_view_html.html
+0
-1
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_html.xml
...page_module/gadget_erp5_page_ojsm_processes_view_html.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_js.js
...eb_page_module/gadget_erp5_page_ojsm_processes_view_js.js
+12
-16
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_js.xml
...b_page_module/gadget_erp5_page_ojsm_processes_view_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_html.html
...age_module/gadget_erp5_page_ojsm_resources_view_html.html
+0
-1
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_html.xml
...page_module/gadget_erp5_page_ojsm_resources_view_html.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_js.js
...eb_page_module/gadget_erp5_page_ojsm_resources_view_js.js
+18
-22
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_js.xml
...b_page_module/gadget_erp5_page_ojsm_resources_view_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_settings_configurator_js.js
..._page_module/gadget_erp5_page_settings_configurator_js.js
+3
-4
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_settings_configurator_js.xml
...page_module/gadget_erp5_page_settings_configurator_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_jio_opml_view_js.js
...eItem/web_page_module/gadget_officejs_jio_opml_view_js.js
+3
-3
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_jio_opml_view_js.xml
...Item/web_page_module/gadget_officejs_jio_opml_view_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_appcache.xml
...m/web_page_module/gadget_officejs_monitoring_appcache.xml
+4
-4
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_html.html
...web_page_module/gadget_officejs_monitoring_sync_html.html
+0
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_html.xml
.../web_page_module/gadget_officejs_monitoring_sync_html.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_js.js
...tem/web_page_module/gadget_officejs_monitoring_sync_js.js
+21
-33
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_js.xml
...em/web_page_module/gadget_officejs_monitoring_sync_js.xml
+2
-2
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/rjs_jquery_js.js
...itoring/PathTemplateItem/web_page_module/rjs_jquery_js.js
+0
-8829
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/rjs_jquery_js.xml
...toring/PathTemplateItem/web_page_module/rjs_jquery_js.xml
+0
-324
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
...ing/bt/template_keep_last_workflow_history_only_path_list
+2
-4
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
+2
-4
bt5/erp5_web_monitoring/bt/template_path_list
bt5/erp5_web_monitoring/bt/template_path_list
+0
-2
No files found.
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/Notify_min_js.js
deleted
100644 → 0
View file @
2932fbc3
(
function
(
e
){
typeof
define
==
"
function
"
&&
define
.
amd
?
define
([
"
jquery
"
],
e
):
typeof
module
==
"
object
"
&&
module
.
exports
?
module
.
exports
=
function
(
t
,
n
){
return
n
===
undefined
&&
(
typeof
window
!=
"
undefined
"
?
n
=
require
(
"
jquery
"
):
n
=
require
(
"
jquery
"
)(
t
)),
e
(
n
),
n
}:
e
(
jQuery
)})(
function
(
e
){
function
L
(
t
,
n
,
i
){
typeof
i
==
"
string
"
&&
(
i
=
{
className
:
i
}),
this
.
options
=
w
(
b
,
e
.
isPlainObject
(
i
)?
i
:{}),
this
.
loadHTML
(),
this
.
wrapper
=
e
(
h
.
html
),
this
.
options
.
clickToHide
&&
this
.
wrapper
.
addClass
(
r
+
"
-hidable
"
),
this
.
wrapper
.
data
(
r
,
this
),
this
.
arrow
=
this
.
wrapper
.
find
(
"
.
"
+
r
+
"
-arrow
"
),
this
.
container
=
this
.
wrapper
.
find
(
"
.
"
+
r
+
"
-container
"
),
this
.
container
.
append
(
this
.
userContainer
),
t
&&
t
.
length
&&
(
this
.
elementType
=
t
.
attr
(
"
type
"
),
this
.
originalElement
=
t
,
this
.
elem
=
T
(
t
),
this
.
elem
.
data
(
r
,
this
),
this
.
elem
.
before
(
this
.
wrapper
)),
this
.
container
.
hide
(),
this
.
run
(
n
)}
var
t
=
[].
indexOf
||
function
(
e
){
for
(
var
t
=
0
,
n
=
this
.
length
;
t
<
n
;
t
++
)
if
(
t
in
this
&&
this
[
t
]
===
e
)
return
t
;
return
-
1
},
n
=
"
notify
"
,
r
=
n
+
"
js
"
,
i
=
n
+
"
!blank
"
,
s
=
{
t
:
"
top
"
,
m
:
"
middle
"
,
b
:
"
bottom
"
,
l
:
"
left
"
,
c
:
"
center
"
,
r
:
"
right
"
},
o
=
[
"
l
"
,
"
c
"
,
"
r
"
],
u
=
[
"
t
"
,
"
m
"
,
"
b
"
],
a
=
[
"
t
"
,
"
b
"
,
"
l
"
,
"
r
"
],
f
=
{
t
:
"
b
"
,
m
:
null
,
b
:
"
t
"
,
l
:
"
r
"
,
c
:
null
,
r
:
"
l
"
},
l
=
function
(
t
){
var
n
;
return
n
=
[],
e
.
each
(
t
.
split
(
/
\W
+/
),
function
(
e
,
t
){
var
r
;
r
=
t
.
toLowerCase
().
charAt
(
0
);
if
(
s
[
r
])
return
n
.
push
(
r
)}),
n
},
c
=
{},
h
=
{
name
:
"
core
"
,
html
:
'
<div class="
'
+
r
+
'
-wrapper">
\n
<div class="
'
+
r
+
'
-arrow"></div>
\n
<div class="
'
+
r
+
'
-container"></div>
\n
</div>
'
,
css
:
"
.
"
+
r
+
"
-corner {
\n
position: fixed;
\n
margin: 5px;
\n
z-index: 1050;
\n
}
\n\n
.
"
+
r
+
"
-corner .
"
+
r
+
"
-wrapper,
\n
.
"
+
r
+
"
-corner .
"
+
r
+
"
-container {
\n
position: relative;
\n
display: block;
\n
height: inherit;
\n
width: inherit;
\n
margin: 3px;
\n
}
\n\n
.
"
+
r
+
"
-wrapper {
\n
z-index: 1;
\n
position: absolute;
\n
display: inline-block;
\n
height: 0;
\n
width: 0;
\n
}
\n\n
.
"
+
r
+
"
-container {
\n
display: none;
\n
z-index: 1;
\n
position: absolute;
\n
}
\n\n
.
"
+
r
+
"
-hidable {
\n
cursor: pointer;
\n
}
\n\n
[data-notify-text],[data-notify-html] {
\n
position: relative;
\n
}
\n\n
.
"
+
r
+
"
-arrow {
\n
position: absolute;
\n
z-index: 2;
\n
width: 0;
\n
height: 0;
\n
}
"
},
p
=
{
"
border-radius
"
:[
"
-webkit-
"
,
"
-moz-
"
]},
d
=
function
(
e
){
return
c
[
e
]},
v
=
function
(
t
,
i
){
if
(
!
t
)
throw
"
Missing Style name
"
;
if
(
!
i
)
throw
"
Missing Style definition
"
;
if
(
!
i
.
html
)
throw
"
Missing Style HTML
"
;
var
s
=
c
[
t
];
s
&&
s
.
cssElem
&&
(
window
.
console
&&
console
.
warn
(
n
+
"
: overwriting style '
"
+
t
+
"
'
"
),
c
[
t
].
cssElem
.
remove
()),
i
.
name
=
t
,
c
[
t
]
=
i
;
var
o
=
""
;
i
.
classes
&&
e
.
each
(
i
.
classes
,
function
(
t
,
n
){
return
o
+=
"
.
"
+
r
+
"
-
"
+
i
.
name
+
"
-
"
+
t
+
"
{
\n
"
,
e
.
each
(
n
,
function
(
t
,
n
){
return
p
[
t
]
&&
e
.
each
(
p
[
t
],
function
(
e
,
r
){
return
o
+=
"
"
+
r
+
t
+
"
:
"
+
n
+
"
;
\n
"
}),
o
+=
"
"
+
t
+
"
:
"
+
n
+
"
;
\n
"
}),
o
+=
"
}
\n
"
}),
i
.
css
&&
(
o
+=
"
/* styles for
"
+
i
.
name
+
"
*/
\n
"
+
i
.
css
),
o
&&
(
i
.
cssElem
=
m
(
o
),
i
.
cssElem
.
attr
(
"
id
"
,
"
notify-
"
+
i
.
name
));
var
u
=
{},
a
=
e
(
i
.
html
);
g
(
"
html
"
,
a
,
u
),
g
(
"
text
"
,
a
,
u
),
i
.
fields
=
u
},
m
=
function
(
t
){
var
n
,
r
,
i
;
r
=
S
(
"
style
"
),
r
.
attr
(
"
type
"
,
"
text/css
"
),
e
(
"
head
"
).
append
(
r
);
try
{
r
.
html
(
t
)}
catch
(
s
){
r
[
0
].
styleSheet
.
cssText
=
t
}
return
r
},
g
=
function
(
t
,
n
,
r
){
var
s
;
return
t
!==
"
html
"
&&
(
t
=
"
text
"
),
s
=
"
data-notify-
"
+
t
,
y
(
n
,
"
[
"
+
s
+
"
]
"
).
each
(
function
(){
var
n
;
n
=
e
(
this
).
attr
(
s
),
n
||
(
n
=
i
),
r
[
n
]
=
t
})},
y
=
function
(
e
,
t
){
return
e
.
is
(
t
)?
e
:
e
.
find
(
t
)},
b
=
{
clickToHide
:
!
0
,
autoHide
:
!
0
,
autoHideDelay
:
5
e3
,
arrowShow
:
!
0
,
arrowSize
:
5
,
breakNewLines
:
!
0
,
elementPosition
:
"
bottom
"
,
globalPosition
:
"
top right
"
,
style
:
"
bootstrap
"
,
className
:
"
error
"
,
showAnimation
:
"
slideDown
"
,
showDuration
:
400
,
hideAnimation
:
"
slideUp
"
,
hideDuration
:
200
,
gap
:
5
},
w
=
function
(
t
,
n
){
var
r
;
return
r
=
function
(){},
r
.
prototype
=
t
,
e
.
extend
(
!
0
,
new
r
,
n
)},
E
=
function
(
t
){
return
e
.
extend
(
b
,
t
)},
S
=
function
(
t
){
return
e
(
"
<
"
+
t
+
"
></
"
+
t
+
"
>
"
)},
x
=
{},
T
=
function
(
t
){
var
n
;
return
t
.
is
(
"
[type=radio]
"
)
&&
(
n
=
t
.
parents
(
"
form:first
"
).
find
(
"
[type=radio]
"
).
filter
(
function
(
n
,
r
){
return
e
(
r
).
attr
(
"
name
"
)
===
t
.
attr
(
"
name
"
)}),
t
=
n
.
first
()),
t
},
N
=
function
(
e
,
t
,
n
){
var
r
,
i
;
if
(
typeof
n
==
"
string
"
)
n
=
parseInt
(
n
,
10
);
else
if
(
typeof
n
!=
"
number
"
)
return
;
if
(
isNaN
(
n
))
return
;
return
r
=
s
[
f
[
t
.
charAt
(
0
)]],
i
=
t
,
e
[
r
]
!==
undefined
&&
(
t
=
s
[
r
.
charAt
(
0
)],
n
=-
n
),
e
[
t
]
===
undefined
?
e
[
t
]
=
n
:
e
[
t
]
+=
n
,
null
},
C
=
function
(
e
,
t
,
n
){
if
(
e
===
"
l
"
||
e
===
"
t
"
)
return
0
;
if
(
e
===
"
c
"
||
e
===
"
m
"
)
return
n
/
2
-
t
/
2
;
if
(
e
===
"
r
"
||
e
===
"
b
"
)
return
n
-
t
;
throw
"
Invalid alignment
"
},
k
=
function
(
e
){
return
k
.
e
=
k
.
e
||
S
(
"
div
"
),
k
.
e
.
text
(
e
).
html
()};
L
.
prototype
.
loadHTML
=
function
(){
var
t
;
t
=
this
.
getStyle
(),
this
.
userContainer
=
e
(
t
.
html
),
this
.
userFields
=
t
.
fields
},
L
.
prototype
.
show
=
function
(
e
,
t
){
var
n
,
r
,
i
,
s
,
o
;
r
=
function
(
n
){
return
function
(){
!
e
&&!
n
.
elem
&&
n
.
destroy
();
if
(
t
)
return
t
()}}(
this
),
o
=
this
.
container
.
parent
().
parents
(
"
:hidden
"
).
length
>
0
,
i
=
this
.
container
.
add
(
this
.
arrow
),
n
=
[];
if
(
o
&&
e
)
s
=
"
show
"
;
else
if
(
o
&&!
e
)
s
=
"
hide
"
;
else
if
(
!
o
&&
e
)
s
=
this
.
options
.
showAnimation
,
n
.
push
(
this
.
options
.
showDuration
);
else
{
if
(
!!
o
||!!
e
)
return
r
();
s
=
this
.
options
.
hideAnimation
,
n
.
push
(
this
.
options
.
hideDuration
)}
return
n
.
push
(
r
),
i
[
s
].
apply
(
i
,
n
)},
L
.
prototype
.
setGlobalPosition
=
function
(){
var
t
=
this
.
getPosition
(),
n
=
t
[
0
],
i
=
t
[
1
],
o
=
s
[
n
],
u
=
s
[
i
],
a
=
n
+
"
|
"
+
i
,
f
=
x
[
a
];
if
(
!
f
){
f
=
x
[
a
]
=
S
(
"
div
"
);
var
l
=
{};
l
[
o
]
=
0
,
u
===
"
middle
"
?
l
.
top
=
"
45%
"
:
u
===
"
center
"
?
l
.
left
=
"
45%
"
:
l
[
u
]
=
0
,
f
.
css
(
l
).
addClass
(
r
+
"
-corner
"
),
e
(
"
body
"
).
append
(
f
)}
return
f
.
prepend
(
this
.
wrapper
)},
L
.
prototype
.
setElementPosition
=
function
(){
var
n
,
r
,
i
,
l
,
c
,
h
,
p
,
d
,
v
,
m
,
g
,
y
,
b
,
w
,
E
,
S
,
x
,
T
,
k
,
L
,
A
,
O
,
M
,
_
,
D
,
P
,
H
,
B
,
j
;
H
=
this
.
getPosition
(),
_
=
H
[
0
],
O
=
H
[
1
],
M
=
H
[
2
],
g
=
this
.
elem
.
position
(),
d
=
this
.
elem
.
outerHeight
(),
y
=
this
.
elem
.
outerWidth
(),
v
=
this
.
elem
.
innerHeight
(),
m
=
this
.
elem
.
innerWidth
(),
j
=
this
.
wrapper
.
position
(),
c
=
this
.
container
.
height
(),
h
=
this
.
container
.
width
(),
T
=
s
[
_
],
L
=
f
[
_
],
A
=
s
[
L
],
p
=
{},
p
[
A
]
=
_
===
"
b
"
?
d
:
_
===
"
r
"
?
y
:
0
,
N
(
p
,
"
top
"
,
g
.
top
-
j
.
top
),
N
(
p
,
"
left
"
,
g
.
left
-
j
.
left
),
B
=
[
"
top
"
,
"
left
"
];
for
(
w
=
0
,
S
=
B
.
length
;
w
<
S
;
w
++
)
D
=
B
[
w
],
k
=
parseInt
(
this
.
elem
.
css
(
"
margin-
"
+
D
),
10
),
k
&&
N
(
p
,
D
,
k
);
b
=
Math
.
max
(
0
,
this
.
options
.
gap
-
(
this
.
options
.
arrowShow
?
i
:
0
)),
N
(
p
,
A
,
b
);
if
(
!
this
.
options
.
arrowShow
)
this
.
arrow
.
hide
();
else
{
i
=
this
.
options
.
arrowSize
,
r
=
e
.
extend
({},
p
),
n
=
this
.
userContainer
.
css
(
"
border-color
"
)
||
this
.
userContainer
.
css
(
"
border-top-color
"
)
||
this
.
userContainer
.
css
(
"
background-color
"
)
||
"
white
"
;
for
(
E
=
0
,
x
=
a
.
length
;
E
<
x
;
E
++
){
D
=
a
[
E
],
P
=
s
[
D
];
if
(
D
===
L
)
continue
;
l
=
P
===
T
?
n
:
"
transparent
"
,
r
[
"
border-
"
+
P
]
=
i
+
"
px solid
"
+
l
}
N
(
p
,
s
[
L
],
i
),
t
.
call
(
a
,
O
)
>=
0
&&
N
(
r
,
s
[
O
],
i
*
2
)}
t
.
call
(
u
,
_
)
>=
0
?(
N
(
p
,
"
left
"
,
C
(
O
,
h
,
y
)),
r
&&
N
(
r
,
"
left
"
,
C
(
O
,
i
,
m
))):
t
.
call
(
o
,
_
)
>=
0
&&
(
N
(
p
,
"
top
"
,
C
(
O
,
c
,
d
)),
r
&&
N
(
r
,
"
top
"
,
C
(
O
,
i
,
v
))),
this
.
container
.
is
(
"
:visible
"
)
&&
(
p
.
display
=
"
block
"
),
this
.
container
.
removeAttr
(
"
style
"
).
css
(
p
);
if
(
r
)
return
this
.
arrow
.
removeAttr
(
"
style
"
).
css
(
r
)},
L
.
prototype
.
getPosition
=
function
(){
var
e
,
n
,
r
,
i
,
s
,
f
,
c
,
h
;
h
=
this
.
options
.
position
||
(
this
.
elem
?
this
.
options
.
elementPosition
:
this
.
options
.
globalPosition
),
e
=
l
(
h
),
e
.
length
===
0
&&
(
e
[
0
]
=
"
b
"
);
if
(
n
=
e
[
0
],
t
.
call
(
a
,
n
)
<
0
)
throw
"
Must be one of [
"
+
a
+
"
]
"
;
if
(
e
.
length
===
1
||
(
r
=
e
[
0
],
t
.
call
(
u
,
r
)
>=
0
)
&&
(
i
=
e
[
1
],
t
.
call
(
o
,
i
)
<
0
)
||
(
s
=
e
[
0
],
t
.
call
(
o
,
s
)
>=
0
)
&&
(
f
=
e
[
1
],
t
.
call
(
u
,
f
)
<
0
))
e
[
1
]
=
(
c
=
e
[
0
],
t
.
call
(
o
,
c
)
>=
0
)?
"
m
"
:
"
l
"
;
return
e
.
length
===
2
&&
(
e
[
2
]
=
e
[
1
]),
e
},
L
.
prototype
.
getStyle
=
function
(
e
){
var
t
;
e
||
(
e
=
this
.
options
.
style
),
e
||
(
e
=
"
default
"
),
t
=
c
[
e
];
if
(
!
t
)
throw
"
Missing style:
"
+
e
;
return
t
},
L
.
prototype
.
updateClasses
=
function
(){
var
t
,
n
;
return
t
=
[
"
base
"
],
e
.
isArray
(
this
.
options
.
className
)?
t
=
t
.
concat
(
this
.
options
.
className
):
this
.
options
.
className
&&
t
.
push
(
this
.
options
.
className
),
n
=
this
.
getStyle
(),
t
=
e
.
map
(
t
,
function
(
e
){
return
r
+
"
-
"
+
n
.
name
+
"
-
"
+
e
}).
join
(
"
"
),
this
.
userContainer
.
attr
(
"
class
"
,
t
)},
L
.
prototype
.
run
=
function
(
t
,
n
){
var
r
,
s
,
o
,
u
,
a
;
e
.
isPlainObject
(
n
)?
e
.
extend
(
this
.
options
,
n
):
e
.
type
(
n
)
===
"
string
"
&&
(
this
.
options
.
className
=
n
);
if
(
this
.
container
&&!
t
){
this
.
show
(
!
1
);
return
}
if
(
!
this
.
container
&&!
t
)
return
;
s
=
{},
e
.
isPlainObject
(
t
)?
s
=
t
:
s
[
i
]
=
t
;
for
(
o
in
s
){
r
=
s
[
o
],
u
=
this
.
userFields
[
o
];
if
(
!
u
)
continue
;
u
===
"
text
"
&&
(
r
=
k
(
r
),
this
.
options
.
breakNewLines
&&
(
r
=
r
.
replace
(
/
\n
/g
,
"
<br/>
"
))),
a
=
o
===
i
?
""
:
"
=
"
+
o
,
y
(
this
.
userContainer
,
"
[data-notify-
"
+
u
+
a
+
"
]
"
).
html
(
r
)}
this
.
updateClasses
(),
this
.
elem
?
this
.
setElementPosition
():
this
.
setGlobalPosition
(),
this
.
show
(
!
0
),
this
.
options
.
autoHide
&&
(
clearTimeout
(
this
.
autohideTimer
),
this
.
autohideTimer
=
setTimeout
(
this
.
show
.
bind
(
this
,
!
1
),
this
.
options
.
autoHideDelay
))},
L
.
prototype
.
destroy
=
function
(){
this
.
wrapper
.
data
(
r
,
null
),
this
.
wrapper
.
remove
()},
e
[
n
]
=
function
(
t
,
r
,
i
){
return
t
&&
t
.
nodeName
||
t
.
jquery
?
e
(
t
)[
n
](
r
,
i
):(
i
=
r
,
r
=
t
,
new
L
(
null
,
r
,
i
)),
t
},
e
.
fn
[
n
]
=
function
(
t
,
n
){
return
e
(
this
).
each
(
function
(){
var
i
=
T
(
e
(
this
)).
data
(
r
);
i
&&
i
.
destroy
();
var
s
=
new
L
(
e
(
this
),
t
,
n
)}),
this
},
e
.
extend
(
e
[
n
],{
defaults
:
E
,
addStyle
:
v
,
pluginOptions
:
b
,
getStyle
:
d
,
insertCSS
:
m
}),
v
(
"
bootstrap
"
,{
html
:
"
<div>
\n
<span data-notify-text></span>
\n
</div>
"
,
classes
:{
base
:{
"
font-weight
"
:
"
bold
"
,
padding
:
"
8px 15px 8px 14px
"
,
"
text-shadow
"
:
"
0 1px 0 rgba(255, 255, 255, 0.5)
"
,
"
background-color
"
:
"
#fcf8e3
"
,
border
:
"
1px solid #fbeed5
"
,
"
border-radius
"
:
"
4px
"
,
"
white-space
"
:
"
nowrap
"
,
"
padding-left
"
:
"
25px
"
,
"
background-repeat
"
:
"
no-repeat
"
,
"
background-position
"
:
"
3px 7px
"
},
error
:{
color
:
"
#B94A48
"
,
"
background-color
"
:
"
#F2DEDE
"
,
"
border-color
"
:
"
#EED3D7
"
,
"
background-image
"
:
"
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAtRJREFUeNqkVc1u00AQHq+dOD+0poIQfkIjalW0SEGqRMuRnHos3DjwAH0ArlyQeANOOSMeAA5VjyBxKBQhgSpVUKKQNGloFdw4cWw2jtfMOna6JOUArDTazXi/b3dm55socPqQhFka++aHBsI8GsopRJERNFlY88FCEk9Yiwf8RhgRyaHFQpPHCDmZG5oX2ui2yilkcTT1AcDsbYC1NMAyOi7zTX2Agx7A9luAl88BauiiQ/cJaZQfIpAlngDcvZZMrl8vFPK5+XktrWlx3/ehZ5r9+t6e+WVnp1pxnNIjgBe4/6dAysQc8dsmHwPcW9C0h3fW1hans1ltwJhy0GxK7XZbUlMp5Ww2eyan6+ft/f2FAqXGK4CvQk5HueFz7D6GOZtIrK+srupdx1GRBBqNBtzc2AiMr7nPplRdKhb1q6q6zjFhrklEFOUutoQ50xcX86ZlqaZpQrfbBdu2R6/G19zX6XSgh6RX5ubyHCM8nqSID6ICrGiZjGYYxojEsiw4PDwMSL5VKsC8Yf4VRYFzMzMaxwjlJSlCyAQ9l0CW44PBADzXhe7xMdi9HtTrdYjFYkDQL0cn4Xdq2/EAE+InCnvADTf2eah4Sx9vExQjkqXT6aAERICMewd/UAp/IeYANM2joxt+q5VI+ieq2i0Wg3l6DNzHwTERPgo1ko7XBXj3vdlsT2F+UuhIhYkp7u7CarkcrFOCtR3H5JiwbAIeImjT/YQKKBtGjRFCU5IUgFRe7fF4cCNVIPMYo3VKqxwjyNAXNepuopyqnld602qVsfRpEkkz+GFL1wPj6ySXBpJtWVa5xlhpcyhBNwpZHmtX8AGgfIExo0ZpzkWVTBGiXCSEaHh62/PoR0p/vHaczxXGnj4bSo+G78lELU80h1uogBwWLf5YlsPmgDEd4M236xjm+8nm4IuE/9u+/PH2JXZfbwz4zw1WbO+SQPpXfwG/BBgAhCNZiSb/pOQAAAAASUVORK5CYII=)
"
},
success
:{
color
:
"
#468847
"
,
"
background-color
"
:
"
#DFF0D8
"
,
"
border-color
"
:
"
#D6E9C6
"
,
"
background-image
"
:
"
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAutJREFUeNq0lctPE0Ecx38zu/RFS1EryqtgJFA08YCiMZIAQQ4eRG8eDGdPJiYeTIwHTfwPiAcvXIwXLwoXPaDxkWgQ6islKlJLSQWLUraPLTv7Gme32zoF9KSTfLO7v53vZ3d/M7/fIth+IO6INt2jjoA7bjHCJoAlzCRw59YwHYjBnfMPqAKWQYKjGkfCJqAF0xwZjipQtA3MxeSG87VhOOYegVrUCy7UZM9S6TLIdAamySTclZdYhFhRHloGYg7mgZv1Zzztvgud7V1tbQ2twYA34LJmF4p5dXF1KTufnE+SxeJtuCZNsLDCQU0+RyKTF27Unw101l8e6hns3u0PBalORVVVkcaEKBJDgV3+cGM4tKKmI+ohlIGnygKX00rSBfszz/n2uXv81wd6+rt1orsZCHRdr1Imk2F2Kob3hutSxW8thsd8AXNaln9D7CTfA6O+0UgkMuwVvEFFUbbAcrkcTA8+AtOk8E6KiQiDmMFSDqZItAzEVQviRkdDdaFgPp8HSZKAEAL5Qh7Sq2lIJBJwv2scUqkUnKoZgNhcDKhKg5aH+1IkcouCAdFGAQsuWZYhOjwFHQ96oagWgRoUov1T9kRBEODAwxM2QtEUl+Wp+Ln9VRo6BcMw4ErHRYjH4/B26AlQoQQTRdHWwcd9AH57+UAXddvDD37DmrBBV34WfqiXPl61g+vr6xA9zsGeM9gOdsNXkgpEtTwVvwOklXLKm6+/p5ezwk4B+j6droBs2CsGa/gNs6RIxazl4Tc25mpTgw/apPR1LYlNRFAzgsOxkyXYLIM1V8NMwyAkJSctD1eGVKiq5wWjSPdjmeTkiKvVW4f2YPHWl3GAVq6ymcyCTgovM3FzyRiDe2TaKcEKsLpJvNHjZgPNqEtyi6mZIm4SRFyLMUsONSSdkPeFtY1n0mczoY3BHTLhwPRy9/lzcziCw9ACI+yql0VLzcGAZbYSM5CCSZg1/9oc/nn7+i8N9p/8An4JMADxhH+xHfuiKwAAAABJRU5ErkJggg==)
"
},
info
:{
color
:
"
#3A87AD
"
,
"
background-color
"
:
"
#D9EDF7
"
,
"
border-color
"
:
"
#BCE8F1
"
,
"
background-image
"
:
"
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QYFAhkSsdes/QAAA8dJREFUOMvVlGtMW2UYx//POaWHXg6lLaW0ypAtw1UCgbniNOLcVOLmAjHZolOYlxmTGXVZdAnRfXQm+7SoU4mXaOaiZsEpC9FkiQs6Z6bdCnNYruM6KNBw6YWewzl9z+sHImEWv+vz7XmT95f/+3/+7wP814v+efDOV3/SoX3lHAA+6ODeUFfMfjOWMADgdk+eEKz0pF7aQdMAcOKLLjrcVMVX3xdWN29/GhYP7SvnP0cWfS8caSkfHZsPE9Fgnt02JNutQ0QYHB2dDz9/pKX8QjjuO9xUxd/66HdxTeCHZ3rojQObGQBcuNjfplkD3b19Y/6MrimSaKgSMmpGU5WevmE/swa6Oy73tQHA0Rdr2Mmv/6A1n9w9suQ7097Z9lM4FlTgTDrzZTu4StXVfpiI48rVcUDM5cmEksrFnHxfpTtU/3BFQzCQF/2bYVoNbH7zmItbSoMj40JSzmMyX5qDvriA7QdrIIpA+3cdsMpu0nXI8cV0MtKXCPZev+gCEM1S2NHPvWfP/hL+7FSr3+0p5RBEyhEN5JCKYr8XnASMT0xBNyzQGQeI8fjsGD39RMPk7se2bd5ZtTyoFYXftF6y37gx7NeUtJJOTFlAHDZLDuILU3j3+H5oOrD3yWbIztugaAzgnBKJuBLpGfQrS8wO4FZgV+c1IxaLgWVU0tMLEETCos4xMzEIv9cJXQcyagIwigDGwJgOAtHAwAhisQUjy0ORGERiELgG4iakkzo4MYAxcM5hAMi1WWG1yYCJIcMUaBkVRLdGeSU2995TLWzcUAzONJ7J6FBVBYIggMzmFbvdBV44Corg8vjhzC+EJEl8U1kJtgYrhCzgc/vvTwXKSib1paRFVRVORDAJAsw5FuTaJEhWM2SHB3mOAlhkNxwuLzeJsGwqWzf5TFNdKgtY5qHp6ZFf67Y/sAVadCaVY5YACDDb3Oi4NIjLnWMw2QthCBIsVhsUTU9tvXsjeq9+X1d75/KEs4LNOfcdf/+HthMnvwxOD0wmHaXr7ZItn2wuH2SnBzbZAbPJwpPx+VQuzcm7dgRCB57a1uBzUDRL4bfnI0RE0eaXd9W89mpjqHZnUI5Hh2l2dkZZUhOqpi2qSmpOmZ64Tuu9qlz/SEXo6MEHa3wOip46F1n7633eekV8ds8Wxjn37Wl63VVa+ej5oeEZ/82ZBETJjpJ1Rbij2D3Z/1trXUvLsblCK0XfOx0SX2kMsn9dX+d+7Kf6h8o4AIykuffjT8L20LU+w4AZd5VvEPY+XpWqLV327HR7DzXuDnD8r+ovkBehJ8i+y8YAAAAASUVORK5CYII=)
"
},
warn
:{
color
:
"
#C09853
"
,
"
background-color
"
:
"
#FCF8E3
"
,
"
border-color
"
:
"
#FBEED5
"
,
"
background-image
"
:
"
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAABJlBMVEXr6eb/2oD/wi7/xjr/0mP/ykf/tQD/vBj/3o7/uQ//vyL/twebhgD/4pzX1K3z8e349vK6tHCilCWbiQymn0jGworr6dXQza3HxcKkn1vWvV/5uRfk4dXZ1bD18+/52YebiAmyr5S9mhCzrWq5t6ufjRH54aLs0oS+qD751XqPhAybhwXsujG3sm+Zk0PTwG6Shg+PhhObhwOPgQL4zV2nlyrf27uLfgCPhRHu7OmLgAafkyiWkD3l49ibiAfTs0C+lgCniwD4sgDJxqOilzDWowWFfAH08uebig6qpFHBvH/aw26FfQTQzsvy8OyEfz20r3jAvaKbhgG9q0nc2LbZxXanoUu/u5WSggCtp1anpJKdmFz/zlX/1nGJiYmuq5Dx7+sAAADoPUZSAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfdBgUBGhh4aah5AAAAlklEQVQY02NgoBIIE8EUcwn1FkIXM1Tj5dDUQhPU502Mi7XXQxGz5uVIjGOJUUUW81HnYEyMi2HVcUOICQZzMMYmxrEyMylJwgUt5BljWRLjmJm4pI1hYp5SQLGYxDgmLnZOVxuooClIDKgXKMbN5ggV1ACLJcaBxNgcoiGCBiZwdWxOETBDrTyEFey0jYJ4eHjMGWgEAIpRFRCUt08qAAAAAElFTkSuQmCC)
"
}}}),
e
(
function
(){
m
(
h
.
css
).
attr
(
"
id
"
,
"
core-notify
"
),
e
(
document
).
on
(
"
click
"
,
"
.
"
+
r
+
"
-hidable
"
,
function
(
t
){
e
(
this
).
trigger
(
"
notify-hide
"
)}),
e
(
document
).
on
(
"
notify-hide
"
,
"
.
"
+
r
+
"
-wrapper
"
,
function
(
t
){
var
n
=
e
(
this
).
data
(
r
);
n
&&
n
.
show
(
!
1
)})})})
\ No newline at end of file
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/Notify_min_js.xml
deleted
100644 → 0
View file @
2932fbc3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
Assignee
</string>
<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>
Assignee
</string>
<string>
Assignor
</string>
<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>
categories
</string>
</key>
<value>
<tuple>
<string>
classification/collaborative/public
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/javascript
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
notify.min.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Notify_min_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Notify.js
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<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"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</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>
1464108139.95
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<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.21937.16299.41642
</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>
1507899148.22
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</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>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</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>
1464102882.33
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_hosting_subscription_view_js.js
View file @
38e56924
...
@@ -148,11 +148,14 @@
...
@@ -148,11 +148,14 @@
}
}
if
(
msg_list
.
length
>
0
)
{
if
(
msg_list
.
length
>
0
)
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
'
Error while
'
+
msg_list
.
join
(
'
;
'
))
gadget
.
notifySubmitted
({
message
:
'
Error while
'
+
msg_list
.
join
(
'
;
'
),
status
:
'
error
'
})
]);
]);
}
}
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
'
Parameters Updated
'
)
gadget
.
notifySubmitted
(
{
message
:
'
Parameters Updated
'
,
status
:
'
success
'
}
)
]);
]);
});
});
})
})
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_hosting_subscription_view_js.xml
View file @
38e56924
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
1690.33865.329
55
</string>
</value>
<value>
<string>
963.
20929.61143.521
55
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09095405.67
</float>
<float>
15
10216762.18
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_import_export_js.js
View file @
38e56924
...
@@ -548,7 +548,8 @@
...
@@ -548,7 +548,8 @@
.
push
(
function
(
select_limit
)
{
.
push
(
function
(
select_limit
)
{
return
getInstanceOPMLListFromMaster
(
gadget
,
select_limit
);
return
getInstanceOPMLListFromMaster
(
gadget
,
select_limit
);
})
})
.
push
(
undefined
,
function
()
{
.
push
(
undefined
,
function
(
error
)
{
console
.
log
(
error
);
gadget
.
state
.
message
gadget
.
state
.
message
.
innerHTML
=
notify_msg_template
({
.
innerHTML
=
notify_msg_template
({
status
:
'
error
'
,
status
:
'
error
'
,
...
@@ -587,10 +588,16 @@
...
@@ -587,10 +588,16 @@
has_failed
=
true
;
has_failed
=
true
;
})
})
.
push
(
function
()
{
.
push
(
function
()
{
if
(
!
has_failed
)
{
if
(
has_failed
)
{
return
gadget
.
notifySubmitted
(
"
Failed to import Configurations
"
);
return
gadget
.
notifySubmitted
({
message
:
"
Failed to import Configurations
"
,
status
:
"
error
"
});
}
else
{
}
else
{
return
gadget
.
notifySubmitted
(
"
Configuration Saved!
"
);
return
gadget
.
notifySubmitted
({
message
:
"
Configuration Saved!
"
,
status
:
"
success
"
});
}
}
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_import_export_js.xml
View file @
38e56924
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
17936.4203.52804
</string>
</value>
<value>
<string>
963.
21850.42337.9796
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09983206.06
</float>
<float>
15
10219191.94
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_add_js.js
View file @
38e56924
...
@@ -85,9 +85,9 @@
...
@@ -85,9 +85,9 @@
return
opml_global
.
saveOPML
(
doc
,
true
);
return
opml_global
.
saveOPML
(
doc
,
true
);
})
})
.
push
(
function
(
status
)
{
.
push
(
function
(
status
)
{
var
msg
=
'
Document Updated
'
;
var
msg
=
{
message
:
'
OPML document added
'
,
status
:
'
success
'
}
;
if
(
!
status
)
{
if
(
!
status
)
{
msg
=
'
Document update failed
'
;
msg
=
{
message
:
'
Failed to add OPML document
'
,
status
:
"
error
"
}
;
}
}
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
msg
),
gadget
.
notifySubmitted
(
msg
),
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_add_js.xml
View file @
38e56924
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
1933.16122.39953
</string>
</value>
<value>
<string>
963.
21318.32760.12475
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09023050.17
</float>
<float>
15
10217057.28
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.js
View file @
38e56924
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
return
gadget
.
jio_remove
(
options
.
jio_key
);
return
gadget
.
jio_remove
(
options
.
jio_key
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
notifySubmitted
(
"
Document Deleted
"
);
return
gadget
.
notifySubmitted
(
{
message
:
"
Document Deleted
"
,
status
:
"
success
"
}
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
redirect
({
command
:
'
change
'
,
options
:
{
return
gadget
.
redirect
({
command
:
'
change
'
,
options
:
{
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_opml_delete_js.xml
View file @
38e56924
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
642.61316.20292
</string>
</value>
<value>
<string>
963.
20929.61143.52155
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
08945461.31
</float>
<float>
15
10231849.59
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_html.html
View file @
38e56924
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<link
href=
"gadget_officejs_monitoring_custom.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"gadget_officejs_monitoring_custom.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"notify.min.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"renderjs.js"
></script>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_html.xml
View file @
38e56924
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.46066.30387.47069
</string>
</value>
<value>
<string>
96
3.22427.36654.49664
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -261,7 +261,7 @@
...
@@ -261,7 +261,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
07902085.76
</float>
<float>
15
10327379.3
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_js.js
View file @
38e56924
/*global window, rJS, RSVP, URI, location, $,
/*global window, rJS, RSVP, Handlebars */
loopEventListener, btoa */
/*jslint nomen: true, indent: 2, maxerr: 3*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
$
,
RSVP
)
{
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
)
{
"
use strict
"
;
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
),
var
gadget_klass
=
rJS
(
window
),
...
@@ -71,16 +70,13 @@
...
@@ -71,16 +70,13 @@
.
get
(
gadget
.
property_dict
.
monitor_process_state
);
.
get
(
gadget
.
property_dict
.
monitor_process_state
);
})
})
.
push
(
undefined
,
function
(
error
)
{
.
push
(
undefined
,
function
(
error
)
{
console
.
error
(
error
);
return
gadget
.
notifySubmitted
({
$
.
notify
(
message
:
"
Error: Failed to download data files!
"
,
"
Error: Failed to download data files!
"
,
status
:
"
error
"
{
})
position
:
"
top right
"
,
.
push
(
function
()
{
autoHideDelay
:
7000
,
className
:
"
error
"
}
);
return
undefined
;
return
undefined
;
});
})
})
.
push
(
function
(
average_result
)
{
.
push
(
function
(
average_result
)
{
if
(
average_result
!==
undefined
)
{
if
(
average_result
!==
undefined
)
{
...
@@ -93,6 +89,7 @@
...
@@ -93,6 +89,7 @@
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
,
var
gadget
=
this
,
...
@@ -225,8 +222,7 @@
...
@@ -225,8 +222,7 @@
return
gadget
.
property_dict
.
jio_gadget
return
gadget
.
property_dict
.
jio_gadget
.
get
(
gadget
.
property_dict
.
monitor_process_state
)
.
get
(
gadget
.
property_dict
.
monitor_process_state
)
.
push
(
undefined
,
function
(
error
)
{
.
push
(
undefined
,
function
()
{
console
.
error
(
error
);
return
undefined
;
return
undefined
;
})
})
.
push
(
function
(
average_result
)
{
.
push
(
function
(
average_result
)
{
...
@@ -238,4 +234,4 @@
...
@@ -238,4 +234,4 @@
});
});
},
65000
);
},
65000
);
}(
window
,
rJS
,
$
,
RSVP
));
}(
window
,
rJS
,
RSVP
,
Handlebars
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_processes_view_js.xml
View file @
38e56924
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
16563.15280.46899
</string>
</value>
<value>
<string>
963.
22187.48632.58282
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1510
052139.85
</float>
<float>
1510
239168.21
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_html.html
View file @
38e56924
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
<link
href=
"gadget_officejs_monitoring_custom.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"gadget_officejs_monitoring_custom.css"
rel=
"stylesheet"
type=
"text/css"
/>
<script
src=
"notify.min.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"renderjs.js"
></script>
<!--<script src="handlebars.js"></script>-->
<!--<script src="handlebars.js"></script>-->
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_html.xml
View file @
38e56924
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.36002.50044.8055
</string>
</value>
<value>
<string>
96
3.22427.36654.49664
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
07902037.02
</float>
<float>
15
10327355.11
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_js.js
View file @
38e56924
/*global window, rJS, RSVP,
Handlebars, $,
console */
/*global window, rJS, RSVP, console */
/*jslint nomen: true, indent: 2, maxerr: 3*/
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
$
,
console
)
{
(
function
(
window
,
rJS
,
RSVP
,
console
)
{
"
use strict
"
;
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
);
var
gadget_klass
=
rJS
(
window
);
...
@@ -9,20 +9,15 @@
...
@@ -9,20 +9,15 @@
function
loadGraphData
(
gadget
,
key
)
{
function
loadGraphData
(
gadget
,
key
)
{
var
resource_key
=
gadget
.
property_dict
.
ressource_dict
[
key
];
var
resource_key
=
gadget
.
property_dict
.
ressource_dict
[
key
];
return
gadget
.
property_dict
.
jio_gadget
.
get
(
resource_key
)
return
gadget
.
property_dict
.
jio_gadget
.
get
(
resource_key
)
.
push
(
undefined
,
function
(
error
)
{
.
push
(
undefined
,
function
()
{
console
.
log
(
error
);
return
gadget
.
notifySubmitted
({
$
.
notify
(
message
:
"
Error: Failed to download resource file '
"
+
resource_key
+
"
Error: Failed to download resource file '
"
+
resource_key
+
"
' from URL:
"
+
gadget
.
state
.
opml_outline
.
url
,
"
' from URL:
"
+
gadget
.
state
.
opml_outline
.
url
,
{
status
:
"
error
"
position
:
"
top right
"
,
})
autoHideDelay
:
7000
,
.
push
(
function
()
{
className
:
"
error
"
return
{
data
:
[]};
}
});
);
return
{
data
:
[]
};
})
})
.
push
(
function
(
jio_element
)
{
.
push
(
function
(
jio_element
)
{
gadget
.
property_dict
.
date_window
=
getDateWindow
(
gadget
.
property_dict
.
mem_data
.
data
);
gadget
.
property_dict
.
date_window
=
getDateWindow
(
gadget
.
property_dict
.
mem_data
.
data
);
...
@@ -98,7 +93,7 @@
...
@@ -98,7 +93,7 @@
}
}
}
}
return
{
return
{
value
:{
value
:
{
data
:
data_list
,
data
:
data_list
,
layout
:
{
layout
:
{
axis_dict
:
axis_dict
,
axis_dict
:
axis_dict
,
...
@@ -117,13 +112,13 @@
...
@@ -117,13 +112,13 @@
max_date
=
data
[
data
.
length
-
1
].
split
(
'
,
'
)[
0
];
max_date
=
data
[
data
.
length
-
1
].
split
(
'
,
'
)[
0
];
begin_date
=
new
Date
(
max_date
);
begin_date
=
new
Date
(
max_date
);
end_date
=
new
Date
(
max_date
);
end_date
=
new
Date
(
max_date
);
begin_date
.
setHours
(
begin_date
.
getHours
()
-
2
);
begin_date
.
setHours
(
begin_date
.
getHours
()
-
2
);
date_window
=
[
Date
.
parse
(
begin_date
),
Date
.
parse
(
end_date
)];
date_window
=
[
Date
.
parse
(
begin_date
),
Date
.
parse
(
end_date
)];
}
}
return
date_window
;
return
date_window
;
}
}
function
updateGraph
(
gadget
)
{
function
updateGraph
(
gadget
)
{
return
new
RSVP
.
Queue
()
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
var
key
,
var
key
,
...
@@ -178,7 +173,7 @@
...
@@ -178,7 +173,7 @@
data_list
[
0
].
value_dict
[
"
1
"
].
push
(
line_list
[
2
]);
data_list
[
0
].
value_dict
[
"
1
"
].
push
(
line_list
[
2
]);
}
}
return
gadget
.
property_dict
.
graph_mem_used
.
render
({
return
gadget
.
property_dict
.
graph_mem_used
.
render
({
value
:{
value
:
{
data
:
data_list
,
data
:
data_list
,
layout
:
{
layout
:
{
axis_dict
:
axis_dict
,
axis_dict
:
axis_dict
,
...
@@ -246,7 +241,7 @@
...
@@ -246,7 +241,7 @@
}
}
}
}
return
gadget
.
property_dict
.
graph_cpu
.
render
({
return
gadget
.
property_dict
.
graph_cpu
.
render
({
value
:{
value
:
{
data
:
data_list
,
data
:
data_list
,
layout
:
{
layout
:
{
axis_dict
:
axis_dict
,
axis_dict
:
axis_dict
,
...
@@ -345,6 +340,7 @@
...
@@ -345,6 +340,7 @@
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
'
notifySubmitted
'
)
.
onLoop
(
function
()
{
.
onLoop
(
function
()
{
return
updateGraph
(
this
);
return
updateGraph
(
this
);
...
@@ -443,4 +439,4 @@
...
@@ -443,4 +439,4 @@
});
});
});
});
}(
window
,
rJS
,
RSVP
,
$
,
console
));
}(
window
,
rJS
,
RSVP
,
console
));
\ No newline at end of file
\ No newline at end of file
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_ojsm_resources_view_js.xml
View file @
38e56924
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.64762.24229.5876
0
</string>
</value>
<value>
<string>
96
3.22199.29933.1739
0
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
08860480.94
</float>
<float>
15
10239154.52
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_settings_configurator_js.js
View file @
38e56924
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
'
All OPML removed
'
)
gadget
.
notifySubmitted
(
{
message
:
'
All OPML removed
'
,
status
:
'
success
'
}
)
]);
]);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
@@ -115,8 +115,7 @@
...
@@ -115,8 +115,7 @@
return
gadget
.
redirect
({
"
command
"
:
"
reload
"
});
return
gadget
.
redirect
({
"
command
"
:
"
reload
"
});
});
});
}
}
event
.
returnValue
=
true
;
},
false
,
false
)
})
.
onEvent
(
'
submit
'
,
function
()
{
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
,
var
gadget
=
this
,
doc
;
doc
;
...
@@ -146,7 +145,7 @@
...
@@ -146,7 +145,7 @@
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
'
Parameters Updated
'
)
gadget
.
notifySubmitted
(
{
message
:
'
Parameters Updated
'
,
status
:
'
success
'
}
)
]);
]);
});
});
})
})
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_erp5_page_settings_configurator_js.xml
View file @
38e56924
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
17877.3072.30788
</string>
</value>
<value>
<string>
963.
21245.1149.59784
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09981253.88
</float>
<float>
15
10216637.34
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_jio_opml_view_js.js
View file @
38e56924
...
@@ -83,9 +83,9 @@
...
@@ -83,9 +83,9 @@
doc
.
title
===
""
||
doc
.
title
===
undefined
||
doc
.
verify_password
===
1
);
doc
.
title
===
""
||
doc
.
title
===
undefined
||
doc
.
verify_password
===
1
);
})
})
.
push
(
function
(
status
)
{
.
push
(
function
(
status
)
{
var
msg
=
'
Document Updated
'
;
var
msg
=
{
message
:
'
Document Updated
'
,
status
:
'
success
'
}
;
if
(
!
status
)
{
if
(
!
status
)
{
msg
=
'
Document update failed
'
;
msg
=
{
message
:
'
Document update failed
'
,
status
:
"
error
"
}
;
}
}
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
notifySubmitted
(
msg
),
gadget
.
notifySubmitted
(
msg
),
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_jio_opml_view_js.xml
View file @
38e56924
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
1932.7812.44987
</string>
</value>
<value>
<string>
963.
21293.17700.853
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09022866.95
</float>
<float>
15
10185606.72
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_appcache.xml
View file @
38e56924
...
@@ -137,11 +137,9 @@ monitoring_jio_http_storage.js\n
...
@@ -137,11 +137,9 @@ monitoring_jio_http_storage.js\n
monitoring_jio_parser_storage.js\n
monitoring_jio_parser_storage.js\n
monitoring_jio_storage.js\n
monitoring_jio_storage.js\n
monitoring_jio_web_storage.js\n
monitoring_jio_web_storage.js\n
jquery.js\n
jsen.min.js\n
jsen.min.js\n
renderjs.js\n
renderjs.js\n
rsvp.js\n
rsvp.js\n
notify.min.js\n
\n
\n
# shared\n
# shared\n
gadget_erp5_notification.html\n
gadget_erp5_notification.html\n
...
@@ -197,6 +195,8 @@ gadget_erp5_field_integer.html\n
...
@@ -197,6 +195,8 @@ gadget_erp5_field_integer.html\n
gadget_erp5_field_integer.js\n
gadget_erp5_field_integer.js\n
gadget_erp5_jio.html\n
gadget_erp5_jio.html\n
gadget_erp5_jio.js\n
gadget_erp5_jio.js\n
gadget_erp5_search_editor.html\n
gadget_erp5_search_editor.js\n
\n
\n
# monitoring\n
# monitoring\n
gadget_officejs_monitoring.appcache\n
gadget_officejs_monitoring.appcache\n
...
@@ -383,7 +383,7 @@ NETWORK:\n
...
@@ -383,7 +383,7 @@ NETWORK:\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
17891.16389.1054
7
</string>
</value>
<value>
<string>
963.
22437.57747.175
7
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -401,7 +401,7 @@ NETWORK:\n
...
@@ -401,7 +401,7 @@ NETWORK:\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09980460.49
</float>
<float>
15
10327329.0
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_html.html
View file @
38e56924
...
@@ -8,8 +8,6 @@
...
@@ -8,8 +8,6 @@
<script
src=
"rsvp.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"jquery.js"
type=
"text/javascript"
></script>
<script
src=
"notify.min.js"
></script>
<script
src=
"gadget_officejs_monitoring_sync.js"
></script>
<script
src=
"gadget_officejs_monitoring_sync.js"
></script>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_html.xml
View file @
38e56924
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.48761.27674.29661
</string>
</value>
<value>
<string>
96
3.20929.61143.52155
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
07900413.18
</float>
<float>
15
10233336.64
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_js.js
View file @
38e56924
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
setSetting
"
,
"
setSetting
"
)
.
declareAcquiredMethod
(
"
jio_repair
"
,
"
jio_repair
"
)
.
declareAcquiredMethod
(
"
jio_repair
"
,
"
jio_repair
"
)
.
declareAcquiredMethod
(
"
notifySubmitting
"
,
"
notifySubmitting
"
)
.
declareAcquiredMethod
(
"
notifySubmitted
"
,
"
notifySubmitted
"
)
.
declareMethod
(
"
registerSync
"
,
function
(
options
)
{
.
declareMethod
(
"
registerSync
"
,
function
(
options
)
{
var
gadget
=
this
;
var
gadget
=
this
;
...
@@ -74,15 +76,6 @@
...
@@ -74,15 +76,6 @@
return
syncAllStorage
();
return
syncAllStorage
();
}
}
gadget
.
props
.
offline
=
true
;
gadget
.
props
.
offline
=
true
;
return
$
.
notify
(
"
Sync aborted, no internet access...
"
,
{
position
:
"
bottom right
"
,
autoHide
:
true
,
className
:
"
error
"
,
autoHideDelay
:
10000
}
);
});
});
}
}
return
syncAllStorage
();
return
syncAllStorage
();
...
@@ -98,15 +91,13 @@
...
@@ -98,15 +91,13 @@
return
gadget
.
setSetting
(
'
sync_start_time
'
,
new
Date
().
getTime
());
return
gadget
.
setSetting
(
'
sync_start_time
'
,
new
Date
().
getTime
());
})
})
.
push
(
function
()
{
.
push
(
function
()
{
$
(
"
.notifyjs-wrapper
"
).
remove
();
return
gadget
.
notifySubmitting
();
return
$
.
notify
(
})
"
Synchronizing Data...
"
,
.
push
(
function
()
{
{
return
gadget
.
notifySubmitted
({
position
:
"
bottom right
"
,
message
:
"
Synchronizing Data...
"
,
autoHide
:
false
,
status
:
"
success
"
className
:
"
info
"
});
}
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
// call repair on storage
// call repair on storage
...
@@ -119,36 +110,33 @@
...
@@ -119,36 +110,33 @@
})
})
.
push
(
function
()
{
.
push
(
function
()
{
last_sync_time
=
new
Date
().
getTime
();
last_sync_time
=
new
Date
().
getTime
();
return
gadget
.
setSetting
(
'
latest_sync_time
'
,
last_sync_time
);
return
RSVP
.
all
([
gadget
.
setSetting
(
'
latest_sync_time
'
,
last_sync_time
),
gadget
.
notifySubmitting
()
]);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
var
time
=
3000
,
var
time
=
3000
,
classname
=
"
info
"
,
classname
=
"
success
"
,
message
=
"
Synchronisation finished.
"
,
message
=
"
Synchronisation finished.
"
,
//log_message = '',
//log_message = '',
log_title
=
"
OK:
"
+
message
;
log_title
=
"
OK:
"
+
message
;
if
(
has_error
)
{
if
(
has_error
)
{
classname
=
"
warning
"
;
classname
=
"
error
"
;
time
=
5000
;
time
=
5000
;
//log_message = getErrorLog(gadget.props.error_list);
//log_message = getErrorLog(gadget.props.error_list);
log_title
=
"
Synchronisation finished with error(s).
"
;
log_title
=
"
Synchronisation finished with error(s).
"
;
message
=
log_title
+
"
\n
You can retry with manual sync.
"
;
message
=
log_title
+
"
\n
You can retry with manual sync.
"
;
}
}
$
(
"
.notifyjs-wrapper
"
).
remove
();
return
gadget
.
notifySubmitted
({
return
RSVP
.
all
([
$
.
notify
(
message
:
message
,
message
,
status
:
classname
{
});
position
:
"
bottom right
"
,
autoHide
:
true
,
className
:
classname
,
autoHideDelay
:
time
}
)]);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
gadget
.
props
.
started
=
false
;
gadget
.
props
.
started
=
false
;
return
$
.
notify
(
/*
return $.notify(
"Last Sync: " + formatDate(new Date(last_sync_time)),
"Last Sync: " + formatDate(new Date(last_sync_time)),
{
{
position: "bottom right",
position: "bottom right",
...
@@ -156,7 +144,7 @@
...
@@ -156,7 +144,7 @@
className: "success",
className: "success",
autoHideDelay: 30000
autoHideDelay: 30000
}
}
);
);
*/
});
});
}
}
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/gadget_officejs_monitoring_sync_js.xml
View file @
38e56924
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
2.53134.26022.64665
</string>
</value>
<value>
<string>
96
3.21916.52285.31846
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
08860939.04
</float>
<float>
15
10233154.98
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/rjs_jquery_js.js
deleted
100644 → 0
View file @
2932fbc3
This source diff could not be displayed because it is too large. You can
view the blob
instead.
bt5/erp5_web_monitoring/PathTemplateItem/web_page_module/rjs_jquery_js.xml
deleted
100644 → 0
View file @
2932fbc3
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
Assignee
</string>
<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>
Assignee
</string>
<string>
Assignor
</string>
<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>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
jquery.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
rjs_jquery_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
jQuery
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
2.0.3
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<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"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romain
</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>
1406898405.87
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<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>
936.7432.50260.27972
</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>
1405933455.04
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romain
</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>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</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>
1404998580.53
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_monitoring/bt/template_keep_last_workflow_history_only_path_list
View file @
38e56924
web_page_module/gadget_erp5_page_settings_configurator_*
web_page_module/ojsm_gadget_erp5_statusfield_*
web_page_module/Notify_min_js
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_settings_configurator_*
web_page_module/gadget_officejs_jio_global_view_html
web_page_module/gadget_officejs_jio_global_view_html
web_page_module/gadget_officejs_jio_global_view_js
web_page_module/gadget_officejs_jio_global_view_js
web_page_module/gadget_officejs_jio_opml_view_html
web_page_module/gadget_officejs_jio_opml_view_html
...
@@ -15,6 +13,6 @@ web_page_module/monitoring_jio_http_storage_js
...
@@ -15,6 +13,6 @@ web_page_module/monitoring_jio_http_storage_js
web_page_module/monitoring_jio_parser_storage_js
web_page_module/monitoring_jio_parser_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/
rjs_jquery_js
web_page_module/
ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
web_site_module/officejs_monitoring/**
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_keep_workflow_path_list
View file @
38e56924
web_page_module/gadget_erp5_page_settings_configurator_*
web_page_module/ojsm_gadget_erp5_statusfield_*
web_page_module/Notify_min_js
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_settings_configurator_*
web_page_module/gadget_officejs_jio_global_view_html
web_page_module/gadget_officejs_jio_global_view_html
web_page_module/gadget_officejs_jio_global_view_js
web_page_module/gadget_officejs_jio_global_view_js
web_page_module/gadget_officejs_jio_opml_view_html
web_page_module/gadget_officejs_jio_opml_view_html
...
@@ -15,6 +13,6 @@ web_page_module/monitoring_jio_http_storage_js
...
@@ -15,6 +13,6 @@ web_page_module/monitoring_jio_http_storage_js
web_page_module/monitoring_jio_parser_storage_js
web_page_module/monitoring_jio_parser_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/
rjs_jquery_js
web_page_module/
ojsm_gadget_erp5_statusfield_*
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
web_site_module/officejs_monitoring/**
\ No newline at end of file
bt5/erp5_web_monitoring/bt/template_path_list
View file @
38e56924
web_page_module/Notify_min_js
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_field_status_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_ojsm_*
web_page_module/gadget_erp5_page_settings_configurator_*
web_page_module/gadget_erp5_page_settings_configurator_*
...
@@ -15,6 +14,5 @@ web_page_module/monitoring_jio_parser_storage_js
...
@@ -15,6 +14,5 @@ web_page_module/monitoring_jio_parser_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/monitoring_jio_web_storage_js
web_page_module/ojsm_gadget_erp5_statusfield_*
web_page_module/ojsm_gadget_erp5_statusfield_*
web_page_module/rjs_jquery_js
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring
web_site_module/officejs_monitoring/**
web_site_module/officejs_monitoring/**
\ No newline at end of file
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