public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text
@ 2024-01-01 14:35 Adolf Belka
  2024-01-01 14:35 ` [PATCH 2/2] dhcp.cgi: Adjust legend entries to make clear they are legends and not messages Adolf Belka
  2024-01-01 16:41 ` [PATCH 1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text Bernhard Bitsch
  0 siblings, 2 replies; 5+ messages in thread
From: Adolf Belka @ 2024-01-01 14:35 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]

- When dealing with a problem on the forum I noticed that in the Fixed Leases table
   Legend section there was a very large space between the empty checkbox icon and the
   explanatory text. It looks like the &nbsp that I have removed worked on the text
   section 'click to enable' as that was moved but not on the off.gif icon as that stayed
   in its original place leaving a very large space between the icon and the explanatory
   text. Removing the two   commands fixes that.
- Reading up about &nbsp the problem might be related to these tags no longer being
   recommended to use with the newer HTML versions and that indenting or spacing should be
   done via CSS code. Will have a look in future on how to accomplish this via CSS.

Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 html/cgi-bin/dhcp.cgi | 1 -
 1 file changed, 1 deletion(-)
 mode change 100755 => 100644 html/cgi-bin/dhcp.cgi

diff --git a/html/cgi-bin/dhcp.cgi b/html/cgi-bin/dhcp.cgi
old mode 100755
new mode 100644
index 84e2322af..ec5d62657
--- a/html/cgi-bin/dhcp.cgi
+++ b/html/cgi-bin/dhcp.cgi
@@ -1153,7 +1153,6 @@ print <<END
 	<td class='boldbase'>&nbsp;<b>$Lang::tr{'legend'}:&nbsp;</b></td>
 	<td><img src='/images/on.gif' alt='$Lang::tr{'click to disable'}' /></td>
 	<td class='base'>$Lang::tr{'click to disable'}</td>
-	<td>&nbsp;&nbsp;</td>
 	<td><img src='/images/off.gif' alt='$Lang::tr{'click to enable'}' /></td>
 	<td class='base'>$Lang::tr{'click to enable'}</td>
 	<td>&nbsp;&nbsp;</td>
-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-01 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-01 14:35 [PATCH 1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text Adolf Belka
2024-01-01 14:35 ` [PATCH 2/2] dhcp.cgi: Adjust legend entries to make clear they are legends and not messages Adolf Belka
2024-01-01 16:53   ` jon
2024-01-01 17:07   ` Bernhard Bitsch
2024-01-01 16:41 ` [PATCH 1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text Bernhard Bitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox