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

Commit

Permalink
HAWKULAR-921 adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosogabriel committed Feb 2, 2016
1 parent c4ffc16 commit a9bf347
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h2>Members</h2>

<span ng-show="membership.member.id !== controller.organization.owner.id">
<span ng-show="controller.isAllowedToChangeRoleOfMembers">
<select
<select pf-select
ng-model="membership.role"
ng-change="controller.changeRole(membership)"
ng-options="role.name for role in controller.possibleRoles track by role.name"
Expand All @@ -111,14 +111,16 @@ <h2>Members</h2>
{{membership.role.name}}
</span>

<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.PERSISTING">
<i class="fa fa-spinner fa-spin"></i>
</span>
<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.SUCCESS">
<i class="fa fa-check"></i>
</span>
<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.ERROR">
<i class="fa fa-exclamation"></i>
<span class="hk-select-feedback">
<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.PERSISTING">
<div class="spinner spinner-sm hk-inline-block"></div>
</span>
<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.SUCCESS">
<i class="fa fa-check"></i>
</span>
<span ng-show="controller.membershipsToUpdate[membership.id] === PersistenceState.ERROR">
<i class="fa fa-exclamation"></i>
</span>
</span>
</span>
</td>
Expand Down
6 changes: 5 additions & 1 deletion console/src/main/scripts/plugins/accounts/less/accounts.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,8 @@ body.inactivity-modal-open .modal:not(.time-out-dialog)
td .label {
margin-left: @grid-gutter-width/4;
}
}

.hk-select-feedback {
margin-left: @grid-gutter-width/8;
}
}
4 changes: 4 additions & 0 deletions console/src/main/scripts/plugins/metrics/less/metrics.less
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ a:hover {
cursor: pointer;
}

.hk-inline-block {
display: inline-block;
}

// Alerts

.alert-success,
Expand Down

0 comments on commit a9bf347

Please sign in to comment.