luci/modules/admin-core/luasrc/controller/admin/index.lua
Steven Barth d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00

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