summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-08 16:23:17 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-08 16:23:17 +0000
commitbfc6e26dccfc3093d148ee80e31fc9d06ee989c3 (patch)
tree81fa84bcfd20edef15e126c822b5d3cc617d2d5a
parent182a686cb1886ac7e3e3dc1dcd9f9922af0bcf54 (diff)
downloadacf-squid-bfc6e26dccfc3093d148ee80e31fc9d06ee989c3.tar.bz2
acf-squid-bfc6e26dccfc3093d148ee80e31fc9d06ee989c3.tar.xz
more gui changes
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@513 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--dansguardian-advanced-html.lsp27
-rw-r--r--dansguardian-plain-html.lsp19
2 files changed, 23 insertions, 23 deletions
diff --git a/dansguardian-advanced-html.lsp b/dansguardian-advanced-html.lsp
index 5fd54ee..9929700 100644
--- a/dansguardian-advanced-html.lsp
+++ b/dansguardian-advanced-html.lsp
@@ -27,26 +27,27 @@ generally not necessary. DansGuardian must be used in combination with a
"smart proxy", such as squid.
<b>This page lets you manually configure the filter rule files for DansGuardian.</b><br><br>
-<h1>Status</h1>
+<h2>Status</h2>
<form action="" method="POST">
-<table><tr>
-<td>dansguardian 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>dansguardian 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>
+<p class="error"><? io.write( service.message ) ?></p>
</form>
-<pre style="color: #ff2020;"><? io.write( service.message ) ?></pre><br>
-
+<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><br>
+until you restart the service.
+</p>
-<h1>Configuration</h1>
+<h2>Configuration</h2>
<pre style="color: #ff2020;"><? io.write( service.cfgerr ) ?></pre><br>
-<h2>Files</h2>
-Click on one of the files to edit it.<br><br>
+<h3>Files</h3>
+<p>
+Click on one of the files to edit it.
+</p>
<table>
<?
diff --git a/dansguardian-plain-html.lsp b/dansguardian-plain-html.lsp
index fa79879..184efaf 100644
--- a/dansguardian-plain-html.lsp
+++ b/dansguardian-plain-html.lsp
@@ -31,21 +31,20 @@
</tr>
</table><br>
-<h1>Status</h1>
+<h2>Status</h2>
<form action="" method="POST">
-<table><tr>
-<td>dansguardian 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>dansguardian 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>
+<p class="error"><? io.write( service.message ) ?></p>
-<pre style="color: #ff2020;"><? io.write( service.message ) ?></pre><br>
-
+<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><br>
+until you restart the service.
+</p>
<form action="" method="POST">
<h1>Configuration</h1>