Color scheme updates, fixed auto refresh for issue #19, added control to disable table sorting, moved default.json to dashboards/default

This commit is contained in:
Rashid Khan
2013-03-20 21:27:07 -07:00
parent f5302fc713
commit 676e8771b1
10 changed files with 70 additions and 42 deletions
+2 -1
View File
@@ -22,10 +22,11 @@
<table class="table-hover table table-condensed" ng-style="panel.style">
<thead>
<th style="white-space:nowrap" ng-repeat="field in panel.fields">
<span class="pointer" ng-click="set_sort(field)">
<span class="pointer" ng-click="set_sort(field)" ng-show='panel.sortable'>
{{field}}
<i ng-show='field == panel.sort[0]' class="pointer" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
</span>
<span ng-show='!panel.sortable'>{{field}}</span>
</th>
</thead>
<tbody ng-repeat="row in data" ng-class-odd="'odd'">