|
|
@ -88,21 +88,6 @@ |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
|
|
|
|
|
|
|
|
<label class="gf-form-label" |
|
|
|
|
|
|
|
ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<!-- TODO: different disabled colors for light and dark themes --> |
|
|
|
|
|
|
|
<a class="pointer" |
|
|
|
|
|
|
|
ng-click="ctrl.onAnalyticUnitSave(analyticUnit)" |
|
|
|
|
|
|
|
ng-disabled="!analyticUnit.changed" |
|
|
|
|
|
|
|
ng-style="!analyticUnit.changed && { 'color': 'gray' }" |
|
|
|
|
|
|
|
role="menuitem" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i> |
|
|
|
|
|
|
|
<i class="fa fa-save"ng-if="!analyticUnit.saving"></i> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</label> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form-label" ng-if=" |
|
|
|
<div class="gf-form-label" ng-if=" |
|
|
|
(analyticUnit.detectorType === 'pattern' || |
|
|
|
(analyticUnit.detectorType === 'pattern' || |
|
|
|
(analyticUnit.detectorType === 'anomaly' && analyticUnit.hasSeasonality)) && |
|
|
|
(analyticUnit.detectorType === 'anomaly' && analyticUnit.hasSeasonality)) && |
|
|
@ -138,7 +123,7 @@ |
|
|
|
ng-disabled="analyticUnit.status === 'LEARNING' || analyticUnit.saving" |
|
|
|
ng-disabled="analyticUnit.status === 'LEARNING' || analyticUnit.saving" |
|
|
|
> |
|
|
|
> |
|
|
|
<a class="pointer"> |
|
|
|
<a class="pointer"> |
|
|
|
Detect |
|
|
|
Apply |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|