Created
May 25, 2015 15:41
-
-
Save wlach/e39d86439a5202de70da to your computer and use it in GitHub Desktop.
Partial implementation
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
diff --git a/ui/partials/perf/graphsctrl.html b/ui/partials/perf/graphsctrl.html | |
index a2729a7..ca5af3e 100644 | |
--- a/ui/partials/perf/graphsctrl.html | |
+++ b/ui/partials/perf/graphsctrl.html | |
@@ -1,6 +1,9 @@ | |
<div class="container-fluid"> | |
<div class="ph-horizontal-layout"> | |
<div id="graph-chooser"> | |
+ <div ng-show="seriesList.length == 0"> | |
+ Nothing here yet. | |
+ </div> | |
<table class="table table-bordered graph-legend-table"> | |
<tr ng-repeat="series in seriesList"> | |
<td> | |
@@ -24,7 +27,7 @@ | |
</tr> | |
</table> | |
<button class="btn btn-primary" ng-click="addTestData()"> | |
- <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add more test data</button> | |
+ <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Add <span ng-show="seriesList.length > 0">more</span> test data</button> | |
</div> | |
<div id="data-display"> | |
<select ng-model="myTimerange" ng-options="timerange.text for timerange in timeranges track by timerange.value" ng-change="timeRangeChanged()"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment