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
Joshua
erp5
Commits
f2f6c715
Commit
f2f6c715
authored
May 29, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_afs_directory] Drop not needed code
parent
cdffffc3
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
34 additions
and
127 deletions
+34
-127
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_appcache.xml
...TemplateItem/web_page_module/gadget_erp5_afs_appcache.xml
+3
-3
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
...hTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
+9
-30
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
...TemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.js
...TemplateItem/web_page_module/gadget_erp5_afs_router_js.js
+0
-8
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.xml
...emplateItem/web_page_module/gadget_erp5_afs_router_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.js
...Item/web_page_module/gadget_erp5_page_afs_directory_js.js
+1
-20
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.xml
...tem/web_page_module/gadget_erp5_page_afs_directory_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.js
...Item/web_page_module/gadget_erp5_page_afs_publisher_js.js
+1
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
...tem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.js
...web_page_module/gadget_erp5_page_afs_publisher_list_js.js
+0
-7
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.xml
...eb_page_module/gadget_erp5_page_afs_publisher_list_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
...eItem/web_page_module/gadget_erp5_page_afs_software_js.js
+1
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
...Item/web_page_module/gadget_erp5_page_afs_software_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.js
.../web_page_module/gadget_erp5_page_afs_software_list_js.js
+0
-7
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.xml
...web_page_module/gadget_erp5_page_afs_software_list_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
...m/web_page_module/gadget_erp5_page_afs_success_case_js.js
+1
-9
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
.../web_page_module/gadget_erp5_page_afs_success_case_js.xml
+2
-2
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.js
..._page_module/gadget_erp5_page_afs_success_case_list_js.js
+0
-7
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.xml
...page_module/gadget_erp5_page_afs_success_case_list_js.xml
+2
-2
No files found.
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_appcache.xml
View file @
f2f6c715
...
...
@@ -106,7 +106,7 @@
<value>
<string
encoding=
"cdata"
>
<![CDATA[
CACHE MANIFEST\n
# generated on Mon, 29 May 2017
09
:00:00 GMT\n
# generated on Mon, 29 May 2017
10
:00:00 GMT\n
# images/ajax-loader.gif\n
CACHE:\n
font-awesome/font-awesome-webfont.eot?v=4.6.3\n
...
...
@@ -316,7 +316,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.452
44.54157.64750
</string>
</value>
<value>
<string>
959.452
64.30637.35123
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -334,7 +334,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
149606
6148.93
</float>
<float>
149606
7282.1
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.js
View file @
f2f6c715
...
...
@@ -18,14 +18,6 @@
panel_template_body
=
Handlebars
.
compile
(
source_body
);
gadget_klass
/////////////////////////////////////////////////////////////////
// ready
/////////////////////////////////////////////////////////////////
// Init local properties
.
ready
(
function
(
g
)
{
g
.
props
=
{};
})
.
setState
({
visible
:
false
,
desktop
:
false
...
...
@@ -37,15 +29,6 @@
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
// Assign the element to a variable
.
ready
(
function
(
g
)
{
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
render_deferred
=
RSVP
.
defer
();
});
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
...
...
@@ -75,19 +58,15 @@
.
push
(
function
(
all_result
)
{
// XXX: Customize panel header!
var
tmp
=
panel_template_header
();
tmp
+=
panel_template_body
({
"
directory_href
"
:
all_result
[
0
],
"
publisher_statistic_href
"
:
all_result
[
1
],
"
publisher_href
"
:
all_result
[
2
],
"
software_href
"
:
all_result
[
3
],
"
success_case_href
"
:
all_result
[
4
]
});
return
tmp
;
})
.
push
(
function
(
my_translated_or_plain_html
)
{
g
.
props
.
element
.
querySelector
(
"
div
"
).
innerHTML
=
my_translated_or_plain_html
;
g
.
props
.
render_deferred
.
resolve
();
var
tmp
=
panel_template_header
()
+
panel_template_body
({
"
directory_href
"
:
all_result
[
0
],
"
publisher_statistic_href
"
:
all_result
[
1
],
"
publisher_href
"
:
all_result
[
2
],
"
software_href
"
:
all_result
[
3
],
"
success_case_href
"
:
all_result
[
4
]
});
g
.
element
.
querySelector
(
"
div
"
).
innerHTML
=
tmp
;
});
})
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_panel_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.45
016.12856.26658
</string>
</value>
<value>
<string>
959.45
262.19816.34594
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
14960
52034.32
</float>
<float>
14960
66838.57
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.js
View file @
f2f6c715
...
...
@@ -4,14 +4,6 @@
"
use strict
"
;
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// ready
/////////////////////////////////////////////////////////////////
// Init local properties
.
ready
(
function
(
g
)
{
g
.
props
=
{};
})
/*
.ready(function (g) {
return g.getDeclaredGadget("router")
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_afs_router_js.xml
View file @
f2f6c715
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.4501
5.31491.22801
</string>
</value>
<value>
<string>
959.4501
7.10197.48298
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
14960
52069.31
</float>
<float>
14960
66978.7
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.js
View file @
f2f6c715
...
...
@@ -15,25 +15,6 @@
);
gadget_klass
/////////////////////////////////////////////////////////////////
// ready
/////////////////////////////////////////////////////////////////
// Init local properties
.
ready
(
function
(
g
)
{
g
.
props
=
{};
})
// Assign the element to a variable
.
ready
(
function
(
g
)
{
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
})
.
push
(
undefined
,
function
(
error
)
{
console
.
log
(
error
);
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
...
...
@@ -42,7 +23,7 @@
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
,
masonry_container
=
gadget
.
props
.
element
.
querySelector
(
masonry_container
=
gadget
.
element
.
querySelector
(
'
.ui-masonry-container
'
);
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_directory_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.45141.
9554.30549
</string>
</value>
<value>
<string>
959.45141.
39910.35703
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
14960
59536.4
9
</float>
<float>
14960
67047.6
9
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.js
View file @
f2f6c715
...
...
@@ -24,14 +24,6 @@
}
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
'
updateHeader
'
,
'
updateHeader
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
...
...
@@ -103,7 +95,7 @@
});
})
.
push
(
function
(
my_publisher
)
{
gadget
.
props
.
element
.
querySelector
(
"
.display-widget
"
)
gadget
.
element
.
querySelector
(
"
.display-widget
"
)
.
innerHTML
=
display_widget_table
(
my_publisher
);
return
gadget
.
updateHeader
({
page_title
:
my_publisher
.
title
});
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.451
78.38571.47086
</string>
</value>
<value>
<string>
959.451
86.37882.22272
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
149606
2234.66
</float>
<float>
149606
7089.61
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.js
View file @
f2f6c715
...
...
@@ -4,13 +4,6 @@
(
function
(
window
,
RSVP
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_publisher_list_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.4515
0.63557.44714
</string>
</value>
<value>
<string>
959.4515
1.41449.24985
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
149606
0137.94
</float>
<float>
149606
7110.92
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.js
View file @
f2f6c715
...
...
@@ -29,14 +29,6 @@
}
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
'
updateHeader
'
,
'
updateHeader
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
...
...
@@ -98,7 +90,7 @@
})
.
push
(
function
(
my_software
)
{
gadget
.
props
.
element
.
querySelector
(
"
.display-widget
"
)
gadget
.
element
.
querySelector
(
"
.display-widget
"
)
.
innerHTML
=
display_widget_table
(
my_software
);
return
gadget
.
updateHeader
({
page_title
:
my_software
.
title
});
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.451
79.11177.20104
</string>
</value>
<value>
<string>
959.451
86.59501.25241
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
149606
2254.42
</float>
<float>
149606
7144.61
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.js
View file @
f2f6c715
...
...
@@ -4,13 +4,6 @@
(
function
(
window
,
RSVP
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_software_list_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.45114.
28192.42308
</string>
</value>
<value>
<string>
959.45114.
42947.5734
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
14960
57919.27
</float>
<float>
14960
67168.05
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.js
View file @
f2f6c715
...
...
@@ -10,14 +10,6 @@
);
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
'
updateHeader
'
,
'
updateHeader
'
)
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
...
...
@@ -33,7 +25,7 @@
story
.
image_class
=
"
custom-placeholder
"
;
}
gadget
.
props
.
element
.
querySelector
(
"
.display-widget
"
)
gadget
.
element
.
querySelector
(
"
.display-widget
"
)
.
innerHTML
=
display_widget_table
(
story
);
return
gadget
.
updateHeader
({
page_title
:
story
.
title
});
});
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.451
79.45629.45585
</string>
</value>
<value>
<string>
959.451
87.8875.24320
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
149606
2268.1
</float>
<float>
149606
7187.24
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.js
View file @
f2f6c715
...
...
@@ -3,13 +3,6 @@
(
function
(
window
,
RSVP
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
...
...
bt5/erp5_officejs_afs_directory/PathTemplateItem/web_page_module/gadget_erp5_page_afs_success_case_list_js.xml
View file @
f2f6c715
...
...
@@ -228,7 +228,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
959.4512
1.21336.33467
</string>
</value>
<value>
<string>
959.4512
2.5485.9130
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -246,7 +246,7 @@
</tuple>
<state>
<tuple>
<float>
14960
58364.96
</float>
<float>
14960
67205.22
</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