This PR is an attempt to provide a way of unclutter the device ports page when an interface has many neighbors.
Clicking on the arrow will toggle the rest of the list of neighbors.
My web design skilled are somewhat limited,so I am considering this as a proof of concept open to comment and suggestions.
Related to issue #2409
The result can be see below :
Add hide/show feature for neighbors interfaces in the device ports page
Remove unneeded changes
Did not modified any styles so remove any changes in the file
Auto-Deploy finished, Test PR at http://2460.ci.librenms.org or https://2460.ci.librenms.org
Few things for me:
I agree to the conditions of the Contributor Agreement contained in d…
Replace left and bottom arrow icons by plus and minus icons
I'll work on 1,2 and 3.
For 4, I made all the cells clickable because the whole row was clickable before.
But I agree that it can be annoying when you want to copy and paste or open in a new tab.
K, leave 4 as is then for now. We had the same thing on devices lists :(
Only display plus icon if there is something to display
Only display plus sign if there is more than three neighbor interfaces
Take into account the number of ipv6 interfaces