Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Adjusted Server Overview labels close icon, dialog button
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosogabriel committed Dec 15, 2015
1 parent 13f6c94 commit c214c34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<input type="text" class="form-control" ng-model="label.value">
</div>
<div class="pull-right label-buttons">
<button type="button" ng-click="confirmDropDown()" class="btn btn-default"><span>Ok</span></button>
<button type="button" ng-click="confirmDropDown()" class="btn btn-default"><span>Save</span></button>
<button type="button" ng-click="closeDropDown()" class="btn btn-default"><span>Cancel</span></button>
</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2 class="card-pf-title">Server Details</h2>
label="label"
close="vm.closeDropDown()">
<span class="label label-primary label-clickable">{{label.key}} : {{label.value}}
<i ng-click="vm.removeLabel(index, $event)" class="fa fa-times remove-label"></i>
<span ng-click="vm.removeLabel(index, $event)" class="pficon-close remove-label"></span>
</span>
</hk-detail-label-editor>
</div>
Expand Down
7 changes: 5 additions & 2 deletions console/src/main/scripts/plugins/metrics/less/metrics.less
Original file line number Diff line number Diff line change
Expand Up @@ -2560,10 +2560,13 @@ section {
}

.remove-label {
vertical-align: text-bottom;
color: rgba(255,255,255,0.8);
cursor: pointer;
margin-left: 5px;
margin-right: 0;
vertical-align: middle;

&:hover{
&:hover {
color: white;
}
}
Expand Down

0 comments on commit c214c34

Please sign in to comment.