Added relative/absolute/since time selector. Moved refresh func out to panel

This commit is contained in:
Rashid Khan
2013-02-04 17:05:36 -07:00
parent a73242cae5
commit 834e63a123
21 changed files with 2004 additions and 473 deletions
+2 -1
View File
@@ -1,5 +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>
<i ng-click="toggle_sort()" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
<select ng-model="panel.sort[0]" ng-options="f for f in fields"></select>
</div>