diff options
Diffstat (limited to 'dansguardian-general-html.lsp')
-rw-r--r-- | dansguardian-general-html.lsp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/dansguardian-general-html.lsp b/dansguardian-general-html.lsp index 2dc3dcd..6379a8d 100644 --- a/dansguardian-general-html.lsp +++ b/dansguardian-general-html.lsp @@ -6,7 +6,7 @@ local srv1fill = "" local srv2fill = "disabled" - if service.status == "running" then + if form.info.status.value == "running" then srv1fill = "disabled" srv2fill = "" end @@ -27,12 +27,17 @@ identify harmful content. This means that updated "blacklists" are generally not necessary. DansGuardian must be used in combination with a "smart proxy", such as squid. </p><p> -<b>This page defines the basic network configuration settings for DansGuardian.</b> +This page defines the basic network configuration settings for DansGuardian. </p> <h2>Status</h2> +<dt>Program version</dt><dd><? io.write( form.info.version.value ) ?></dd> +<dt>Process status</dt><dd><? io.write( form.info.status.value ) ?></dd> +<dt>Process information</dt><dd>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 applied until you restart the service.</dd> <form action="" method="POST"> -<dt>dansguardian is: <? io.write( service.status ) ?> </dt> +<dt>Daemon control</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> @@ -42,15 +47,9 @@ generally not necessary. DansGuardian must be used in combination with a <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. -</p> - <form action="" method="POST"> <h2>Configuration</h2> -<pre style="color: #ff2020;"><? io.write( service.cfgerr ) ?></pre><br> +<pre style="color: #ff2020;"><? io.write( service.cfgerr ) ?></pre> <p> These parameters define the interface and port that Dansguardian uses to accept connections. </p> |