|
|
|
@ -90,10 +90,11 @@
|
|
|
|
|
<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': 'lightgray' }" |
|
|
|
|
ng-style="!analyticUnit.changed && { 'color': 'gray' }" |
|
|
|
|
role="menuitem" |
|
|
|
|
> |
|
|
|
|
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i> |
|
|
|
|