summaryrefslogtreecommitdiffstats
path: root/squid-status-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-05-07 15:11:42 +0000
committerMika Havela <mika.havela@gmail.com>2008-05-07 15:11:42 +0000
commit0e19fe4313b6ddd0e349fc627d7aa763a1a788d5 (patch)
tree153b8c40491c6ba6fadb783eb3e73b8828eab1ba /squid-status-html.lsp
parent064e8596773fef919fdd159788d1b69fd9df13e2 (diff)
downloadacf-squid-0e19fe4313b6ddd0e349fc627d7aa763a1a788d5.tar.bz2
acf-squid-0e19fe4313b6ddd0e349fc627d7aa763a1a788d5.tar.xz
Adding a status-tab and moving some information there (from the other pages).
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1110 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-status-html.lsp')
-rw-r--r--squid-status-html.lsp30
1 files changed, 30 insertions, 0 deletions
diff --git a/squid-status-html.lsp b/squid-status-html.lsp
new file mode 100644
index 0000000..806318f
--- /dev/null
+++ b/squid-status-html.lsp
@@ -0,0 +1,30 @@
+<? 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.info
+local tags = { "status", "version", "autostart", }
+displayinfo(myform,tags,"viewonly")
+?>
+</DL>
+
+<H2>General information</H2>
+<p>
+Squid is a web proxy server. It makes web requests in behalf of the client, and
+inspecting the returned and optionally caches that content so that the next time
+a client request is made, the content can be served from local disk. This can make
+web surfing faster. Squid can also forward its requests on to a content filter,
+such as DansGuardian.</p>
+
+