luci-mod-network: merge hosts with dns settings
authorVladislav Grigoryev <vg.aetera@gmail.com>
Sat, 7 Aug 2021 02:23:20 +0000 (05:23 +0300)
committerJo-Philipp Wich <jo@mein.io>
Mon, 9 Aug 2021 17:56:50 +0000 (19:56 +0200)
commit96ef7beb66de322411ad9a784953d7ff5a0ddfc1
treeb4ddb3d2c13a16d720c9049b67942a37134bb779
parent57303e648307896a178fd58e4d1d3e2b90dcc967
luci-mod-network: merge hosts with dns settings

The current location for "Network > Hostnames" is confusing.
It is provided by Dnsmasq and partly overlaps with static leases.

Merge "Hostnames" with "Network > DHCP and DNS" as an extra tab.
Also add a simple explanation of the use case.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
[Fix typo in label description string]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js [deleted file]
modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json