* Preparing about page
[project/luci.git] / modules / admin-core / luasrc / 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         entry({"about"}, template("about"))
10         
11         local page  = node("admin")
12         page.target = alias("admin", "index")
13         page.title  = "Administration"
14         page.order  = 10
15         
16         local page  = node("admin", "index")
17         page.target = template("admin_index/index")
18         page.title  = "Übersicht"
19         page.order  = 10
20         
21         local page  = node("admin", "index", "luci")
22         page.target = cbi("admin_index/luci")
23         page.title  = "Oberfläche"
24         
25         
26 end