Merge "Reflect zuul window in status page."
This commit is contained in:
commit
d99d1442c4
BIN
modules/openstack_project/files/zuul/grey.png
Normal file
BIN
modules/openstack_project/files/zuul/grey.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 364 B |
@ -226,7 +226,9 @@ function format_change(change, change_queue) {
|
|||||||
}
|
}
|
||||||
html += '<td class="'+cls+'">';
|
html += '<td class="'+cls+'">';
|
||||||
if (i == change['_tree_index']) {
|
if (i == change['_tree_index']) {
|
||||||
if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
|
if (change['active'] != true) {
|
||||||
|
html += '<img src="grey.png" title="Waiting until closer to head of queue to start jobs"/>';
|
||||||
|
} else if (change['failing_reasons'] && change['failing_reasons'].length > 0) {
|
||||||
var reason = change['failing_reasons'].join(', ');
|
var reason = change['failing_reasons'].join(', ');
|
||||||
var image = 'red.png';
|
var image = 'red.png';
|
||||||
if (reason.match(/merge conflict/)) {
|
if (reason.match(/merge conflict/)) {
|
||||||
|
@ -186,6 +186,12 @@ class openstack_project::status (
|
|||||||
require => File['/srv/static/status/zuul'],
|
require => File['/srv/static/status/zuul'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file { '/srv/static/status/zuul/grey.png':
|
||||||
|
ensure => present,
|
||||||
|
source => 'puppet:///modules/openstack_project/zuul/grey.png',
|
||||||
|
require => File['/srv/static/status/zuul'],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/srv/static/status/zuul/line-angle.png':
|
file { '/srv/static/status/zuul/line-angle.png':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => 'puppet:///modules/openstack_project/zuul/line-angle.png',
|
source => 'puppet:///modules/openstack_project/zuul/line-angle.png',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user