From b618361bf1c7ea160f3e0ef18aa8f409f7a21eff Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 10 Oct 2008 21:52:22 +0000 Subject: * luci/libs/cbi: implement file browse fields * luci/modules/admin-full: add file browse controller --- .../luasrc/controller/admin/filebrowser.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 modules/admin-full/luasrc/controller/admin/filebrowser.lua (limited to 'modules/admin-full/luasrc/controller') 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 0000000000..d83139fd70 --- /dev/null +++ b/modules/admin-full/luasrc/controller/admin/filebrowser.lua @@ -0,0 +1,20 @@ +--[[ +LuCI - Lua Configuration Interface + +Copyright 2008 Steven Barth +Copyright 2008 Jo-Philipp Wich + +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 -- cgit v1.2.3