mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Merge pull request #409 from w33ble/agg-builder-values
Agg builder values
This commit is contained in:
commit
52a8364ae6
4 changed files with 9 additions and 5 deletions
|
@ -26,30 +26,31 @@
|
|||
|
||||
<!-- controls !!!actually disabling buttons will break tooltips¡¡¡ -->
|
||||
<div class="vis-editor-agg-header-controls btn-group">
|
||||
<!-- up button -->
|
||||
<button
|
||||
ng-if="group.length > 1"
|
||||
ng-class="{ disabled: $first }"
|
||||
ng-click="moveUp(agg)"
|
||||
tooltip="Increase Priority"
|
||||
tooltip-append-to-body="true"
|
||||
|
||||
type="button"
|
||||
class="btn btn-xs btn-default">
|
||||
<i class="fa fa-caret-up"></i>
|
||||
</button>
|
||||
|
||||
<!-- down button -->
|
||||
<button
|
||||
ng-if="group.length > 1"
|
||||
ng-class="{ disabled: $last }"
|
||||
ng-click="moveDown(agg)"
|
||||
tooltip="Decrease Priority"
|
||||
tooltip-append-to-body="true"
|
||||
|
||||
type="button"
|
||||
class="btn btn-xs btn-default">
|
||||
<i class="fa fa-caret-down"></i>
|
||||
</button>
|
||||
|
||||
<!-- remove button -->
|
||||
<button
|
||||
ng-if="group.length > groupMin"
|
||||
ng-click="remove(agg)"
|
||||
|
|
|
@ -19,7 +19,6 @@ define(function (require) {
|
|||
link: function ($scope) {
|
||||
$scope.hideErrors = true;
|
||||
$scope.dontApply = function () {
|
||||
console.log('showing validation');
|
||||
$scope.hideErrors = false;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,5 +14,7 @@
|
|||
required
|
||||
type="number"
|
||||
class="form-control"
|
||||
name="interval" />
|
||||
name="interval"
|
||||
min="0"
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
ng-model="params.size"
|
||||
required
|
||||
class="form-control"
|
||||
type="number">
|
||||
type="number"
|
||||
min="0"
|
||||
>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue