]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
dhcp.cgi: Adjust legend entries to make clear they are legends and not messages
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 1 Jan 2024 14:35:46 +0000 (15:35 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 3 Jan 2024 21:02:19 +0000 (21:02 +0000)
- A new IPFire user on the forum saw the orange and red coloured blocks in the legend
   section and believed that they were messages about problems that had been created with
   the fixed leases.
- This change puts a small block with seperate explanatory text for both the orange and
   red coloured blocks.
- This change will also be applied to the wiki in a much clearer way

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
html/cgi-bin/dhcp.cgi

index ec5d626572cf713891f694d484568bbf24490b12..c079fe1aeead7f4d6cf3ad1cb5ccb6010968b7ae 100644 (file)
@@ -1164,10 +1164,10 @@ print <<END
 </tr>
 <tr>
        <td>&nbsp;</td>
-       <td>&nbsp;</td>
-       <td class='base orange'>$Lang::tr{'ip address outside subnets'}</td>
-        <td>&nbsp;&nbsp</td>
-        <td class='base red'>$Lang::tr{'dhcp fixed ip address in dynamic range'}</td>
+       <td class='base orange'>&nbsp;</td>
+       <td class='base'>&nbsp;$Lang::tr{'ip address outside subnets'}&emsp;</td>
+       <td class='base red'>&nbsp;</td>
+       <td class='base'>&nbsp;$Lang::tr{'dhcp fixed ip address in dynamic range'}</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        $dup