From e7af2148eb4a5966d4ab9f334e724db0d2c34896 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 11 Jan 2018 13:11:31 +0100 Subject: [PATCH] luci-app-mwan3: update entry naming udpate entry nameing Signed-off-by: Florian Eckert --- applications/luci-app-mwan3/luasrc/controller/mwan3.lua | 7 +++---- .../luasrc/view/mwan/advanced_diagnostics.htm | 4 ++-- .../luasrc/view/mwan/advanced_troubleshooting.htm | 4 ++-- .../luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm | 4 ++-- .../luci-app-mwan3/luasrc/view/mwan/overview_interface.htm | 4 ++-- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 2261815221..09469bc077 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -10,14 +10,13 @@ function index() return end - entry({"admin", "status", "mwan"}, - alias("admin", "status", "mwan", "overview_interface"), + alias("admin", "status", "mwan", "overview"), _("Load Balancing"), 600) - entry({"admin", "status", "mwan", "overview_interface"}, + entry({"admin", "status", "mwan", "overview"}, template("mwan/overview_interface")) - entry({"admin", "status", "mwan", "overview_detailed"}, + entry({"admin", "status", "mwan", "detail"}, template("mwan/overview_detailed")) entry({"admin", "status", "mwan", "diagnostics"}, template("mwan/advanced_diagnostics")) diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm index 74fe6743d7..19433f4d9f 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm @@ -1,8 +1,8 @@ <%+header%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm index 06c7d38690..483e289493 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm @@ -1,8 +1,8 @@ <%+header%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm index e0e212a88b..0ff2824ed2 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm @@ -1,8 +1,8 @@ <%+header%> diff --git a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm b/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm index 117c185335..c7039f7a61 100644 --- a/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm +++ b/applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm @@ -1,8 +1,8 @@ <%+header%> -- 2.30.2