|
|
@ -90,10 +90,11 @@ |
|
|
|
<label class="gf-form-label" |
|
|
|
<label class="gf-form-label" |
|
|
|
ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }" |
|
|
|
ng-style="!analyticUnit.changed && { 'cursor': 'not-allowed' }" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<!-- TODO: different disabled colors for light and dark themes --> |
|
|
|
<a class="pointer" |
|
|
|
<a class="pointer" |
|
|
|
ng-click="ctrl.onAnalyticUnitSave(analyticUnit)" |
|
|
|
ng-click="ctrl.onAnalyticUnitSave(analyticUnit)" |
|
|
|
ng-disabled="!analyticUnit.changed" |
|
|
|
ng-disabled="!analyticUnit.changed" |
|
|
|
ng-style="!analyticUnit.changed && { 'color': 'lightgray' }" |
|
|
|
ng-style="!analyticUnit.changed && { 'color': 'gray' }" |
|
|
|
role="menuitem" |
|
|
|
role="menuitem" |
|
|
|
> |
|
|
|
> |
|
|
|
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i> |
|
|
|
<i class="fa fa-spinner fa-spin" ng-if="analyticUnit.saving"></i> |
|
|
|