summaryrefslogtreecommitdiffstats
path: root/shorewall-check-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-check-html.lsp')
-rw-r--r--shorewall-check-html.lsp20
1 files changed, 9 insertions, 11 deletions
diff --git a/shorewall-check-html.lsp b/shorewall-check-html.lsp
index 7cfe4bf..f970a97 100644
--- a/shorewall-check-html.lsp
+++ b/shorewall-check-html.lsp
@@ -1,7 +1,5 @@
-<? local form = ...
+<? local form, viewlibrary = ...
require("viewfunctions")
-?>
-<?
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(view))
@@ -9,14 +7,9 @@ io.write("</span>")
--]]
?>
-<H1>SYSTEM INFO</H1>
-<DL>
-<?
-local myform = form.status
-local tags = { "status", "version", "autostart", }
-displayinfo(myform,tags,"viewonly")
-?>
-</DL>
+<? if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("statusbasic")
+end ?>
<H1>CONFIGURATION</H1>
<? local myform = form.config ?>
@@ -38,3 +31,8 @@ if (myform) then
end
?>
</form>
+
+<? if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("startstop")
+end ?>
+