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