mirror of https://github.com/grafana/grafana
Added collapsable rows, error handling in table panel, ground work for new kinds of binding, refactored view a bit
parent
896a6f7c10
commit
a73242cae5
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@ |
|||||||
<div ng-controller='histogram'> |
<div ng-controller='histogram' style="height:{{row.height}}"> |
||||||
<h4>{{panel.title}}</h4> |
<h4>{{panel.title}}</h4> |
||||||
<div histogram params="{{panel}}" style="height:{{row.height}}"></div> |
<div histogram params="{{panel}}" style="height:{{row.height}}"></div> |
||||||
</div> |
</div> |
@ -1,5 +1,5 @@ |
|||||||
<div ng-controller='sort'> |
<div ng-controller='sort' style="white-space: nowrap;"> |
||||||
<h4 ng-hide="_.isUndefined(panel.title)">{{panel.title}}</h4> |
<h4 ng-class="{'ng-cloak': !panel.title}">{{panel.title}}</h4> |
||||||
<select 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> |
<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> |
</div> |
@ -1,6 +1,6 @@ |
|||||||
<div ng-controller='stringquery'> |
<div ng-controller='stringquery'> |
||||||
<h4 ng-hide="_.isUndefined(panel.title)">{{panel.title}}</h4> |
<h4 ng-class="{'ng-cloak': !panel.title}">{{panel.title}}</h4> |
||||||
<form class="form-search"> |
<form class="form-search" style="margin-bottom:0px"> |
||||||
<input type="text" class="input-medium search-query" ng-model="query" style="width:85%"> |
<input type="text" class="input-medium search-query" ng-model="query" style="width:85%"> |
||||||
<button type="submit" class="btn" ng-click="send_query(query)">Search</button> |
<button type="submit" class="btn" ng-click="send_query(query)">Search</button> |
||||||
</form> |
</form> |
||||||
|
Loading…
Reference in new issue