mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
AC-948 applied ellipsis to home/groups and home/hosts pages. Added CSS on all list pages to drop index column when viewport is XS. Fixed padding on cancel icon for home/groups page. After kicking off an inventory sync on home/hosts page refresh() is now called.
This commit is contained in:
@@ -438,9 +438,10 @@ angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'Credential
|
|||||||
scope.selected_group_id = group_id;
|
scope.selected_group_id = group_id;
|
||||||
scope.refreshGroups();
|
scope.refreshGroups();
|
||||||
}
|
}
|
||||||
else {
|
else if (scope.refresh) {
|
||||||
scope.$emit('HostReloadComplete');
|
scope.refresh();
|
||||||
}
|
}
|
||||||
|
scope.$emit('HostReloadComplete');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -23,14 +23,14 @@ angular.module('HomeGroupListDefinition', [])
|
|||||||
key: true,
|
key: true,
|
||||||
label: 'Group',
|
label: 'Group',
|
||||||
ngClick: "editGroup(group.id, group.inventory)",
|
ngClick: "editGroup(group.id, group.inventory)",
|
||||||
columnClass: 'col-lg-3 col-md3 col-sm-2'
|
columnClass: 'col-lg-5 ellipsis'
|
||||||
//linkTo: "\{\{ '/#/inventories/' + group.inventory + '/' \}\}"
|
//linkTo: "\{\{ '/#/inventories/' + group.inventory + '/' \}\}"
|
||||||
},
|
},
|
||||||
inventory_name: {
|
inventory_name: {
|
||||||
label: 'Inventory',
|
label: 'Inventory',
|
||||||
sourceModel: 'inventory',
|
sourceModel: 'inventory',
|
||||||
sourceField: 'name',
|
sourceField: 'name',
|
||||||
columnClass: 'col-lg-3 col-md3 col-sm-2',
|
//columnClass: 'col-lg-3 col-md3 col-sm-2 ellipsis',
|
||||||
linkTo: "\{\{ '/#/inventories/' + group.inventory + '/' \}\}"
|
linkTo: "\{\{ '/#/inventories/' + group.inventory + '/' \}\}"
|
||||||
},
|
},
|
||||||
/*failed_hosts: {
|
/*failed_hosts: {
|
||||||
|
|||||||
@@ -129,6 +129,8 @@ a:focus {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#home_groups_table .actions .cancel { padding-right: 3px; }
|
||||||
|
|
||||||
.success-badge {
|
.success-badge {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #5cb85c;
|
background-color: #5cb85c;
|
||||||
@@ -734,6 +736,7 @@ input[type="checkbox"].checkbox-no-label {
|
|||||||
.table-hover tbody tr:hover > td,
|
.table-hover tbody tr:hover > td,
|
||||||
.table-hover tbody tr:hover > th {
|
.table-hover tbody tr:hover > th {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
border-top: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-hover-inverse tbody tr:hover > td,
|
.table-hover-inverse tbody tr:hover > td,
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
|||||||
html += "<thead>\n";
|
html += "<thead>\n";
|
||||||
html += "<tr>\n";
|
html += "<tr>\n";
|
||||||
if (list.index) {
|
if (list.index) {
|
||||||
html += "<th>#</th>\n";
|
html += "<th class\"col-lg-1 col-md-1 col-sm-1\">#</th>\n";
|
||||||
}
|
}
|
||||||
for (var fld in list.fields) {
|
for (var fld in list.fields) {
|
||||||
if ( (list.fields[fld].searchOnly == undefined || list.fields[fld].searchOnly == false) &&
|
if ( (list.fields[fld].searchOnly == undefined || list.fields[fld].searchOnly == false) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user