implement show link speeds on links

This commit is contained in:
Oliver Gorwits
2017-12-30 08:58:04 +00:00
parent 72961f172d
commit 93f8181fc8
6 changed files with 52 additions and 5 deletions

View File

@@ -123,6 +123,11 @@
graph.wrapLabels(false).start();
}
});
$('#nd_showspeed').change(function() {
$('.nd_netmap-linklabel').css('fill',
($(this).prop('checked') ? 'black' : 'none')
);
});
// netmap pin/release controls
$('#nd_netmap-releaseall').on('click', function(event) {