projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modules/admin-full: remove dhcp network page and move leases there
[project/luci.git]
/
modules
/
admin-full
/
luasrc
/
controller
/
admin
/
network.lua
diff --git
a/modules/admin-full/luasrc/controller/admin/network.lua
b/modules/admin-full/luasrc/controller/admin/network.lua
index
590b8f0
..
df2a4c4
100644
(file)
--- a/
modules/admin-full/luasrc/controller/admin/network.lua
+++ b/
modules/admin-full/luasrc/controller/admin/network.lua
@@
-57,17
+57,10
@@
function index()
end
)
end
)
- local page = node("admin", "network", "dhcp")
- page.target = cbi("admin_network/dhcp")
- page.title =
"DHCP"
+ local page = node("admin", "network", "dhcp
leases
")
+ page.target = cbi("admin_network/dhcp
leases
")
+ page.title =
i18n("DHCP Leases")
page.order = 30
page.order = 30
- page.subindex = true
-
- entry(
- {"admin", "network", "dhcp", "leases"},
- cbi("admin_network/dhcpleases"),
- i18n("Leases")
- )
local page = node("admin", "network", "hosts")
page.target = cbi("admin_network/hosts")
local page = node("admin", "network", "hosts")
page.target = cbi("admin_network/hosts")