mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
inactive link when interpreter is not selected.
This commit is contained in:
parent
123882df7d
commit
aa30b3966e
2 changed files with 11 additions and 1 deletions
|
|
@ -312,3 +312,11 @@
|
|||
min-width: 150px;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
|
||||
.inactivelink {
|
||||
color: darkgrey;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,9 @@ limitations under the License.
|
|||
as-sortable="interpreterSelectionListeners" data-ng-model="interpreterBindings">
|
||||
<div data-ng-repeat="item in interpreterBindings" as-sortable-item>
|
||||
<div>
|
||||
<a ng-click="restartInterpreter(item)" ng-show="item.selected" tooltip="Restart">
|
||||
<a ng-click="restartInterpreter(item)"
|
||||
ng-class="{'inactivelink': !item.selected}"
|
||||
tooltip="Restart">
|
||||
<span class="glyphicon glyphicon-refresh btn-md"></span>
|
||||
</a> 
|
||||
<div as-sortable-item-handle
|
||||
|
|
|
|||
Loading…
Reference in a new issue