add some indirection around make targets of module.mk, so you can combine it more...
[project/luci.git] / modules / admin-core / src / controller / admin / index.lua
1 module("luci.controller.admin.index", package.seeall)
2
3 function index()
4 local root = node()
5 if not root.target then
6 root.target = alias("admin")
7 end
8
9 local page = node("admin")
10 page.target = alias("admin", "index")
11 page.title = "Administration"
12 page.order = 10
13
14 local page = node("admin", "index")
15 page.target = template("admin_index/index")
16 page.title = "Übersicht"
17 page.order = 10
18
19 local page = node("admin", "index", "luci")
20 page.target = cbi("admin_index/luci")
21 page.title = "Oberfläche"
22
23
24 end