From df0656fdf7cff7cb127c11b6284efc108825e36f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 14 Mar 2008 10:46:35 +0000 Subject: [PATCH] Added initial index page --- src/ffluci/controller/public/index.lua | 2 ++ src/ffluci/view/index/index.htm | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 src/ffluci/controller/public/index.lua create mode 100644 src/ffluci/view/index/index.htm diff --git a/src/ffluci/controller/public/index.lua b/src/ffluci/controller/public/index.lua new file mode 100644 index 000000000..9ca70f56c --- /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 000000000..a18613286 --- /dev/null +++ b/src/ffluci/view/index/index.htm @@ -0,0 +1,6 @@ +<%+header%> +

<%:hello Hallo!%>

+

<%:welcome1 Dies ist der Funknetzknoten %> +<%=require("ffluci.sys").hostname()%>!

+

ToDo: Intelligenter Einleitungstext

+<%+footer%> \ No newline at end of file -- 2.25.1