From: jbsky <blais.julien.30@gmail.com>
To: development@lists.ipfire.org
Subject: [PATCH] Embellishment of the caption on the connection.cgi
Date: Tue, 12 Sep 2017 15:21:33 +0200 [thread overview]
Message-ID: <20170912132133.9675-1-blais.julien.30@gmail.com> (raw)
[-- 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
reply other threads:[~2017-09-12 13:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170912132133.9675-1-blais.julien.30@gmail.com \
--to=blais.julien.30@gmail.com \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox