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
Alain Takoudjou
erp5
Commits
f998374e
Commit
f998374e
authored
Sep 04, 2017
by
Boxiang Sun
Committed by
Tristan Cavelier
Sep 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_support_request_ui: Show two spin button when loading two charts.
parent
81c62f71
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
5 deletions
+21
-5
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_css.css
...em/web_page_module/gadget_supportrequest_homepage_css.css
+6
-0
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_css.xml
...em/web_page_module/gadget_supportrequest_homepage_css.xml
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_html.xml
...m/web_page_module/gadget_supportrequest_homepage_html.xml
+1
-1
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.js
...Item/web_page_module/gadget_supportrequest_homepage_js.js
+10
-0
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.xml
...tem/web_page_module/gadget_supportrequest_homepage_js.xml
+2
-2
No files found.
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_css.css
View file @
f998374e
...
@@ -18,3 +18,9 @@
...
@@ -18,3 +18,9 @@
#wrap2
iframe
{
#wrap2
iframe
{
height
:
100%
;
height
:
100%
;
}
}
.gadget-content
.ui-field-contain
.graph-spinner
{
position
:
relative
;
top
:
100px
;
width
:
120px
;
}
\ No newline at end of file
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_css.xml
View file @
f998374e
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.5
2407.42575.2385
9
</string>
</value>
<value>
<string>
961.5
6640.36441.651
9
</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>
15045
27393.27
</float>
<float>
15045
36008.68
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_html.xml
View file @
f998374e
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15045
26707.1
</float>
<float>
15045
35744.76
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.js
View file @
f998374e
...
@@ -74,6 +74,16 @@
...
@@ -74,6 +74,16 @@
)
)
]);
]);
})
})
.
push
(
function
(
result
)
{
var
bar_chart
=
document
.
getElementById
(
"
wrap1
"
),
pie_chart
=
document
.
getElementById
(
"
wrap2
"
),
loader
=
document
.
getElementsByClassName
(
"
graph-spinner
"
);
loader
[
0
].
style
.
display
=
"
none
"
;
loader
[
1
].
style
.
display
=
"
none
"
;
bar_chart
.
style
.
display
=
"
block
"
;
pie_chart
.
style
.
display
=
"
block
"
;
return
result
;
})
.
push
(
function
(
result_list
)
{
.
push
(
function
(
result_list
)
{
var
sp_data
=
result_list
[
0
],
graph_gadget_1
=
result_list
[
1
],
graph_gadget_2
=
result_list
[
2
];
var
sp_data
=
result_list
[
0
],
graph_gadget_1
=
result_list
[
1
],
graph_gadget_2
=
result_list
[
2
];
gadget
.
property_dict
.
graph_widget
=
graph_gadget_1
;
gadget
.
property_dict
.
graph_widget
=
graph_gadget_1
;
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_homepage_js.xml
View file @
f998374e
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.56
651.42335.1280
0
</string>
</value>
<value>
<string>
961.56
777.60794.2123
0
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15045
28133.07
</float>
<float>
15045
35750.54
</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