diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-01-11 14:10:01 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-01-11 15:11:14 +0100 |
commit | e40282cb382987b3d3e223c8f158924044283f71 (patch) | |
tree | ac8af735e07db24784d8939ae8ece1b26e7c2b43 /applications/luci-app-mwan3/luasrc/controller | |
parent | 5aeeb69f15de71fe418d65ca13a73a96c7b6e393 (diff) |
luci-app-mwan3: remove configuration tab
remove configuration tab
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/controller')
-rw-r--r-- | applications/luci-app-mwan3/luasrc/controller/mwan3.lua | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index e8c818ee3d..f429cc60ff 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -33,27 +33,25 @@ function index() entry({"admin", "network", "mwan"}, - alias("admin", "network", "mwan", "configuration"), + alias("admin", "network", "mwan", "interface"), _("Load Balancing"), 600) - entry({"admin", "network", "mwan", "configuration"}, - alias("admin", "network", "mwan", "configuration", "interface"), - _("Configuration"), 20) - entry({"admin", "network", "mwan", "configuration", "globals"}, - cbi("mwan/globalsconfig"),_("Globals"), 5).leaf = true - entry({"admin", "network", "mwan", "configuration", "interface"}, + entry({"admin", "network", "mwan", "globals"}, + cbi("mwan/globalsconfig"), + _("Globals"), 5).leaf = true + entry({"admin", "network", "mwan", "interface"}, arcombine(cbi("mwan/interface"), cbi("mwan/interfaceconfig")), _("Interfaces"), 10).leaf = true - entry({"admin", "network", "mwan", "configuration", "member"}, + entry({"admin", "network", "mwan", "member"}, arcombine(cbi("mwan/member"), cbi("mwan/memberconfig")), _("Members"), 20).leaf = true - entry({"admin", "network", "mwan", "configuration", "policy"}, + entry({"admin", "network", "mwan", "policy"}, arcombine(cbi("mwan/policy"), cbi("mwan/policyconfig")), _("Policies"), 30).leaf = true - entry({"admin", "network", "mwan", "configuration", "rule"}, + entry({"admin", "network", "mwan", "rule"}, arcombine(cbi("mwan/rule"), cbi("mwan/ruleconfig")), _("Rules"), 40).leaf = true - entry({"admin", "network", "mwan", "configuration", "notify"}, + entry({"admin", "network", "mwan", "notify"}, cbi("mwan/notify"), _("Notification"), 50).leaf = true end |