summaryrefslogtreecommitdiffstats
path: root/squid-advanced-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'squid-advanced-html.lsp')
-rw-r--r--squid-advanced-html.lsp25
1 files changed, 14 insertions, 11 deletions
diff --git a/squid-advanced-html.lsp b/squid-advanced-html.lsp
index 5366eac..328680e 100644
--- a/squid-advanced-html.lsp
+++ b/squid-advanced-html.lsp
@@ -14,18 +14,24 @@
<h1>Web Proxy Configuration</h1>
<p>
<dl>
-<dt>
- <div class="attention">WARNING:</div><br>
+<dt>Warning</dt>
+<dd class="attention">
Modifying the web proxy configuration file is generally not necessary.
You must be familiar with the configuration file before proceeding.
-</dt>
+</dd>
</dl>
</p>
+<p></p>
<h2>Status</h2>
<form action="" method="POST">
<dl>
-<dt>squid is: <? io.write( service.status ) ?> </dt>
+<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 files for the service are changed. However, the changes will not be
+<i>applied</i> until you restart the service.</dd>
+<dt>Daemon control</dt>
<dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?>>
<input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?>>
<input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?>></dd>
@@ -36,16 +42,13 @@
<pre class="attention"><? io.write( service.message ) ?></pre>
</p>
-<p>
-This process runs as a service. When you make and save changes, the configuration
-files for the service are changed. However, the changes will not be <i>applied</i>
-until you restart the service.
-</p>
-
<h2>Configuration</h2>
<form action="" method="POST">
<textarea name="config"><? io.write( service.config ) ?></textarea>
-
+<p></p>
<h3>Save Changes</h3>
+<dl>
<dt>Save the contents of the box above</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd>
+</dl>
+<p></p>
</form>