diff options
author | Mike Mason <ms13sp@gmail.com> | 2008-11-03 15:56:43 +0000 |
---|---|---|
committer | Mike Mason <ms13sp@gmail.com> | 2008-11-03 15:56:43 +0000 |
commit | 81b9907f5e0b372af29769e3aa569aa92a9661c0 (patch) | |
tree | 2511df0d0e40a39d23a50788d3155fe197db0311 /dnsmasq-config-html.lsp | |
download | acf-dnsmasq-81b9907f5e0b372af29769e3aa569aa92a9661c0.tar.bz2 acf-dnsmasq-81b9907f5e0b372af29769e3aa569aa92a9661c0.tar.xz |
DNSmasq added. Needs a little more work
git-svn-id: svn://svn.alpinelinux.org/acf/dnsmasq/trunk@1573 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dnsmasq-config-html.lsp')
-rw-r--r-- | dnsmasq-config-html.lsp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dnsmasq-config-html.lsp b/dnsmasq-config-html.lsp new file mode 100644 index 0000000..9272f40 --- /dev/null +++ b/dnsmasq-config-html.lsp @@ -0,0 +1,26 @@ +<% local form, viewlibrary, page_info, session = ... +require("viewfunctions") +%> +<% +--[[ DEBUG INFORMATION +io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>") +io.write(html.cfe_unpack(form)) +io.write("</span>") +--]] +%> + +<% displaycommandresults({"startstop"}, session) %> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("status") +end %> + +<H1>Config</H1> +<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + displayform(form) +%> + +<% if viewlibrary and viewlibrary.dispatch_component then + viewlibrary.dispatch_component("startstop") +end %> |