Add ID to Device Table List and to Device Dependencies Table List + Shorten ifname in Device: Recent Events. (#12397)

* Add ID to Device Table List and to Device Dependencies Table List

* wrap interface text to max-width: 100px

* ok, fixed as requested. all tests ok! gui working well... filtering and sort tests ok.
This commit is contained in:
Cupid@zul
2021-03-23 14:07:27 +00:00
committed by GitHub
parent 800ae95b90
commit c05cf4b2fc
4 changed files with 12 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ if ($entry['type'] == 'interface') {
$entry['link'] = '<b>' . generate_port_link(cleanPort(getifbyid($entry['reference']))) . '</b>';
}
echo '<td style="white-space: nowrap;">' . $entry['link'] . '</td>';
echo '<td style="white-space: nowrap;max-width: 100px;overflow: hidden;text-overflow: ellipsis;">' . $entry['link'] . '</td>';
echo '<td>' . htmlspecialchars($entry['message']) . '</td>';
echo '</tr>';