]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page.
authorStephen Cuka <stephen@firemypi.org>
Thu, 27 Feb 2025 23:34:16 +0000 (16:34 -0700)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 12 Mar 2025 10:05:49 +0000 (10:05 +0000)
Add spacing between showmenu() buttons on Firewall/Firewall Groups page to improve the look of the page.

No changes to the functions of the page.

Signed-off-by: Stephen Cuka <stephen@firemypi.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/fwhosts.cgi

index d6be6c40e4fe342a96db5b0b3d92f1ef10f18d67..d29940b8dabe6ae8e61bb4bd1c65dba377fdb267 100644 (file)
@@ -1320,10 +1320,29 @@ sub showmenu {
        &Header::openbox('100%', 'left',);
        print "$Lang::tr{'fwhost welcome'}";
        print<<END;
-       <br><br><table border='0' width='100%'>
-       <tr><td><form method='post'><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newnet'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newhost'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newgrp'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newlocationgrp'}' ></form></td>
-       <td align='right'><form method='post'><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservice'}' ><input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservicegrp'}' ></form></td></tr>
-       <tr><td colspan='6'></td></tr></table>
+       <br><br>
+       <table border='0' width='100%'>
+               <tr>
+                       <td>
+                       <form method='post'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newnet'}'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newhost'}'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newgrp'}'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newlocationgrp'}'>
+                       </form>
+                       </td>
+                       <td align='right'>
+                       <form method='post'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservice'}'>
+                       <input type='submit' name='ACTION' value='$Lang::tr{'fwhost newservicegrp'}'>
+                       </form>
+                       </td>
+               </tr>
+               <tr>
+                       <td colspan='6'>
+                       </td>
+               </tr>
+       </table>
 END
        &Header::closebox();