Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Few tweaks to the profile list widget
  • Loading branch information
gashcrumb committed Sep 26, 2013
1 parent 4a6ad19 commit 26b3817
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hawtio-web/src/main/webapp/app/fabric/html/container.html
Expand Up @@ -21,8 +21,8 @@ <h2><i ng-class="statusIcon()"></i>Container: {{row.id}}</h2>


<div class="span4">
<dl class="dl-horizontal">
<div class="btn-group pull-right">
<dl class="dl-horizontal container-detail-profiles">
<div class="btn-group pull-right container-detail-profile-buttons">
<button class="btn" ng-click="addProfileDialog.open()" title="Add new profiles to this container"><i class="icon-plus"></i> Add</button>
<button class="btn" ng-click="deleteProfileDialog.open()" ng-disabled="selectedProfiles.length == 0"
title="Removes the selected profiles from this container"><i class="icon-remove"></i> Remove</button>
Expand All @@ -34,7 +34,7 @@ <h2><i ng-class="statusIcon()"></i>Container: {{row.id}}</h2>
</div>

<div class="span5 container-settings">
<div class="tabbable hawtio-form-tabs">
<div class="tabbable hawtio-form-tabs">

<div class="tab-pane" title="Status">
<dl class="dl-horizontal">
Expand Down
Expand Up @@ -29,7 +29,7 @@

<div class="inline-block profile-selector-name" ng-class="getSelectedClass(profile)">
<a href="" ng-click="goto(profile)" title="Details for {{profile.id}}"><i class="icon-book green"></i> {{profile.name}}</a>
<a href="" class="profile-info" ng-show="showLinks" ng-click="goto(profile)"><i class="icon-info-sign clickable" title="Details for {{profile.id}}"></i></a>
<a href="" class="profile-info" ng-show="showLinks" ng-click="goto(profile)"><i class="icon-question-sign clickable blue" title="Details for {{profile.id}}"></i></a>
</div>
</div>
</li>
Expand Down
15 changes: 15 additions & 0 deletions hawtio-web/src/main/webapp/css/site-base.css
Expand Up @@ -210,6 +210,10 @@ ol.inline > li {
.green {
color: green !important;
}
.blue {
color: dodgerblue !important;
}

.icon1point5x {
font-size: 1.5em;
}
Expand Down Expand Up @@ -1914,3 +1918,14 @@ a.dashboard-link:hover {
white-space: nowrap;
text-overflow: ellipsis;
}

.container-detail-profiles {
position: relative;
margin-top: 2px;
}

.container-detail-profile-buttons {
position: absolute;
right: 0;
top: 19px;
}

0 comments on commit 26b3817

Please sign in to comment.