fix instance group lookup

This commit is contained in:
John Mitchell 2018-11-19 15:38:11 -05:00
parent 0c1a4439ba
commit 22e7083d71
No known key found for this signature in database
GPG Key ID: FE6A9B5BD4EB5C94
2 changed files with 8 additions and 9 deletions

View File

@ -1,14 +1,18 @@
<div class="input-group Form-mixedInputGroup">
<span class="input-group-btn">
<button type="button" class="Form-lookupButton btn btn-default" ng-click="openInstanceGroupsModal()"
<span class="input-group-btn Form-variableHeightButtonGroup">
<button type="button" class="Form-lookupButton Form-lookupButton--variableHeight btn btn-default" ng-click="openInstanceGroupsModal()"
ng-disabled="fieldIsDisabled">
<i class="fa fa-search"></i>
</button>
</span>
<span id="InstanceGroups" class="form-control Form-textInput Form-textInput--variableHeight input-medium lookup LabelList-lookupTags"
ng-disabled="fieldIsDisabled">
<div class="LabelList-tagContainer" ng-repeat="tag in instanceGroupsTags">
ng-disabled="fieldIsDisabled"
ng-class="{'LabelList-lookupTags--disabled' : fieldIsDisabled}">
<div ng-if="!fieldIsDisabled" class="LabelList-tagContainer" ng-repeat="tag in instanceGroupsTags">
<at-tag tag="tag.name" remove-tag="deleteTag(tag)"></at-tag>
</div>
<div ng-if="fieldIsDisabled" class="LabelList-tag" ng-repeat="tag in instanceGroupsTags">
<span class="LabelList-name">{{tag.name}}</span>
</div>
</span>
</div>

View File

@ -92,11 +92,6 @@
.LabelList-lookupTags {
display: flex;
padding: 0 12px;
overflow-y: hidden;
}
.LabelList-lookupTags[disabled] {
pointer-events: none;
}
.LabelList-lookupTags--disabled {