From patchwork Sat Mar 7 18:58:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 2823 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 48ZYfM2M85z3yBQ for ; Sat, 7 Mar 2020 18:58:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 48ZYfL1hdmz1M7; Sat, 7 Mar 2020 18:58:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 48ZYfK6y19z2yPM; Sat, 7 Mar 2020 18:58:17 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 48ZYfJ13hvz2xpf for ; Sat, 7 Mar 2020 18:58:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 48ZYfH0zThzcm for ; Sat, 7 Mar 2020 18:58:14 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1583607495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jUHMZTZsNG6vt87v39S1zfQuCugNUoCfWUCQSLX9nb8=; b=LfSBjvnmUnPuz9LCI/x3OQJFqs1+rFN14FskjzVJDl7cWjp4/JJmnFBcP78nddojzhc7Z3 d0uefkO9WLfV+hCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1583607495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jUHMZTZsNG6vt87v39S1zfQuCugNUoCfWUCQSLX9nb8=; b=bJbFcXf1kcJAC74kidLnwDx01I+Evx1etDYczEQQRtJDEl6V4YbMOnXsB028TW5M3gxs14 ldQvQriJPn+fW1Y49boNVszSuc0THKJwGYTrnGSOLdNh0U7STkclFOsE+WPV99Rxtibixl u491iM7+G3i3E8TpPB87ozr77xlomcp7jYDU5w4VpvJK+KtIkXfpOMGAfwelxEiT/pq71w Bw6PCBHKuuyyEYmMl0slWvmeoduVncYsjpso4icPo2X7aJnyay9/bA+OKlGGWKRg5Aucm9 gIiXL/El5JjElYor1PV1Zrl3DtbOKq1rVFjj+yniL1jqxO16uJMCE6keepkpHw== To: "IPFire: Development-List" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] fireinfo.cgi: improve readability of command outputs Message-ID: <0faba960-9f85-1d39-41d6-6969cd91c1ed@ipfire.org> Date: Sat, 07 Mar 2020 18:58:00 +0000 MIME-Version: 1.0 Content-Language: en-US Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=peter.mueller@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Especially when it comes to the output of "uname -a", tags greatly improve readability. Signed-off-by: Peter Müller Reviewed-by: Michael Tremer --- 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 < + - - + + - - + + - - + +
$Lang::tr{'fireinfo ipfire version'}:$ipfire_version$Lang::tr{'fireinfo ipfire version'}$ipfire_version
$Lang::tr{'fireinfo pakfire version'}:$pakfire_version$Lang::tr{'fireinfo pakfire version'}$pakfire_version
$Lang::tr{'fireinfo kernel version'}:$kernel_version$Lang::tr{'fireinfo kernel version'}$kernel_version
END