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:
@@ -1,7 +1,7 @@
|
||||
<div class="row-fluid" ng-controller="table">
|
||||
<div class="span12">
|
||||
<form class="input-append">
|
||||
<h5>Query</h5>
|
||||
<h6>Query</h6>
|
||||
<input type="text" style="width:90%" ng-model="panel.query">
|
||||
<button class="btn" ng-click="get_data();"><i class="icon-search"></i></button>
|
||||
</form>
|
||||
@@ -10,31 +10,42 @@
|
||||
<div class="row-fluid">
|
||||
<div class="span4">
|
||||
<form class="input-append">
|
||||
<h5>Add field</h5>
|
||||
<h6>Add field</h6>
|
||||
<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>
|
||||
<h6>Selected fields <small>Click to remove</small></h6>
|
||||
<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>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
<h6>Sortable</h6><input type="checkbox" ng-model="panel.sortable" ng-checked="panel.sortable">
|
||||
</div>
|
||||
<div class="span4" style="white-space:nowrap" ng-show='panel.sortable'>
|
||||
<h6>Sort</h6>
|
||||
<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>
|
||||
<h6>Length</h6>
|
||||
<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>
|
||||
<!--<div class="row-fluid" ng-show='panel.sortable'>
|
||||
<div class="span11">
|
||||
<h6>A note about sorting</h6>
|
||||
Allowing sorting can incur a significant performance penalty if using timestamped indices.
|
||||
Kibana will be unable to query your indices sequentially and thus must query them all at
|
||||
once. Only enable sorting if your cluster is stout enough to handle it.
|
||||
</div>
|
||||
</div>-->
|
||||
<h5>Panel Spy</h5>
|
||||
<div class="row-fluid">
|
||||
<div class="span2">
|
||||
|
||||
Reference in New Issue
Block a user