Merge pull request #409 from w33ble/agg-builder-values

Agg builder values
This commit is contained in:
Spencer 2014-09-26 15:05:18 -07:00
commit 52a8364ae6
4 changed files with 9 additions and 5 deletions

View file

@ -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)"

View file

@ -19,7 +19,6 @@ define(function (require) {
link: function ($scope) {
$scope.hideErrors = true;
$scope.dontApply = function () {
console.log('showing validation');
$scope.hideErrors = false;
};
}

View file

@ -14,5 +14,7 @@
required
type="number"
class="form-control"
name="interval" />
name="interval"
min="0"
>
</div>

View file

@ -16,6 +16,8 @@
ng-model="params.size"
required
class="form-control"
type="number">
type="number"
min="0"
>
</div>
</div>