diff options
Diffstat (limited to 'dansguardian-advanced-html.lsp')
-rw-r--r-- | dansguardian-advanced-html.lsp | 27 |
1 files changed, 14 insertions, 13 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> <? |