From 3f5de3273c9e103b4909802e339db06fe0b53312 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 2 Mar 2008 21:52:58 +0000 Subject: * new project: ff-luci - Freifunk Lua Configuration Interface --- src/ffluci/controller/admin/index.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/ffluci/controller/admin/index.lua (limited to 'src/ffluci/controller/admin') 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 -- cgit v1.2.3