mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
give description column top/bottom padding, and center action cell for tall rows
This commit is contained in:
parent
fbde6355bf
commit
f106b596ea
@ -80,6 +80,11 @@ table, tbody {
|
||||
border-top:0px!important;
|
||||
}
|
||||
|
||||
.List-tableCell.description-column {
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.List-actionButtonCell {
|
||||
padding-top:5px;
|
||||
padding-right: 15px;
|
||||
|
||||
@ -32,13 +32,15 @@
|
||||
<td class="DashboardList-activityCell">
|
||||
<aw-smart-status jobs="job_template.recent_jobs"></aw-smart-status>
|
||||
</td>
|
||||
<td class="List-actionButtonCell">
|
||||
<button class="List-actionButton" ng-click="launchJobTemplate(job_template.id)">
|
||||
<i class="icon-launch"></i>
|
||||
</button>
|
||||
<button class="List-actionButton" ng-click="editJobTemplate(job_template.id)">
|
||||
<i class="fa fa-pencil"></i>
|
||||
</button>
|
||||
<td class="List-actionsContainer">
|
||||
<div class="List-actionButtonCell">
|
||||
<button class="List-actionButton" ng-click="launchJobTemplate(job_template.id)">
|
||||
<i class="icon-launch"></i>
|
||||
</button>
|
||||
<button class="List-actionButton" ng-click="editJobTemplate(job_template.id)">
|
||||
<i class="fa fa-pencil"></i>
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -1960,7 +1960,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
|
||||
// Row level actions
|
||||
if (collection.fieldActions) {
|
||||
html += "<td class=\"List-tableCell List-actionButtonCell actions\">";
|
||||
html += "<td class=\"List-actionsContainer\"><div class=\"List-tableCell List-actionButtonCell actions\">";
|
||||
for (act in collection.fieldActions) {
|
||||
fAction = collection.fieldActions[act];
|
||||
html += "<button id=\"" + ((fAction.id) ? fAction.id : act + "-action") + "\" ";
|
||||
@ -1986,7 +1986,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
//html += (fAction.label) ? "<span class=\"list-action-label\"> " + fAction.label + "</span>": "";
|
||||
html += "</button>";
|
||||
}
|
||||
html += "</td>";
|
||||
html += "</div></td>";
|
||||
html += "</tr>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -524,7 +524,7 @@ export default ['$location', '$compile', '$rootScope', 'SearchWidget', 'Paginate
|
||||
|
||||
// Row level actions
|
||||
|
||||
innerTable += "<td class=\"List-actionButtonCell List-tableCell\">";
|
||||
innerTable += "<td class=\"List-actionsContainer\"><div class=\"List-actionButtonCell List-tableCell\">";
|
||||
|
||||
for (field_action in list.fieldActions) {
|
||||
if (field_action !== 'columnClass') {
|
||||
@ -573,7 +573,7 @@ export default ['$location', '$compile', '$rootScope', 'SearchWidget', 'Paginate
|
||||
}
|
||||
}
|
||||
}
|
||||
innerTable += "</td>\n";
|
||||
innerTable += "</div></td>\n";
|
||||
}
|
||||
|
||||
innerTable += "</tr>\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user