projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OXYGEN #1: Added index-marks
[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 e3f80a1b1e0c1c976a6a3d22005415b73d46898f..778a70fb96b22b703c8f13103e67ca76d30e127e 100644
(file)
--- a/
modules/admin-full/luasrc/controller/admin/network.lua
+++ b/
modules/admin-full/luasrc/controller/admin/network.lua
@@
-22,6
+22,7
@@
function index()
page.target = alias("admin", "network", "network")
page.title = i18n("network")
page.order = 50
page.target = alias("admin", "network", "network")
page.title = i18n("network")
page.order = 50
+ page.index = true
local page = node("admin", "network", "vlan")
page.target = cbi("admin_network/vlan")
local page = node("admin", "network", "vlan")
page.target = cbi("admin_network/vlan")
@@
-33,6
+34,7
@@
function index()
page.title = i18n("wifi")
page.i18n = "wifi"
page.order = 15
page.title = i18n("wifi")
page.i18n = "wifi"
page.order = 15
+ page.subindex = true
uci:foreach("wireless", "wifi-device",
function (section)
local ifc = section[".name"]
uci:foreach("wireless", "wifi-device",
function (section)
local ifc = section[".name"]
@@
-51,6
+53,7
@@
function index()
page.target = cbi("admin_network/network")
page.title = i18n("interfaces", "Schnittstellen")
page.order = 10
page.target = cbi("admin_network/network")
page.title = i18n("interfaces", "Schnittstellen")
page.order = 10
+ page.subindex = true
uci:foreach("network", "interface",
function (section)
local ifc = section[".name"]
uci:foreach("network", "interface",
function (section)
local ifc = section[".name"]
@@
-70,6
+73,7
@@
function index()
page.target = cbi("admin_network/dhcp")
page.title = "DHCP"
page.order = 30
page.target = cbi("admin_network/dhcp")
page.title = "DHCP"
page.order = 30
+ page.subindex = true
entry(
{"admin", "network", "dhcp", "leases"},
entry(
{"admin", "network", "dhcp", "leases"},