Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Some smaller changes around presentation and wording fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilhuhn committed Oct 20, 2015
1 parent 82e478c commit 485fb31
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ <h3 class="pull-left">Platform Status</h3>
</div>
<div class="col-sm-3 hk-summary-item">
<span class="hk-data" ng-show="os.memoryAvail">{{ os.memoryAvail.avg / 1024 / 1024 | number : 0 }} MB</span>
<span class="hk-data" ng-hide="os.memoryAvail">n/a</span>
<span class="hk-item">Average Memory Usage</span>
<span class="hk-data" ng-hide="os.memoryAvail">Loading...</span>
<span class="hk-item">Average Memory Available</span>
</div>
<div class="col-sm-3 hk-summary-item">
<span class="hk-data" ng-show="os.cpuUsage">{{ os.cpuUsage.avg * 100 | number : 1 }} %</span>
<span class="hk-data" ng-hide="os.cpuUsage">n/a</span>
<span class="hk-data" ng-hide="os.cpuUsage">Loading...</span>
<span class="hk-item">CPU Usage</span>
</div>
<div class="col-sm-3 hk-summary-item">
<span class="hk-data" ng-show="os.cpuUsage">{{ os.cpuUsage.max * 100 | number : 1 }} %</span>
<span class="hk-data" ng-hide="os.cpuUsage">n/a</span>
<span class="hk-data" ng-hide="os.cpuUsage">Loading...</span>
<span class="hk-item">Maximum CPU Usage</span>
</div>
</div>
Expand Down Expand Up @@ -73,8 +73,9 @@ <h2>Memory Usage</h2>
<!-- HINT: colors for the chart can be changed in the hawkular-charts.css -->
<hawkular-chart
data="os.chartMemoryUsageData"
chart-type="hawkularmetric"
y-axis-units="Usage (MB)"
chart-type="area"
hide-high-low-values="false"
y-axis-units="Available (MB)"
chart-height="250">
</hawkular-chart>
</div>
Expand All @@ -95,6 +96,7 @@ <h2>CPU Usage</h2>
</div>

<!-- mini charts per cpu -->
<!-- TODO we should show them as rows of 2 mini-charts ->
<div ng-if="os.resolvedCPUData">
<!-- HINT: colors for the chart can be changed in the hawkular-charts.css -->
<div class="panel panel-default hk-summary">
Expand Down

0 comments on commit 485fb31

Please sign in to comment.