summaryrefslogtreecommitdiffhomepage
path: root/modules/niu/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-10-28 17:38:09 +0000
committerSteven Barth <steven@midlink.org>2009-10-28 17:38:09 +0000
commit1e9b205464d0611db5fe7e036c3628ebe484c803 (patch)
treef4e02cd1907fc21b93594e0b0b077af8739e7ecf /modules/niu/luasrc/controller
parent9c22efeddbc4144f1bb015fa09d2f0946dc086e5 (diff)
More NIU
Diffstat (limited to 'modules/niu/luasrc/controller')
-rw-r--r--modules/niu/luasrc/controller/niu/network.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/niu/luasrc/controller/niu/network.lua b/modules/niu/luasrc/controller/niu/network.lua
index b17e6e760f..41da30a377 100644
--- a/modules/niu/luasrc/controller/niu/network.lua
+++ b/modules/niu/luasrc/controller/niu/network.lua
@@ -20,8 +20,14 @@ function index()
.dbtemplate = "niu/network"
entry({"niu", "network", "lan"},
- cbi("niu/network/lan", {on_success_to={"niu"}}), "Configure LAN")
+ cbi("niu/network/lan", {on_success_to={"niu"}}), "Configure LAN", 10)
entry({"niu", "network", "wan"},
- cbi("niu/network/wan", {on_success_to={"niu"}}), "Configure Internet")
+ cbi("niu/network/wan", {on_success_to={"niu"}}), "Configure Internet", 20)
+
+ entry({"niu", "network", "assign"}, cbi("niu/network/assign",
+ {on_success_to={"niu"}}), "Address Assignment", 30)
+
+ entry({"niu", "network", "routes"}, cbi("niu/network/routes",
+ {on_success_to={"niu"}}), "Custom Routing", 40)
end