webui: Added device description to overview page (#7328)

This commit is contained in:
Neil Lathwood
2017-09-14 01:46:16 +01:00
committed by Tony Murray
parent 5e5684f2cd
commit 0376f92cc3

View File

@@ -44,6 +44,13 @@ if (!empty($device['ip'])) {
}
}
if ($device['purpose']) {
echo '<tr>
<td>Description</td>
<td>'.display($device['purpose']).'</td>
</tr>';
}
if ($device['hardware']) {
echo '<tr>
<td>Hardware</td>