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