-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow visualize view to hand off “no results” scenario
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
<div ng-controller="KbnMetricVisController" class="metric-vis"> | ||
<div class="metric-container" ng-repeat="metric in metrics"> | ||
<div class="metric-value" ng-style="{'font-size': vis.params.fontSize+'pt'}">{{metric.value}}</div> | ||
<div>{{metric.label}}</div> | ||
<div class="metric-container" ng-repeat="metric in metrics"> | ||
<div ng-hide="!metric.value"> | ||
<div class="metric-value" ng-style="{'font-size': vis.params.fontSize+'pt'}">{{metric.value}}</div> | ||
<div>{{metric.label}}</div> | ||
</div> | ||
<div ng-if="!metric.value"> | ||
<div class="item top"></div> | ||
<div class="item"> | ||
<h2 aria-hidden="true"><i aria-hidden="true" class="fa fa-meh-o"></i></h2> | ||
<div>No data available for {{metric.label}}</div> | ||
</div> | ||
<div class="item bottom"></div> | ||
</div> | ||
</div> | ||
</div> |
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
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