luci-mod-network: slightly improve static lease config
authorJo-Philipp Wich <jo@mein.io>
Wed, 21 Aug 2019 16:27:38 +0000 (18:27 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
commit14b6ea6ea750a6f3b7dd97376dd8e2cb0f3e9087
tree40044d00ffe17f956641f5ac7938654170743aec
parentac56dc057d0a5dc0c9e014f6824bd63273eebe6e
luci-mod-network: slightly improve static lease config

 - Autoselect the matching IPv4 address when initially picking a MAC
 - Add hostname hints in the MAC/IP dropdowns

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