User color instead of a big animated GIF to indicate whether a build is running

This commit is contained in:
Eelco Dolstra 2012-04-02 21:07:49 +02:00
parent 69e600da89
commit 3e57cbfeb8
3 changed files with 7 additions and 3 deletions

View file

@ -69,7 +69,6 @@
[% END %] [% END %]
<th>#</th> <th>#</th>
[%- IF showSchedulingInfo -%] [%- IF showSchedulingInfo -%]
<th></th>
<th>P</th> <th>P</th>
[%- END -%] [%- END -%]
[%- IF !hideJobName -%] [%- IF !hideJobName -%]
@ -106,7 +105,6 @@
[%- END -%] [%- END -%]
<td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td> <td><a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a></td>
[%- IF showSchedulingInfo -%] [%- IF showSchedulingInfo -%]
<td>[% IF build.busy %]<img src="/static/images/running.gif" alt="Running" />[% ELSIF build.disabled == 1 || build.get_column('enabled') == 0 %]Disabled[% END %]</td>
<td>[% build.priority %]</td> <td>[% build.priority %]</td>
[%- END -%] [%- END -%]
[%- IF !hideJobName -%] [%- IF !hideJobName -%]

View file

@ -126,10 +126,16 @@ ul.productList li {
margin-left: 3em; margin-left: 3em;
} }
.runningBuild { tr:nth-child(even).runningBuild {
background-color: #d8ffd8 !important;
}
tr:nth-child(odd).runningBuild {
background-color: #e8ffe8 !important;
} }
.disabledBuild { .disabledBuild {
background-color: #ffc0c0 !important;
} }
.error-msg { .error-msg {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB