From patchwork Thu Feb 27 23:34:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Cuka X-Patchwork-Id: 8501 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Z5GmM35xrz3xSj for ; Sun, 2 Mar 2025 09:26:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Z5GmL4dhNz2Ny; Sun, 2 Mar 2025 09:26:42 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Z5GmL43qMz2yMv; Sun, 2 Mar 2025 09:26:42 +0000 (UTC) Received: by mail02.haj.ipfire.org (Postfix, from userid 109) id 4Z5Glp0rKvz347H; Sun, 2 Mar 2025 10:00:14 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Z3nky0x3Wz35ZK for ; Thu, 27 Feb 2025 23:35:22 +0000 (UTC) Received: from resqmta-a2p-658780.sys.comcast.net (resqmta-a2p-658780.sys.comcast.net [IPv6:2001:558:fd01:2bb4::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4Z3nkw3PvGzGG for ; Thu, 27 Feb 2025 23:35:20 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=jg8fHKFh; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd01:2bb4::5) smtp.mailfrom=stephen@firemypi.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1740699321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=CbvpMBXm0gHkWWOW+yO4KkZAw7h7ex4IUg4hkZhamQo=; b=Kxb0NkP3cY/QkomR8P4Cjihp/t/A0+ytX+q2JTqvrBCO7etjNVt+xt2lw/z8nFeNwGG5sO Huz23htDUbOqVuPvrfIELawWMwDW5RF0VESrBu0jaO82/XPADwSnCUl7jdI+MSNVCY8xlR NXCXufcBMs24uwp1xOPfmD4EzJFvkx22jv7Z4T5kSAifwU6sewZarXWK8E39r5Tkk43VOO B3XopdrS9lEIoA0wTkg0n4ZdoDhKfwIpeNHHU+0tYxmxaKLbohY3KipTcLSMT7AfF0FAEa ikb2lycb9FnXcdpmkNsd37bU9Ahu8ZDbMEOSAXqihC6iI/P+4tR2d36RSDf1xQ== ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1740699321; a=rsa-sha256; cv=none; b=ueTc4c/8YiYMP4OT+lt2LGNSCZ8jnYO6096gb4UhQXb0FMXIf5VHVR5wAZ9Io6BwjoMpiO ZcA8s9RnSfRVqVtr3AcxvZtz99TPSYjEhvdvGRISr2LHDIW8v3xn1QsVLeJO4BYRE08BG8 cTByb+gYDYlRoiweM4gC9U18PTukmNyxNHkLcJO/9s3JadRPpFJxQuW6pD5T/+t5tl835u 8yORrTMFR/r/PufJOte9iWMfDrC6EU+E0FMrUOlI2kRSipuvIrYBc64fH+BPTsvj3uk8yG Ho+0UtF4D4BImkoVk9e2EIProA9AaAJso09KSJvXuTwvd/Fo8/BwCES3w2KXsw== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=comcastmailservice.net header.s=20211018a header.b=jg8fHKFh; spf=none (mail01.ipfire.org: domain of stephen@firemypi.org has no SPF policy when checking 2001:558:fd01:2bb4::5) smtp.mailfrom=stephen@firemypi.org; dmarc=none Received: from resomta-a2p-647652.sys.comcast.net ([96.103.145.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-a2p-658780.sys.comcast.net with ESMTPS id nkIxtpr33aaOLnnPNtLU1V; Thu, 27 Feb 2025 23:35:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1740699314; bh=CbvpMBXm0gHkWWOW+yO4KkZAw7h7ex4IUg4hkZhamQo=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Xfinity-Spam-Result; b=jg8fHKFhHHazk6ZulPu8nfMKx0uVEaZmp0eiv41UUKkOvPIL96lRjbqJId/JNIC+P S7SwPDQteMMiCVxImnbhClHzzgPDtQcis4k7zRiV85boOaNX446gL89R+j4eM6mKIA Bj662Kojit2gIQczRE9lP6pZFedOt/tBddTQHCW7if77+sTuQ6xenz+SbcdyAdWNjV 3c0dJiBH2thQ9XHoagkf/D3mG3QmNFq0LQK3T6wAi3agsE8kacD1RKH4nHpa74LHvO L2LwIjhSX5/x54wUBWPfWJ/a3iQ79aYwo+LLxlvPnymCxg1UBMzdMJWV8ZhP1kGA1U +AifFpg1atiqQ== Received: from lambda.localdomain ([75.70.122.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-a2p-647652.sys.comcast.net with ESMTPSA id nnPKtEFcwtjbOnnPLtLNot; Thu, 27 Feb 2025 23:35:12 +0000 From: Stephen Cuka To: development@lists.ipfire.org Subject: [PATCH] fwhosts.cgi: Add button spacing on 'Firewall/Firewall Groups' page. Date: Thu, 27 Feb 2025 16:34:16 -0700 Message-ID: <20250227233416.250697-1-stephen@firemypi.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CMAE-Envelope: MS4xfIUtcpx/PIAmnQ/m61bS8mZTymkZ5u92o3Kuhu3JsHNw8Kv/pnu0uJETOYaO/znhVF17i18w6f/OyLOyJP5b3KKyhxiDCIV31qn9VYcjFgbfyASlevE5 /4LED2rR8kwTKK2CiorB1z1KEaWbm3bTeARSkaxGYgF7wsUAJK4zWZc/VcGBUwT2yXe/sfurUFHMbvRUkKWpQWZL1CX3dtMvUJTSJiTD12sY0R8SjCSxOZxf xTU0mImyEEn7KYoVvHGJMA== X-Spamd-Result: default: False [0.23 / 11.00]; HFILTER_HELO_5(3.00)[resqmta-a2p-658780.sys.comcast.net]; BAYES_HAM(-2.96)[99.84%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.99)[-0.995]; R_MISSING_CHARSET(0.50)[]; MIME_HTML_ONLY(0.20)[]; R_DKIM_ALLOW(-0.20)[comcastmailservice.net:s=20211018a]; IP_REPUTATION_HAM(-0.20)[asn: 7922(-0.19), country: US(-0.01), ip: 2001:558:fd01:2bb4::(0.00)]; RCVD_IN_DNSWL_LOW(-0.10)[96.103.145.226:received]; MX_GOOD(-0.01)[]; DMARC_NA(0.00)[firemypi.org]; MIME_TRACE(0.00)[0:~]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_RATELIMITED(0.00)[rspamd.com]; DKIM_TRACE(0.00)[comcastmailservice.net:+]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_REPUTATION(0.00)[0]; RECEIVED_SPAMHAUS_PBL(0.00)[75.70.122.243:received]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Action: no action X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4Z3nkw3PvGzGG Message-ID-Hash: HMR6GDCACBK3XCSAK5AZXBDFVU6T22C3 X-Message-ID-Hash: HMR6GDCACBK3XCSAK5AZXBDFVU6T22C3 X-MailFrom: stephen@firemypi.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: stephen@firemypi.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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 &Header::closebox();