Added initial index page
authorSteven Barth <steven@midlink.org>
Fri, 14 Mar 2008 10:46:35 +0000 (10:46 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 14 Mar 2008 10:46:35 +0000 (10:46 +0000)
src/ffluci/controller/public/index.lua [new file with mode: 0644]
src/ffluci/view/index/index.htm [new file with mode: 0644]

diff --git a/src/ffluci/controller/public/index.lua b/src/ffluci/controller/public/index.lua
new file mode 100644 (file)
index 0000000..9ca70f5
--- /dev/null
@@ -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 (file)
index 0000000..a186132
--- /dev/null
@@ -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