webbuild-cgi: red color for Updating indicator in jobs panel
This commit is contained in:
parent
7e78d60c90
commit
7d21e2fa60
@ -399,7 +399,7 @@ if [ "$REQUEST" = "refresh" -o "$REQUEST" = "refreshjobs" ]; then
|
|||||||
b=`ps ax|grep "rpmbuild .*\.spec$"|while read l; do basename "${l/.spec}"; done`
|
b=`ps ax|grep "rpmbuild .*\.spec$"|while read l; do basename "${l/.spec}"; done`
|
||||||
echo -n "Load: <b>${u/*: }</b> | Disk: <b>$f</b> | "
|
echo -n "Load: <b>${u/*: }</b> | Disk: <b>$f</b> | "
|
||||||
[ "$b" ] && echo -n "Building now: <b>$b</b> | "
|
[ "$b" ] && echo -n "Building now: <b>$b</b> | "
|
||||||
[ "`ps cax|grep smart`" ] && echo "<b>Updating</b> | "
|
[ "`ps cax|grep smart`" ] && echo "<b style=\"color:red\">Updating</b> | "
|
||||||
if [ "$STATE_JOBSSHOWALL" != "1" ]; then
|
if [ "$STATE_JOBSSHOWALL" != "1" ]; then
|
||||||
echo "$USER's jobs: [<a href=# onclick=ajax_getvalues(\"REQUEST=refreshjobs&JOBSSHOWALL=true\");>Show all jobs</a>]"
|
echo "$USER's jobs: [<a href=# onclick=ajax_getvalues(\"REQUEST=refreshjobs&JOBSSHOWALL=true\");>Show all jobs</a>]"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user