summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/controller/admin/index.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-03-02 21:52:58 +0000
commit3f5de3273c9e103b4909802e339db06fe0b53312 (patch)
tree793ef66c9456665f7b472e214d79b1078fccebe8 /src/ffluci/controller/admin/index.lua
* new project: ff-luci - Freifunk Lua Configuration Interface
Diffstat (limited to 'src/ffluci/controller/admin/index.lua')
-rw-r--r--src/ffluci/controller/admin/index.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ffluci/controller/admin/index.lua b/src/ffluci/controller/admin/index.lua
new file mode 100644
index 0000000000..9aec94c867
--- /dev/null
+++ b/src/ffluci/controller/admin/index.lua
@@ -0,0 +1,15 @@
+module(..., package.seeall)
+
+function dispatcher(request)
+ require("ffluci.template").render("header")
+ print("Hello there, Mr. Administrator")
+ require("ffluci.template").render("footer")
+end
+
+menu = {
+ descr = "Administrative",
+ order = 10,
+ entries = {
+ {action = "index", descr = "Hello"}
+ }
+} \ No newline at end of file