summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-18 11:10:50 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-18 11:10:50 +0000
commit152e61b78057340ecb19bf13214c9d08ec9a37ec (patch)
treef1a005e47194e5d287ba4250238cfe307f54e7b9
parentc17a9787f0546687abf12c4d265ea7f914178218 (diff)
downloadacf-squid-152e61b78057340ecb19bf13214c9d08ec9a37ec.tar.bz2
acf-squid-152e61b78057340ecb19bf13214c9d08ec9a37ec.tar.xz
updated the basic view to contain the <DL></DL> tags
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@618 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--squid-basic-html.lsp16
1 files changed, 16 insertions, 0 deletions
diff --git a/squid-basic-html.lsp b/squid-basic-html.lsp
index 2d5fbac..127a03b 100644
--- a/squid-basic-html.lsp
+++ b/squid-basic-html.lsp
@@ -31,6 +31,7 @@ such as DansGuardian.</p>
<h2>Status</h2>
<form action="" method="POST">
+<dl>
<dt>Program version</dt><DD><? io.write( form.info.version.value ) ?></DD>
<dt>Process status</dt><DD><? io.write( form.info.status.value ) ?></DD>
<DT>Process information</DT><DD>This process runs as a service. When you make and save changes, the configuration
@@ -39,18 +40,23 @@ until you restart the service.</DD>
<DT>Daemon control</DT><dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?> style="width:100px">
<input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?> style="width:100px">
<input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?> style="width:100px"></dd>
+</dl>
<p class="error"><? io.write( service.message ) ?></p>
</form>
<h2>Configuration</h2>
<form action="" method="POST">
+<dl>
<DT>Config status</DT><DD class="error"><? io.write(service.error ) ?></DD>
+</dl>
<h3>Primary Listener service</h3>
<p>These parameters define the interface and port that the web proxy uses to accept connections.</p>
+<dl>
<dt>proxyip</dt><dd><input class="text" type="text" name="proxyip" value="<? io.write( config.proxyip.value ) ?>"></dd>
<dt>proxyport</dt><dd><input class="text" type="text" name="proxyport" value="<? io.write( config.proxyport.value ) ?>"></dd>
+</dl>
<h3>Filter Service</h3>
<p>These parameters define the ip address and port that the web proxy forwards requests to.
@@ -60,23 +66,29 @@ If you want this web proxy to handle retrieving the content, then leave these bl
for filtering. Anything not matching the regular expression filter will bypass the content filter.
It is safe to leave this at the default settings.</p>
+<dl>
<dt>filterip</dt><dd><input class="text" type="text" name="filterip" value="<? io.write( config.filterip.value ) ?>"</dd>
<dt>filterport</dt><dd><input class="text" type="text" name="filterport" value="<? io.write( config.filterport.value ) ?>"></dd>
<dt>FilterRegex</dt><dd><input class="text" type="text" name="filterregex" value="<? io.write( config.filterregex.value ) ?>"></dd>
+</dl>
<h3>Access Logs</h3>
<p>This determines if the visited sites are logged or not.</p>
+<dl>
<dt>Log visited sites</dt>
<dd><input type="radio" name="accesslog" value="no"<? ifthen( config.accesslog.value, "no", " checked" ); ?>> No access log
<input type="radio" name="accesslog" value="yes"<? ifthen( config.accesslog.value, "yes", " checked" ); ?>> Use access log</dd>
+</dl>
<h3>Disk Cache Parameters</h3>
<p>This determines if the disk is used for caching. This can speed up web surfing when many clients are accessing the Internet,
but it requires a local hard disk.</p>
+<dl>
<dt>Enable disk caching</dt>
<dd><input class="radio" type="radio" name="diskcache" value="no"<? ifthen( config.diskcache.value, "no", " checked" ); ?>>No
<input class="radio" type="radio" name="diskcache" value="yes"<? ifthen( config.diskcache.value, "yes", " checked" ); ?>>Yes</dd>
+</dl>
<h3>Allowed Ports</h3>
<p>Web servers typically run on port 80; SSL (https) servers typically run on port 443. Some web
@@ -85,9 +97,13 @@ servers run on other ports as well. These fields list all ports and port ranges
<p>It is safe to leave these values at their default values.</p>
+<dl>
<dt>Safe_ports</dt><dd><input class="text" type="text" name="safeports" value="<? io.write( config.safeports.value ) ?>" style="width:400px;"></dd>
<dt>SSL_ports</dt><dd><input class="text" type="text" name="sslports" value="<? io.write( config.sslports.value ) ?>" style="width:400px;"></dd>
+</dl>
<h2>Save changes</h2>
+<dl>
<DT>Save above changes</DT><DD><input class="submit" type="submit" name="cmd" value="save"></DD>
+</dl>
</form>