summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-14 10:46:35 +0000
committerSteven Barth <steven@midlink.org>2008-03-14 10:46:35 +0000
commitdf0656fdf7cff7cb127c11b6284efc108825e36f (patch)
tree02b3c417cc361cd067e05fec7370be7648e01d55 /src/ffluci
parent08a4f19ded0d31272545a9612023d72d0cbd3d6c (diff)
Added initial index page
Diffstat (limited to 'src/ffluci')
-rw-r--r--src/ffluci/controller/public/index.lua2
-rw-r--r--src/ffluci/view/index/index.htm6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ffluci/controller/public/index.lua b/src/ffluci/controller/public/index.lua
new file mode 100644
index 0000000000..9ca70f56c1
--- /dev/null
+++ b/src/ffluci/controller/public/index.lua
@@ -0,0 +1,2 @@
+module(..., package.seeall)
+dispatcher = require("ffluci.dispatcher").simpleview \ No newline at end of file
diff --git a/src/ffluci/view/index/index.htm b/src/ffluci/view/index/index.htm
new file mode 100644
index 0000000000..a186132861
--- /dev/null
+++ b/src/ffluci/view/index/index.htm
@@ -0,0 +1,6 @@
+<%+header%>
+<h1><%:hello Hallo!%></h1>
+<p><%:welcome1 Dies ist der Funknetzknoten %>
+<em><%=require("ffluci.sys").hostname()%></em>!</p>
+<p><em>ToDo: Intelligenter Einleitungstext</em></p>
+<%+footer%> \ No newline at end of file