added panel configuration framework

This commit is contained in:
Rashid Khan
2013-02-08 08:42:37 -07:00
parent ee65f81a2b
commit 19798b0891
23 changed files with 211 additions and 164 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
<div ng-controller='sort' style="white-space: nowrap;">
<h4 ng-class="{'ng-cloak': !panel.title}">{{panel.title}}</h4>
<kibana-panel ng-controller='sort' style="white-space: nowrap;">
<label><small>{{panel.label}}</small></label>
<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>
</kibana-panel>