diff options
Diffstat (limited to 'dansguardian-plain-html.lsp')
-rw-r--r-- | dansguardian-plain-html.lsp | 19 |
1 files changed, 9 insertions, 10 deletions
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> |