2008-05-22 14:04:03 +00:00
|
|
|
module("ffluci.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
|