Added column panel, refactored panel adding from rows to include panel specific parameters. Moved call to init function to template to avoid double init

This commit is contained in:
Rashid Khan
2013-03-05 09:54:29 -07:00
parent 30f036ad3e
commit 8e15414852
43 changed files with 205 additions and 67 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<kibana-panel ng-controller='sort' style="white-space: nowrap;">
<kibana-panel ng-controller='sort' ng-init="init()" 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()" class="pointer" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>