* [PATCH] fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page.
@ 2025-03-02 9:26 Stephen Cuka
0 siblings, 0 replies; only message in thread
From: Stephen Cuka @ 2025-03-02 9:26 UTC (permalink / raw)
To: development
[-- Attachment #1: Type: text/plain, Size: 2044 bytes --]
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(a)firemypi.org>
---
html/cgi-bin/fwhosts.cgi | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi
index d6be6c40e..d29940b8d 100644
--- a/html/cgi-bin/fwhosts.cgi
+++ b/html/cgi-bin/fwhosts.cgi
@@ -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();
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-02 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-02 9:26 [PATCH] fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page Stephen Cuka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox