summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-20 07:59:58 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-20 07:59:58 +0000
commit59d27c84fd89e3b80079411e71c2198ecf4ff46f (patch)
treed5687a4bca6f2859b7ba6bbb0b52de7f989e04a5
parent3f7c448060b852c4fdde1d9698dbde5794d5c980 (diff)
downloadacf-dhcp-59d27c84fd89e3b80079411e71c2198ecf4ff46f.tar.bz2
acf-dhcp-59d27c84fd89e3b80079411e71c2198ecf4ff46f.tar.xz
/acf/dhcp: added help file 'action'
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@341 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--Makefile1
-rw-r--r--dhcp-controller.lua5
-rw-r--r--dhcp-help-html.lsp22
3 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a229b23..15e1508 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ VERSION=1.0_alpha1
APP_DIST=dhcp-controller.lua \
dhcp-editnet-html.lsp \
+ dhcp-help-html.lsp \
dhcp-editspc-html.lsp \
dhcp-home-html.lsp \
dhcp-createnet-html.lsp \
diff --git a/dhcp-controller.lua b/dhcp-controller.lua
index c6d2c83..bb85950 100644
--- a/dhcp-controller.lua
+++ b/dhcp-controller.lua
@@ -49,6 +49,11 @@ dep = function( self )
return ( cfe ({ msg = msg }) )
end
+help = function( self )
+
+ return ( cfe ({ option = "" }) )
+end
+
delnet = function( self )
local net = {}
diff --git a/dhcp-help-html.lsp b/dhcp-help-html.lsp
new file mode 100644
index 0000000..31a458d
--- /dev/null
+++ b/dhcp-help-html.lsp
@@ -0,0 +1,22 @@
+<?
+ local form = ...
+?>
+<h1>DHCPd - Help</h1>
+<h2>DHCPd - About</h2>
+The acf-dhcp module serves as configuration frontend for the
+isc-dhcp server.
+
+<h2>DHCPd - How to start</h2>
+<b>Step by Step</b><br>
+<ul>
+ <li>Edit 'Global Settings', fill in all mandatory fields</li>
+ <li>Add a new subnet by entering all neccessary fields or more if needed</li>
+ <li>If you want to add static/dynamic but specified hosts go to Edit Subnet</li>
+ <li>Generate Configuration File</li>
+ <li>Start service</li>
+</ul>
+
+<h2>DHCPd - Special Configurations</h2>
+
+<h2>DHCPd - FAQs</h2>
+