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.lsp44
1 files changed, 21 insertions, 23 deletions
diff --git a/squid-advanced-html.lsp b/squid-advanced-html.lsp
index 108f3f1..f65a19b 100644
--- a/squid-advanced-html.lsp
+++ b/squid-advanced-html.lsp
@@ -12,38 +12,36 @@
?>
<h1>Web Proxy Configuration</h1>
-<table border="2">
- <tr>
- <td style="width:80%">
- <center>
- <div style="color: #ff2020; font-weight: bold;">WARNING:</div><br>
- Modifying the web proxy configuration file is generally not necessary.
- You must be familiar with the configuration file before proceeding.
- </center>
- </td>
- </tr>
-</table>
+<p>
+<dt>
+ <div style="color: #ff2020; font-weight: bold;">WARNING:</div><br>
+ Modifying the web proxy configuration file is generally not necessary.
+ You must be familiar with the configuration file before proceeding.
+</dt>
+</p>
<h2>Status</h2>
<form action="" method="POST">
-<table><tr>
-<td>squid is: <b><? io.write( service.status ) ?> </b> </td>
-<td><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?> style="width:100px"></td>
-<td><input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?> style="width:100px"></td>
-<td><input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?> style="width:100px"></td>
-</tr></table>
+<dt>squid is: <? io.write( service.status ) ?> </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>
</form>
-<pre style="color: #ff2020;"><? io.write( service.message ) ?></pre><br>
+<p>
+<pre style="color: #ff2020;"><? 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.<br><br>
+until you restart the service.
+</p>
<h2>Configuration</h2>
<form action="" method="POST">
-<table>
-<tr><td><textarea name="config" style="width:100%;"><? io.write( service.config ) ?></textarea></td></tr>
-<tr><td><input class="submit" type="submit" name="cmd" value="save" style="width:100%;"></td></tr>
-</table>
+<textarea name="config" style="width:100%;"><? io.write( service.config ) ?></textarea>
+
+<h3>Save Changes</h3>
+<dt>Save the contents of the box above</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd>
</form>