Skip to content

Commit

Permalink
Fix the Task Detail Button
Browse files Browse the repository at this point in the history
Tendrl-bug-id: #645
  • Loading branch information
a2batic committed Oct 6, 2017
1 parent 1cdc907 commit 76867aa
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/modules/clusters/cluster-list/cluster-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
}
.btn-default {
width: 124px;
overflow: hidden;
}
}
.list-view-pf-main-info {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/clusters/import-cluster/import-cluster.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3 class="col-sm-12">Import <span class="bold-text">{{vm.cluster.name}}</span>
</div>
<div class="row">
<div class="col-sm-12 volume-profile">
<input type="checkbox" name="volumeProfile" ng-model="vm.enableProfiling"> Enable Volume profiling. <i class="pficon pficon-info" uib-tooltip-template="'../modules/clusters/import-cluster/import-cluster-tooltip.html'" tooltip-placement="bottom-left"></i>
<input type="checkbox" name="volumeProfile" ng-model="vm.enableProfiling"/><label for="volumeProfile"> Enable Volume profiling </label><i class="pficon pficon-info" uib-tooltip-template="'../modules/clusters/import-cluster/import-cluster-tooltip.html'" tooltip-placement="bottom-left"></i>
</div>
</div>
<h2>Discovered Host(s)</h2>
Expand Down
11 changes: 8 additions & 3 deletions src/modules/clusters/import-cluster/import-cluster.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@
margin-top: 10px;
font-size: 14px;

input[type=checkbox] {
vertical-align: sub;
input[type=checkbox],i {
padding: 2px;
}

label {
padding: 2px;
font-weight: normal;
}

.pficon-info {
Expand All @@ -38,4 +43,4 @@
max-width: 270px;
}
}
}
}
4 changes: 2 additions & 2 deletions src/modules/tasks/task-list/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ <h1>No Tasks Detected.</h1>
<div class="bold-text ">Submitted</div>
<div class="pull-left ">{{task.created_at| date: 'dd MMM yyyy HH:mm:ss'}}</div>
</div>
<div class="ft-column bold-text ">{{taskCntrl.getStatusText(task.status)}}</div>
<div class="ft-column bold-text status-col ">{{taskCntrl.getStatusText(task.status)}}</div>
<div class="ft-column ft-actions">
<button class="btn btn-default" ng-click="taskCntrl.goToTaskDetail(task.job_id)">Task Details</button>
<button class="btn btn-default task-btn" ng-click="taskCntrl.goToTaskDetail(task.job_id)">Task Details</button>
</div>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/modules/tasks/task-list/tasks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
align-items: left;
flex: 1;
}
.status-col {
flex-grow: 0.5;
}
.task-btn {
width: auto;
}
}
}
.filter-section {
Expand Down

0 comments on commit 76867aa

Please sign in to comment.