summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/wifi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/wifi.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/wifi.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/wifi.lua b/modules/admin-full/luasrc/controller/admin/wifi.lua
new file mode 100644
index 000000000..4bef0b7a5
--- /dev/null
+++ b/modules/admin-full/luasrc/controller/admin/wifi.lua
@@ -0,0 +1,34 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2008 Steven Barth <steven@midlink.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+]]--
+module("luci.controller.admin.wifi", package.seeall)
+
+function index()
+ luci.i18n.loadc("admin-core")
+ local i18n = luci.i18n.translate
+
+ local page = node("admin", "wifi")
+ page.target = template("admin_wifi/index")
+ page.title = i18n("wifi", "Drahtlos")
+ page.order = 60
+
+ local page = node("admin", "wifi", "devices")
+ page.target = cbi("admin_wifi/devices")
+ page.title = i18n("devices", "Geräte")
+ page.order = 10
+
+ local page = node("admin", "wifi", "networks")
+ page.target = cbi("admin_wifi/networks")
+ page.title = i18n("networks", "Netze")
+ page.order = 20
+end \ No newline at end of file