diff options
Diffstat (limited to 'squid-authentication-html.lsp')
-rw-r--r-- | squid-authentication-html.lsp | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/squid-authentication-html.lsp b/squid-authentication-html.lsp index 1c693f0..6f5cbd5 100644 --- a/squid-authentication-html.lsp +++ b/squid-authentication-html.lsp @@ -19,46 +19,54 @@ ?> <h1>Web Proxy</h1> +<p> Squid is a web proxy server. It makes web requests in behalf of the client, and inspecting the returned and optionally caches that content so that the next time a client request is made, the content can be served from local disk. This can make web surfing faster. Squid can also forward its requests on to a content filter, -such as DansGuardian.<br><br> -This page lets you modify the authentication scheme of squid.<br><br> +such as DansGuardian. +</p> +<p> +This page lets you modify the authentication scheme of squid. +</p> -<h1>Status</h1> +<h2>Status</h2> <form action="" method="POST"> -<table><tr> -<td>squid is: <b><? io.write( service.status ) ?> </b> </td> -<td><input type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?> style="width:100px"></td> -<td><input type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?> style="width:100px"></td> -<td><input type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?> style="width:100px"></td> -</tr></table> +<dt>squid is: <? io.write( service.status ) ?></dt> +<dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?>> +<input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?>> +<input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?>></dd> </form> -<pre style="color: #ff2020;"><? io.write( service.message ) ?></pre><br> +<p> +<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.<br><br> +until you restart the service. +</p> <form action="" method="POST"> -<h1>Configuration</h1> +<h2>Configuration</h2> -<h2>Authentication Scheme</h2> -Choose the desired authentication mechanisms and their order.<br><br> +<h3>Authentication Scheme</h3> +<p> +Choose the desired authentication mechanisms and their order. +</p> <input type="hidden" name="authmethod" value="<? io.write( config.authmethod.value ) ?>"> -<table> +<table style="width: 50px"> <tr><td> <table><tr><td> - <input type="submit" value="^"> + <input class="submit" type="submit" value="^"> </td></tr><tr><td> - <input type="submit" value="v"> + <input class="submit" type="submit" value="v"> </td></tr></table> </td><td> <b>Active</b><br> - <select name="tmpauth" size="5" style="width:150px;"> + <select class="select" name="tmpauth" size="5" style="width:150px;"> <? local lap = 1 local method = config.authmethod.value @@ -77,10 +85,10 @@ Choose the desired authentication mechanisms and their order.<br><br> ?> </select> </td><td> - <table border="0"><tr><td> - <input type="submit" value=" << "> + <table><tr><td> + <input class="submit" type="submit" name="inout" value=" << "> </td></tr><tr><td> - <input type="submit" value=" >> "> + <input class="submit" type="submit" name="inout" value=" >> "> </td></tr></table> </td><td> <b>Selectable</b><br> @@ -100,6 +108,7 @@ Choose the desired authentication mechanisms and their order.<br><br> </td></tr> </table><br> -<input type="submit" name="cmd" value="save" style="width:100px"><br> -</form><br> +<h3>Save Changes</h3> +<dt>Save Authentication Scheme</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd> +</form> |