-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1457 from MFlyer/issue#998_Dashboard_crashes_if_o…
…pened_long_DiskActivity_Widget Issue#998 dashboard crashes if opened long - Disks Widget - Part 7 (last chapter)
- Loading branch information
Showing
4 changed files
with
555 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
...stor/storageadmin/static/storageadmin/js/templates/dashboard/widgets/disk_util_select.jst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
<div id="disk-details-ph"> | ||
<div id="disk-select-ph"> | ||
<span class="h4">Disk activity</span> for disk | ||
<select name="disk-select" id="disk-select" class="inline"> | ||
{{#each disks}} | ||
<option value="{{this.name}}">{{this.name}}</option> | ||
{{/each}} | ||
</select> | ||
</div> | ||
<div id="disk-graph-reads-ph"></div> | ||
<div id="disk-graph-data-ph"></div> | ||
</div> | ||
<div id="disk-select-ph"> | ||
<span class="h4">Disk activity</span> for disk | ||
<select name="disk-select" id="disk-select" class="inline"> | ||
{{#each disks}} | ||
<option value="{{this.name}}">{{this.name}}</option> | ||
{{/each}} | ||
</select> | ||
</div> | ||
<canvas id="single-disk-chart" width="500" height="180"></canvas> | ||
</div> |
57 changes: 37 additions & 20 deletions
57
...stor/storageadmin/static/storageadmin/js/templates/dashboard/widgets/disk_utilization.jst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.