diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-12 20:47:06 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-10-12 20:47:06 +0000 |
commit | 6c11828ca6216bd177e974ba6843ec5332afddf4 (patch) | |
tree | 7b159da919bdd9db93d617c7e2376d0d3d8f5328 /luci2/share | |
parent | 7baae58c613f232322c3104ed54c2d32791c6cc5 (diff) | |
download | luci2-ui-6c11828ca6216bd177e974ba6843ec5332afddf4.tar.gz |
luci2: add network hostname view
Diffstat (limited to 'luci2/share')
-rw-r--r-- | luci2/share/acl.d/luci2.json | 14 | ||||
-rw-r--r-- | luci2/share/menu.d/network.json | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/luci2/share/acl.d/luci2.json b/luci2/share/acl.d/luci2.json index e8e6949..91f3313 100644 --- a/luci2/share/acl.d/luci2.json +++ b/luci2/share/acl.d/luci2.json @@ -309,5 +309,19 @@ ] } } + }, + + "hostnames": { + "description": "Host entry management", + "read": { + "uci": [ + "dhcp" + ] + }, + "write": { + "uci": [ + "dhcp" + ] + } } } diff --git a/luci2/share/menu.d/network.json b/luci2/share/menu.d/network.json index fc6f236..64921b3 100644 --- a/luci2/share/menu.d/network.json +++ b/luci2/share/menu.d/network.json @@ -9,6 +9,12 @@ "view": "network/switch", "index": 30 }, + "network/hosts": { + "title": "Hostnames", + "acls": [ "hostnames" ], + "view": "network/hosts", + "index": 50 + }, "network/diagnostics": { "title": "Diagnostics", "acls": [ "diagnostics" ], |