public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] Embellishment of the caption on the connection.cgi
@ 2017-09-12 13:21 jbsky
  0 siblings, 0 replies; only message in thread
From: jbsky @ 2017-09-12 13:21 UTC (permalink / raw)
  To: development

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

From: Julien Blais <blais.julien.30(a)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>
-- 
2.12.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-12 13:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-12 13:21 [PATCH] Embellishment of the caption on the connection.cgi jbsky

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