From: Stephen Cuka <stephen@firemypi.org>
To: development@lists.ipfire.org
Subject: [PATCH] Add button spacing on 'Firewall/Firewall Groups' page.
Date: Sun, 02 Mar 2025 09:26:14 +0000 [thread overview]
Message-ID: <20250227085438.244958-1-stephen@firemypi.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2127 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(-)
mode change 100644 => 100755 html/cgi-bin/fwhosts.cgi
diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi
old mode 100644
new mode 100755
index d6be6c40e..d29940b8d
--- 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
next reply other threads:[~2025-03-02 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-02 9:26 Stephen Cuka [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-02 9:26 Stephen Cuka
2025-03-05 11:56 ` Michael Tremer
[not found] ` <82aba8d9-5fa2-4ece-bec0-b1068ac10fc8@firemypi.org>
2025-03-06 10:40 ` Michael Tremer
2025-03-02 9:26 Stephen Cuka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250227085438.244958-1-stephen@firemypi.org \
--to=stephen@firemypi.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox