mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
On Job Events page, Event and Host columns now have a min-width css setting to help prevent 'jump' when collapsing/expanding children. Fixes the jump, but sort of wrecks the TB's responsive layout on small screens. May have to circle back and add media query at some point.
This commit is contained in:
parent
9d4a2f528e
commit
9c6a20d4c7
@ -449,4 +449,8 @@
|
||||
|
||||
#event_display-header {
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
#job-event-host-header {
|
||||
min-width: 200px;
|
||||
}
|
||||
@ -33,10 +33,9 @@ angular.module('JobEventsListDefinition', [])
|
||||
label: 'Host',
|
||||
ngClick: "viewHost(\{\{ jobevent.host \}\})",
|
||||
ngBind: 'jobevent.summary_fields.host.name',
|
||||
sourceModel: 'host',
|
||||
sourceField: 'name',
|
||||
searchField: 'hosts__name',
|
||||
nosort: true
|
||||
nosort: true,
|
||||
id: 'job-event-host-header'
|
||||
},
|
||||
status: {
|
||||
label: 'Status',
|
||||
|
||||
@ -153,7 +153,9 @@ angular.module('ListGenerator', ['GeneratorHelpers'])
|
||||
html += "<th>#</th>\n";
|
||||
}
|
||||
for (var fld in list.fields) {
|
||||
html += "<th class=\"list-header\" id=\"" + fld + "-header\" ";
|
||||
html += "<th class=\"list-header\" id=\"";
|
||||
html += (list.fields[fld].id) ? list.fields[fld].id : fld + "-header";
|
||||
html += "\"";
|
||||
html += (list.fields[fld].nosort === undefined || list.fields[fld].nosort !== true) ? "ng-click=\"sort('" + fld + "')\"" : "";
|
||||
html += ">" + list.fields[fld].label;
|
||||
if (list.fields[fld].nosort === undefined || list.fields[fld].nosort !== true) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user