summaryrefslogtreecommitdiffstats
path: root/quagga-status-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'quagga-status-html.lsp')
l---------[-rw-r--r--]quagga-status-html.lsp39
1 files changed, 1 insertions, 38 deletions
diff --git a/quagga-status-html.lsp b/quagga-status-html.lsp
index 6f882d9..b2f8480 100644..120000
--- a/quagga-status-html.lsp
+++ b/quagga-status-html.lsp
@@ -1,38 +1 @@
-<? local form = ...
-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>")
---]]
-?>
-
-<H1>SYSTEM INFO</H1>
-<DL>
-<?
-local myform = form.status
-local tags = { "status", "version", "autostart", }
-displayinfo(myform,tags,"viewonly")
-?>
-</DL>
-
-<H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2>
-<DL>
-<?
-local tags ={ "bgpstats", "iproute", }
-for k,v in pairs(tags) do
- local myform = form.status[v]
- if (myform) then
- io.write("\t<DT")
- if (myform.errtxt) then io.write(" class='error'") end
- io.write(">" .. myform.label .. "</DT>\n")
- io.write("\t\t<DD>\n")
- io.write("\t\t<PRE>"..myform.value.."</PRE>\n")
- io.write("\t\t</DD>\n")
- end
-end
-?>
-
-</DL>
+../status-html.lsp \ No newline at end of file