luci-base: network.js: overhaul code
authorJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 16:17:10 +0000 (18:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Aug 2019 20:58:15 +0000 (22:58 +0200)
commit0d0882aea0e67faaef769c3517f17b1f650f0794
tree6eb0fa7a40f6a409741c6be886d2cc21cc5b65f9
parented8f1c4c1c47465f79ddaf6af118d1dd29ee7d12
luci-base: network.js: overhaul code

 - Rework internal state management
 - Implement new utility functions such as getL3Device() or getModemType()
 - Fix bugs in various functions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js