Update color status

master
Heuzef 5 years ago
parent d0f0c790eb
commit 498298a36f
  1. 6
      Check.pm

@ -120,16 +120,16 @@ sub action
$shortErr = " ($shortErr)"; $shortErr = " ($shortErr)";
} }
if ( $lastAge < 1.1 ) { if ( $lastAge < 1.1 ) {
$lastAgeCheck = "<span style='color:MediumSeaGreen;'>$lastAge</span>"; $lastAgeColor = "MediumSeaGreen";
} else { } else {
$lastAgeCheck = "<span style='color:Tomato;'>$lastAge</span>"; $lastAgeColor = "Tomato";
} }
$str = <<EOF; $str = <<EOF;
<tr$reasonHilite><td class="border">${HostLink($host)}</td> <tr$reasonHilite><td class="border">${HostLink($host)}</td>
<td align="center" class="border">$fullAge</td> <td align="center" class="border">$fullAge</td>
<td align="center" class="border">$incrAge</td> <td align="center" class="border">$incrAge</td>
<td align="center" class="border">$lastAgeCheck</td> <td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td>
<td align="center" class="border">$lastXferErrors</td> <td align="center" class="border">$lastXferErrors</td>
<td align="center" class="border">???</td> <td align="center" class="border">???</td>
<td align="center" class="border">???</td> <td align="center" class="border">???</td>

Loading…
Cancel
Save