Commit 57301970 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Use whiteball for free nodes since they otherwise would look down (no

isalive reported from pxeboot kernel when node is free).
parent ce0bf7e7
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
......@@ -279,23 +279,32 @@ echo "</b></center><br>\n";
echo "<table>
<tr><td align=right><b><font color=green>Up</font></b></td>
<tr><td align=right>
<img src='/autostatus-icons/greenball.gif' alt=up>
<td align=left>$num_up</td>
<tr><td align=right nowrap><b>Possibly <font color=yellow>Down
<tr><td align=right nowrap>
<img src='/autostatus-icons/yellowball.gif' alt='possibly down'>
<b>Possibly Down</b></td>
<td align=left>$num_pd</td>
<tr><td align=right><b><font color=blue>Unknown</font></b></td>
<tr><td align=right>
<img src='/autostatus-icons/blueball.gif' alt=unknown>
<td align=left>$num_unk</td>
<tr><td align=right><b><font color=red>Down</font></b></td>
<tr><td align=right>
<img src='/autostatus-icons/redball.gif' alt=down>
<td align=left>$num_down</td>
<tr><td align=right><b>Total</b></td>
<td align=left>$num_total</td>
<tr><td align=right><b>Free</b></td>
<tr><td align=right>
<img src='/autostatus-icons/whiteball.gif' alt=free>
<td align=left>$num_free</td>
<tr><td colspan=2 nowrap align=center>
......@@ -384,7 +393,10 @@ while ($row = mysql_fetch_array($query_result)) {
echo " <td>$type ($class)</td>\n";
if (!$status)
if (!$pid)
echo "<td align=center>
<img src='/autostatus-icons/whiteball.gif' alt=free></td>\n";
elseif (!$status)
echo "<td align=center>
<img src='/autostatus-icons/blueball.gif' alt=unk></td>\n";
elseif ($status == "up")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment