summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-10 21:52:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-10 21:52:22 +0000
commitb618361bf1c7ea160f3e0ef18aa8f409f7a21eff (patch)
tree2765d22f35d710e806be8a23f7f5efdad9100949 /modules/admin-full
parent720295d973b44cdad4cd4a0e0b0b0f7f79ff6c3a (diff)
* luci/libs/cbi: implement file browse fields
* luci/modules/admin-full: add file browse controller
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/controller/admin/filebrowser.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/filebrowser.lua b/modules/admin-full/luasrc/controller/admin/filebrowser.lua
new file mode 100644
index 000000000..d83139fd7
--- /dev/null
+++ b/modules/admin-full/luasrc/controller/admin/filebrowser.lua
@@ -0,0 +1,20 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2008 Steven Barth <steven@midlink.org>
+Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+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.filebrowser", package.seeall)
+
+function index()
+ entry( {"admin", "filebrowser"}, template("cbi/filebrowser") ).leaf = true
+end