diff options
-rw-r--r-- | dansguardian-advanced-html.lsp | 27 | ||||
-rw-r--r-- | dansguardian-plain-html.lsp | 19 |
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> |