From 3e57cbfeb88c42cfdd011f69569b82f9b79e1abb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 2 Apr 2012 21:07:49 +0200 Subject: [PATCH] User color instead of a big animated GIF to indicate whether a build is running --- src/root/common.tt | 2 -- src/root/static/css/hydra.css | 8 +++++++- src/root/static/images/running.gif | Bin 2892 -> 0 bytes 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 src/root/static/images/running.gif diff --git a/src/root/common.tt b/src/root/common.tt index 1ac51db4..3ab941cf 100644 --- a/src/root/common.tt +++ b/src/root/common.tt @@ -69,7 +69,6 @@ [% END %] # [%- IF showSchedulingInfo -%] - P [%- END -%] [%- IF !hideJobName -%] @@ -106,7 +105,6 @@ [%- END -%] [% build.id %] [%- IF showSchedulingInfo -%] - [% IF build.busy %]Running[% ELSIF build.disabled == 1 || build.get_column('enabled') == 0 %]Disabled[% END %] [% build.priority %] [%- END -%] [%- IF !hideJobName -%] diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css index 3a3bb4cc..2329cf29 100644 --- a/src/root/static/css/hydra.css +++ b/src/root/static/css/hydra.css @@ -126,10 +126,16 @@ ul.productList li { margin-left: 3em; } -.runningBuild { +tr:nth-child(even).runningBuild { + background-color: #d8ffd8 !important; +} + +tr:nth-child(odd).runningBuild { + background-color: #e8ffe8 !important; } .disabledBuild { + background-color: #ffc0c0 !important; } .error-msg { diff --git a/src/root/static/images/running.gif b/src/root/static/images/running.gif deleted file mode 100644 index d8530e78ba6af8bd2b9936a9b441b9e5544cbfd4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2892 zcmd7U{Z|s^0tawwy9sJ9TcwDuS!p1stxQG8R;R0iS~)F2&~8?OAg-KFd9$~rB4}G> z6A)MV3Sw?*3W)ZimIAKL4CT$W@~YrlH#ZYR?YfMrcJPjp zei2nB-Nc&$ceFFQhZ?_R1rE2o7#}P;-hK59-1xL*Vq$?FxE5NI_r7PK1p-2kbyu;` zyptv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