From: Julien Blais blais.julien.30@gmail.com
This is a first patch, like a test because I've been wanting to participate in the development for a while, that is to say improve the ipfire web service. For a first patch, I equalize the width of the legend columns to make it cleaner. I also apply the bold typeface to all headings in the legend.
After an infinite number of attempts to send a small patch, will I succeed?
modified: html/cgi-bin/connections.cgi --- html/cgi-bin/connections.cgi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/html/cgi-bin/connections.cgi b/html/cgi-bin/connections.cgi index 96f09012b..ff19726d0 100644 --- a/html/cgi-bin/connections.cgi +++ b/html/cgi-bin/connections.cgi @@ -305,31 +305,31 @@ if (-e "${General::swroot}/ovpn/n2nconf") { print <<END; <table style='width:100%'> <tr> - <td style='text-align:center;'> + <td style='text-align:center;width:12%;'> <b>$Lang::tr{'legend'} :</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourgreen}; font-weight:bold;'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourgreen}; font-weight:bold; width:11%;'> <b>$Lang::tr{'lan'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourred};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourred}; font-weight:bold; width:11%;'> <b>$Lang::tr{'internet'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourorange};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourorange}; font-weight:bold; width:11%;'> <b>$Lang::tr{'dmz'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourblue};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourblue}; font-weight:bold; width:11%;'> <b>$Lang::tr{'wireless'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourfw};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourfw}; font-weight:bold; width:11%;'> <b>IPFire</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourvpn};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourvpn}; font-weight:bold; width:11%;'> <b>$Lang::tr{'vpn'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourovpn};'> + <td style='text-align:center; color:#FFFFFF; background-color:${Header::colourovpn}; font-weight:bold; width:11%;'> <b>$Lang::tr{'OpenVPN'}</b> </td> - <td style='text-align:center; color:#FFFFFF; background-color:$colour_multicast;'> + <td style='text-align:center; color:#FFFFFF; background-color:$colour_multicast; font-weight:bold; width:11%;'> <b>Multicast</b> </td> </tr>