Add color for size consistency

master
Heuzef 5 years ago
parent 2f2fa63310
commit 5e6bc43571
  1. 4
      Check.pm

@ -211,9 +211,11 @@ my $sizeConsistency = "ANOMALOUS";
# Get result
if ( $toobig or $toosmall ) {
$sizeConsistency = "ANOMALOUS";
$sizeConsistencyColor = "Tomato";
}
else {
$sizeConsistency = "Normal";
$sizeConsistencyColor = "MediumSeaGreen";
}
# Show summary
@ -221,7 +223,7 @@ else {
<tr$reasonHilite><td class="border">${HostLink($host)}</td>
<td align="center" class="border" style="color:$lastAgeColor;">$lastAge</td>
<td align="center" class="border" style="color:$lastXferErrorsColor;">$lastXferErrors</td>
<td align="center" class="border">$sizeConsistency</td>
<td align="center" class="border" style="color:$sizeConsistencyColor;">$sizeConsistency</td>
<td align="center" class="border"><a href="#" target="_blank">random-file.txt</a></td>
EOF

Loading…
Cancel
Save