Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
6a1821d9
Commit
6a1821d9
authored
May 27, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GUI: allow configuring the label for choose bottleneck
parent
10993e78
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
dream/platform/src/dream/Output_viewBottleneckGraph.html
dream/platform/src/dream/Output_viewBottleneckGraph.html
+1
-1
dream/platform/src/dream/Output_viewBottleneckGraph.js
dream/platform/src/dream/Output_viewBottleneckGraph.js
+6
-0
No files found.
dream/platform/src/dream/Output_viewBottleneckGraph.html
View file @
6a1821d9
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<body>
<body>
<div
class=
"graph_container"
style=
"float:left; width: 100%; height:300px"
></div>
<div
class=
"graph_container"
style=
"float:left; width: 100%; height:300px"
></div>
<div>
<div>
<label
for=
"choices"
>
Please select bottleneck:
</label>
<label
for=
"choices"
class=
"select_label"
>
Please select bottleneck:
</label>
<select
class=
"choices"
name=
"choices"
></select>
<select
class=
"choices"
name=
"choices"
></select>
</div>
</div>
</body>
</body>
...
...
dream/platform/src/dream/Output_viewBottleneckGraph.js
View file @
6a1821d9
...
@@ -33,6 +33,12 @@
...
@@ -33,6 +33,12 @@
var
json_data
=
JSON
.
parse
(
simulation_json
);
var
json_data
=
JSON
.
parse
(
simulation_json
);
gadget
.
props
.
data
=
json_data
.
result
.
result_list
[
options
.
result
][
gadget
.
props
.
data
=
json_data
.
result
.
result_list
[
options
.
result
][
options
.
action_definition
.
configuration
.
output_id
];
options
.
action_definition
.
configuration
.
output_id
];
if
(
options
.
action_definition
.
configuration
.
select_label
)
{
$
(
gadget
.
props
.
element
.
querySelector
(
"
.select_label
"
)).
text
(
options
.
action_definition
.
configuration
.
select_label
);
}
});
});
})
})
...
...
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