diff options
author | Vladislav Grigoryev <vg.aetera@gmail.com> | 2021-08-07 05:23:20 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-08-09 19:56:50 +0200 |
commit | 96ef7beb66de322411ad9a784953d7ff5a0ddfc1 (patch) | |
tree | b4ddb3d2c13a16d720c9049b67942a37134bb779 /modules/luci-mod-network/root/usr/share | |
parent | 57303e648307896a178fd58e4d1d3e2b90dcc967 (diff) |
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>
Diffstat (limited to 'modules/luci-mod-network/root/usr/share')
-rw-r--r-- | modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json index 188c695f3f..844f8cc752 100644 --- a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json +++ b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json @@ -59,22 +59,9 @@ } }, - "admin/network/hosts": { - "title": "Hostnames", - "order": 40, - "action": { - "type": "view", - "path": "network/hosts" - }, - "depends": { - "acl": [ "luci-mod-network-dhcp" ], - "uci": { "dhcp": true } - } - }, - "admin/network/routes": { "title": "Static Routes", - "order": 50, + "order": 40, "action": { "type": "view", "path": "network/routes" @@ -86,7 +73,7 @@ "admin/network/diagnostics": { "title": "Diagnostics", - "order": 60, + "order": 50, "action": { "type": "view", "path": "network/diagnostics" |