Especially when it comes to the output of "uname -a", <code> tags greatly improve readability.
Signed-off-by: Peter Müller peter.mueller@ipfire.org --- html/cgi-bin/fireinfo.cgi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/html/cgi-bin/fireinfo.cgi b/html/cgi-bin/fireinfo.cgi index 967e250c7..dfc741fde 100644 --- a/html/cgi-bin/fireinfo.cgi +++ b/html/cgi-bin/fireinfo.cgi @@ -90,18 +90,18 @@ my $kernel_version = `uname -a`;
&Header::openbox('100%', 'left', $Lang::tr{'fireinfo system version'}); print <<END; - <table width="100%"> + <table cellspacing='1' cellpadding='0' class='tbl'> <tr> - <td>$Lang::tr{'fireinfo ipfire version'}:</td> - <td>$ipfire_version</td> + <td align='center' bgcolor='#F0F0F0' width='15%'>$Lang::tr{'fireinfo ipfire version'}</td> + <td bgcolor='#F0F0F0'><code>$ipfire_version</code></td> </tr> <tr> - <td>$Lang::tr{'fireinfo pakfire version'}:</td> - <td>$pakfire_version</td> + <td align='center' bgcolor='#D6D6D6' width='15%'>$Lang::tr{'fireinfo pakfire version'}</td> + <td bgcolor='#D6D6D6'><code>$pakfire_version</code></td> </tr> <tr> - <td>$Lang::tr{'fireinfo kernel version'}:</td> - <td>$kernel_version</td> + <td align='center' bgcolor='#F0F0F0' width='15%'>$Lang::tr{'fireinfo kernel version'}</td> + <td bgcolor='#F0F0F0'><code>$kernel_version</code></td> </tr> </table> END
Reviewed-by: Michael Tremer michael.tremer@ipfire.org
On 7 Mar 2020, at 18:58, Peter Müller peter.mueller@ipfire.org wrote:
Especially when it comes to the output of "uname -a", <code> tags greatly improve readability.
Signed-off-by: Peter Müller peter.mueller@ipfire.org
html/cgi-bin/fireinfo.cgi | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/html/cgi-bin/fireinfo.cgi b/html/cgi-bin/fireinfo.cgi index 967e250c7..dfc741fde 100644 --- a/html/cgi-bin/fireinfo.cgi +++ b/html/cgi-bin/fireinfo.cgi @@ -90,18 +90,18 @@ my $kernel_version = `uname -a`;
&Header::openbox('100%', 'left', $Lang::tr{'fireinfo system version'}); print <<END;
<table width="100%">
<table cellspacing='1' cellpadding='0' class='tbl'> <tr>
<td>$Lang::tr{'fireinfo ipfire version'}:</td>
<td>$ipfire_version</td>
<td align='center' bgcolor='#F0F0F0' width='15%'>$Lang::tr{'fireinfo ipfire version'}</td>
<td bgcolor='#F0F0F0'><code>$ipfire_version</code></td>
</tr> <tr>
<td>$Lang::tr{'fireinfo pakfire version'}:</td>
<td>$pakfire_version</td>
<td align='center' bgcolor='#D6D6D6' width='15%'>$Lang::tr{'fireinfo pakfire version'}</td>
<td bgcolor='#D6D6D6'><code>$pakfire_version</code></td>
</tr> <tr>
<td>$Lang::tr{'fireinfo kernel version'}:</td>
<td>$kernel_version</td>
<td align='center' bgcolor='#F0F0F0' width='15%'>$Lang::tr{'fireinfo kernel version'}</td>
<td bgcolor='#F0F0F0'><code>$kernel_version</code></td>
</tr> </table>
END
2.16.4