mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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>';
|
||||
|
Reference in New Issue
Block a user