diff options
-rw-r--r-- | squid-authentication-html.lsp | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/squid-authentication-html.lsp b/squid-authentication-html.lsp index 8a2d933..fcf8164 100644 --- a/squid-authentication-html.lsp +++ b/squid-authentication-html.lsp @@ -57,16 +57,19 @@ Choose the desired authentication mechanisms and their order. </p> <input type="hidden" name="authmethod" value="<? io.write( config.authmethod.value ) ?>"> -<table style="width: 50px"> -<tr><td> - <table><tr><td> - <input class="submit" type="submit" value="^"> - </td></tr><tr><td> - <input class="submit" type="submit" value="v"> - </td></tr></table> -</td><td> - <b>Active</b><br> - <select class="select" name="tmpauth" size="5" style="width:150px;"> +<table style="width:100px;"> +<tr> + <td valign="middle"> + <table> + <tr> + <td><input class="submit" type="submit" value="^"></td> + </tr><tr> + <td><input class="submit" type="submit" value="v"></td> + </tr> + </table> + </td><td> + <b>Active</b><br> + <select class="select" name="tmpauth" size="5" style="width:150px;"> <? local lap = 1 local method = config.authmethod.value @@ -83,16 +86,16 @@ Choose the desired authentication mechanisms and their order. end end ?> - </select> -</td><td> - <table><tr><td> - <input class="submit" type="submit" name="inout" value=" << "> - </td></tr><tr><td> - <input class="submit" type="submit" name="inout" value=" >> "> - </td></tr></table> -</td><td> - <b>Selectable</b><br> - <select name="tmpempty" size="5" style="width:150px;"> + </select> + </td><td> + <table><tr><td> + <input class="submit" type="submit" name="inout" value=" << "> + </td></tr><tr><td> + <input class="submit" type="submit" name="inout" value=" >> "> + </td></tr></table> + </td><td> + <b>Selectable</b><br> + <select name="tmpempty" size="5" style="width:150px;"> <? if string.match( config.authmethod.value, "D" ) == nil then io.write( "<option value=\"D\">Digest</option>\n" ) @@ -104,8 +107,9 @@ Choose the desired authentication mechanisms and their order. io.write( "<option value=\"B\">Basic</option>\n" ) end ?> - </select> -</td></tr> + </select> + </td> +</tr> </table><br> </form> |