Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouseover prefix show tooltip with ranges #717

Open
eslin opened this issue Mar 25, 2015 · 1 comment
Open

Mouseover prefix show tooltip with ranges #717

eslin opened this issue Mar 25, 2015 · 1 comment

Comments

@eslin
Copy link

eslin commented Mar 25, 2015

mouseover the prefix to get a tooltip showing the range/ranges

172.16.0.14/21
tooltip: 172.16.0.0-172.16.7.255 (2048)

@plajjan
Copy link
Member

plajjan commented Mar 26, 2015

This is actually a rather invasive change. The web UI is currently completely unaware of what it is displaying, ie it doesn't understand that "172.16.0.14/21" is an IPv4 prefix, it is treated just as a string and I don't think it makes sense for the backend to expand this. Either the python code of the web UI could expand it or one would do it directly in the browser with JavaScript. As I want to remove a lot of the python code of the web UI and make it slimmer overall the remaining option is JavaScript. Last time I looked I couldn't find a JavaScript library that handles these kind of operations both for IPv4 and IPv6.. perhaps it has changed by now!?

@plajjan plajjan added this to the Triage milestone Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants