Added option to display errored ports in device summary

This commit is contained in:
f0o
2015-08-28 09:24:08 +01:00
parent 5d337e593f
commit a1f9fe19fa
4 changed files with 23 additions and 0 deletions

View File

@@ -83,6 +83,21 @@ if ($config['show_services']) {
}
if ($config['summary_errors']) {
$temp_output .= '
</tr>
<tr class="active">
<th><span class="black">Errored</span></th>
<td>-</td>
<td><a href="ports/format=list_detail/errors=1/"><span class="black"> '.$ports['errored'].'</span></a></td>
';
if ($config['show_services']) {
$temp_output .= '
<td>-</td>
';
}
}
$temp_output .= '
</tr>
<tr class="active">