forked from lix-project/hydra
User color instead of a big animated GIF to indicate whether a build is running
This commit is contained in:
parent
69e600da89
commit
3e57cbfeb8
|
@ -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 -%]
|
||||||
|
|
|
@ -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 |
Loading…
Reference in a new issue