mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
50 lines
2.3 KiB
HTML
50 lines
2.3 KiB
HTML
<div class="row-fluid" ng-controller="table">
|
|
<div class="span12">
|
|
<form class="input-append">
|
|
<h5>Query</h5>
|
|
<input type="text" style="width:90%" ng-model="panel.query">
|
|
<button class="btn" ng-click="get_data();"><i class="icon-search"></i></button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="row-fluid">
|
|
<div class="span4">
|
|
<form class="input-append">
|
|
<h5>Add field</h5>
|
|
<input bs-typeahead="all_fields" type="text" class="input-small" ng-model='newfield'>
|
|
<button class="btn" ng-click="toggle_field(newfield);newfield=''"><i class="icon-plus"></i></button>
|
|
</form>
|
|
</div>
|
|
<div class="span8">
|
|
<h5>Selected fields <small>Click to remove</small></h5>
|
|
<span style="margin-left:3px" ng-click="toggle_field(field)" ng-repeat="field in $parent.panel.fields" class="label remove pointer">{{field}} </span>
|
|
</div>
|
|
</div>
|
|
<div class="row-fluid">
|
|
<div class="span4" style="white-space:nowrap">
|
|
<h5>Sort</h5>
|
|
<input ng-show="all_fields.length<=0 || !all_fields"style="width:85%" ng-model="panel.sort[0]" type="text"></input>
|
|
<select ng-show="all_fields.length>0"style="width:85%" ng-model="panel.sort[0]" ng-options="f for f in all_fields"></select>
|
|
<i ng-click="set_sort(panel.sort[0])" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
|
|
</div>
|
|
<div class="span3">
|
|
<h5>Length</h5>
|
|
<input type="number" class="input-mini" ng-model="panel.size" ng-change="get_data()">
|
|
</div>
|
|
<div class="span3"><h6>Font Size</h6>
|
|
<select class="input-small" ng-model="panel.style['font-size']" ng-options="f for f in ['6pt','7pt','8pt','10pt','12pt','14pt','16pt','18pt','20pt','24pt','28pt','32pt','36pt','42pt','48pt','52pt','60pt','72pt']"></select></span>
|
|
</div>
|
|
</div>
|
|
<h5>Panel Spy</h5>
|
|
<div class="row-fluid">
|
|
<div class="span2">
|
|
<label class="small"> Spyable </label><input type="checkbox" ng-model="panel.spyable" ng-checked="panel.spyable">
|
|
</div>
|
|
<div class="span9 small">
|
|
The panel spy shows 'behind the scenes' information about a panel. It can
|
|
be accessed by clicking the <i class='icon-eye-open'></i> in the top right
|
|
of the panel.
|
|
</div>
|
|
</div>
|
|
|