|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
ng-model="analyticUnit.type" |
|
|
|
|
ng-options="type.value as type.name for type in ctrl.analyticUnitTypes[analyticUnit.detectorType]" |
|
|
|
|
ng-disabled="true" |
|
|
|
|
/> |
|
|
|
|
></select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="gf-form gf-form--grow"> |
|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
<color-picker |
|
|
|
|
color="analyticUnit.labeledColor" |
|
|
|
|
onChange="ctrl.onColorChange.bind(ctrl, analyticUnit.id, false)" |
|
|
|
|
/> |
|
|
|
|
></color-picker> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
<color-picker |
|
|
|
|
color="analyticUnit.deletedColor" |
|
|
|
|
onChange="ctrl.onColorChange.bind(ctrl, analyticUnit.id, true)" |
|
|
|
|
/> |
|
|
|
|
></color-picker> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
<div class="gf-form gf-form--grow"> |
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
ng-model="analyticUnit.condition" |
|
|
|
|
ng-options="type for type in ctrl.analyticsController.conditions" |
|
|
|
|
ng-change="ctrl.onAnalyticUnitChange(analyticUnit)" |
|
|
|
|
/> |
|
|
|
|
></select> |
|
|
|
|
<input class="gf-form-input width-4" |
|
|
|
|
ng-if="analyticUnit.condition !== 'NO_DATA'" |
|
|
|
|
type="number" |
|
|
|
@ -117,7 +117,7 @@
|
|
|
|
|
label-class="query-keyword width-8" |
|
|
|
|
on-change="ctrl.onAnalyticUnitChange(analyticUnit)" |
|
|
|
|
checked="analyticUnit.hasSeasonality" |
|
|
|
|
/> |
|
|
|
|
></gf-form-switch> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="gf-form" ng-if="analyticUnit.hasSeasonality"> |
|
|
|
@ -138,7 +138,7 @@
|
|
|
|
|
ng-model="analyticUnit.seasonalityPeriod.unit" |
|
|
|
|
ng-change="ctrl.onSeasonalityChange(analyticUnit.id)" |
|
|
|
|
ng-options="type for type in ['seconds', 'minutes', 'hours', 'days', 'years']" |
|
|
|
|
/> |
|
|
|
|
></select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -155,7 +155,7 @@
|
|
|
|
|
ng-model="analyticUnit.enableBounds" |
|
|
|
|
ng-change="ctrl.onAnalyticUnitChange(analyticUnit)" |
|
|
|
|
ng-options="bound.value as bound.name for bound in ctrl.boundTypes" |
|
|
|
|
/> |
|
|
|
|
></select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="gf-form gf-form--grow"> |
|
|
|
|