Author: Felix Fietkau <nbd@openwrt.org> Date: Tue May 27 13:56:12 2008 +0200 rename src/ to luasrc/
24 lines
No EOL
528 B
Lua
24 lines
No EOL
528 B
Lua
module("luci.controller.admin.index", package.seeall)
|
|
|
|
function index()
|
|
local root = node()
|
|
if not root.target then
|
|
root.target = alias("admin")
|
|
end
|
|
|
|
local page = node("admin")
|
|
page.target = alias("admin", "index")
|
|
page.title = "Administration"
|
|
page.order = 10
|
|
|
|
local page = node("admin", "index")
|
|
page.target = template("admin_index/index")
|
|
page.title = "Übersicht"
|
|
page.order = 10
|
|
|
|
local page = node("admin", "index", "luci")
|
|
page.target = cbi("admin_index/luci")
|
|
page.title = "Oberfläche"
|
|
|
|
|
|
end |