Added fields and hits panels, updated config and default dashboard.

This commit is contained in:
Rashid Khan
2013-02-06 14:14:17 -07:00
parent 70f6a29700
commit 085b688850
18 changed files with 242 additions and 140 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<div ng-controller='sort' style="white-space: nowrap;">
<h4 ng-class="{'ng-cloak': !panel.title}">{{panel.title}}</h4>
<label><small>{{panel.label}}</small></label>
<select style="width:85%" ng-model="panel.sort[0]" ng-options="f for f in fields"></select>
<select style="width:85%" ng-model="panel.sort[0]" ng-change="set_sort()" ng-options="f for f in fields"></select>
<i ng-click="toggle_sort()" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
</div>