Message ID | 20240101143546.10272-1-adolf.belka@ipfire.org |
---|---|
State | Accepted |
Commit | dcb878d6a11ee9b75b4d0752a12b2d68b8691c8e |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> 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 ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4T3dnn65SDz3wmk for <patchwork@web04.haj.ipfire.org>; Mon, 1 Jan 2024 14:35:57 +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 ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4T3dnk50syzYj; Mon, 1 Jan 2024 14:35:54 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4T3dnk1lTyz32Sw; Mon, 1 Jan 2024 14:35:54 +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 ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4T3dnh0460z30J8 for <development@lists.ipfire.org>; Mon, 1 Jan 2024 14:35:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4T3dng0Nf7z8X; Mon, 1 Jan 2024 14:35:51 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1704119751; 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; bh=jWWCNze7RI9QIszBlbLt+Jw6Ba2lLG1GelAjDCBzqUY=; b=X8N6VyMB99lsUF38g+1qBEgUF+HR8qxaL0arcTnqC3zyfxaFYmGHINUYV30RijRbuOLXAg f2qxIU5HSgoHERCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1704119751; 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; bh=jWWCNze7RI9QIszBlbLt+Jw6Ba2lLG1GelAjDCBzqUY=; b=T9RxMIKOxSEwe4N1FySA4RRzfK6u94710x3l4pZSyWhyvO9VMHz/bfuPhbo0WnWLVpm6Fh R8r/36L5GbDmawnpTC8ue5SLauEJL/uKjdNqQt50MVcNmWroPgk0MqMz8Nvg3wOiWhj9Ly EA82Y7GoXkxehANN+8gjl63L2WfEN4siZ4bSQIxiQejAaCBOAoIbJyJG6YiqJhQgIXQNG3 CVqR9/pbDxGCjfvDYi02diuK1eog3hmK83aCbG0Xt5/7Rc4VgeXIHrav+jjmlK/XTxgvpN ZGaUxxABknNHcXr9RzaGOOzCXIorwwjRy911/W8QZF27zqFNpUyhRmS+dZjvYw== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text Date: Mon, 1 Jan 2024 15:35:45 +0100 Message-ID: <20240101143546.10272-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: LHN6K7LAQYYUGX7SYLDXCXBWGEQI3MEJ X-Message-ID-Hash: LHN6K7LAQYYUGX7SYLDXCXBWGEQI3MEJ X-MailFrom: adolf.belka@ipfire.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 X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> Archived-At: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/message/LHN6K7LAQYYUGX7SYLDXCXBWGEQI3MEJ/> List-Archive: <https://lists.ipfire.org/hyperkitty/list/development@lists.ipfire.org/> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Owner: <mailto:development-owner@lists.ipfire.org> List-Post: <mailto:development@lists.ipfire.org> List-Subscribe: <mailto:development-join@lists.ipfire.org> List-Unsubscribe: <mailto:development-leave@lists.ipfire.org> |
Series |
[1/2] dhcp.cgi: Adjust spacing between an icon and explanatory text
|
|
Commit Message
Adolf Belka
Jan. 1, 2024, 2:35 p.m. UTC
- 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   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   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@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> --- html/cgi-bin/dhcp.cgi | 1 - 1 file changed, 1 deletion(-) mode change 100755 => 100644 html/cgi-bin/dhcp.cgi
Comments
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org> Am 01.01.2024 um 15:35 schrieb Adolf Belka: > - 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   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   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@ipfire.org> > Signed-off-by: Adolf Belka <adolf.belka@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'> <b>$Lang::tr{'legend'}: </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> </td> > <td><img src='/images/off.gif' alt='$Lang::tr{'click to enable'}' /></td> > <td class='base'>$Lang::tr{'click to enable'}</td> > <td> </td>
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'> <b>$Lang::tr{'legend'}: </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> </td> <td><img src='/images/off.gif' alt='$Lang::tr{'click to enable'}' /></td> <td class='base'>$Lang::tr{'click to enable'}</td> <td> </td>