mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
removing the action column for the jobs list
on the dashboard
This commit is contained in:
parent
8be8b41539
commit
4d45e0f778
@ -25,7 +25,6 @@
|
||||
border-radius: 5px;
|
||||
margin-top: 15px;
|
||||
width: 50%;
|
||||
// padding: 20px;
|
||||
background-color: #ffffff;
|
||||
max-width: ~"calc(50% - 7px)";
|
||||
position: relative;
|
||||
|
||||
@ -82,6 +82,9 @@
|
||||
.DashboardList-tableHeader--time{
|
||||
width: 190px;
|
||||
padding-left:20px;
|
||||
padding-right: 15px;
|
||||
border-top-right-radius: 5px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.DashboardList-tableHeader--actions{
|
||||
@ -132,8 +135,9 @@
|
||||
|
||||
.DashboardList-timeCell {
|
||||
white-space: nowrap;
|
||||
padding-right: 20px;
|
||||
padding-right: 15px;
|
||||
padding-left: 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.DashboardList-nameContainer:hover {
|
||||
|
||||
@ -33,7 +33,6 @@ export default
|
||||
status: job.status,
|
||||
name: job.name,
|
||||
id: job.id,
|
||||
templateId: job.job_template,
|
||||
time: $filter('longDate')(job.finished)
|
||||
}; });
|
||||
|
||||
@ -43,9 +42,5 @@ export default
|
||||
scope.isSuccessful = function (status) {
|
||||
return (status === "successful");
|
||||
};
|
||||
|
||||
scope.editJobTemplate = function (jobTemplateId) {
|
||||
$location.path( '/job_templates/' + jobTemplateId);
|
||||
};
|
||||
}
|
||||
}];
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
<tr>
|
||||
<th class="DashboardList-tableHeader DashboardList-tableHeader--name" ng-click="sort('job_templates','name')">Title <i class="fa fa-sort-up"></i></th>
|
||||
<th class="DashboardList-tableHeader DashboardList-tableHeader--time">Time</th>
|
||||
<th class="DashboardList-tableHeader DashboardList-tableHeader--actions">Actions</th>
|
||||
</tr>
|
||||
<tr class="DashboardList-tableRow"
|
||||
ng-class-odd="'DashboardList-tableRow--oddRow'"
|
||||
@ -31,11 +30,6 @@
|
||||
<td class="DashboardList-timeCell">
|
||||
{{job.time}}
|
||||
</td>
|
||||
<td class="DashboardList-actionButtonCell">
|
||||
<button class="DashboardList-actionButton DashboardList-actionButton--edit" ng-click="editJobTemplate(job.templateId)">
|
||||
<i class="fa fa-pencil"></i>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user