From patchwork Fri May 22 12:13:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 3124 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 49T54Z0Xpxz3xQr for ; Fri, 22 May 2020 12:13:50 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 49T54W27HYzXb; Fri, 22 May 2020 12:13:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 49T54W0NF4z2yC8; Fri, 22 May 2020 12:13:47 +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 49T54S6xv5z2xcS for ; Fri, 22 May 2020 12:13:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (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 did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 49T54S3Vn2z1Zn for ; Fri, 22 May 2020 12:13:44 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1590149624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=YSqlZ9dY8zFPUe4hVj9r/Vg+qkiKNvTXLEKGucYENFI=; b=9mdsQrn9phe1GEwbAeovoFcG/84MgOZmy6xTc02GUId0FMcfbMFaFRkupgMnodOYFMYWGn VsCXb/UfZaksbsBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1590149624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=YSqlZ9dY8zFPUe4hVj9r/Vg+qkiKNvTXLEKGucYENFI=; b=Do2ZCmOTL+FBeesZXggXuI8tUpmpzEnrE9kj2Wap1yPu1QVu8NCcgiDaYweWlkkqH4NWId Ml87YsGO7ZkOn1TsZ72EqVdZBOJ8b7JObiokThSHqjYT4uTJX+oTaZ0y2j4F+H7HVflGms lz12t56evnpkgK5hfEO0jgFbP7WSdFEyuL4X65Qwb7zelXWQWQxl9b8JoXWBKg6veFB0dB Ts65qFUvlD4AqLO1d6n6OmOA3XPzQ8N2gdkvphtwLIUSQVFQLoLBaeS8u9JlDlgZjNXZqq GysS3Fa2UnqXuaB3OzEXPwj9dcFfaIskJLvDERO84QukPHhZka2P9tZthW1OYA== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] backup.cgi: Cosmetic fix - mark backup files bold for better readability Date: Fri, 22 May 2020 14:13:38 +0200 Message-Id: <20200522121338.4908-1-matthias.fischer@ipfire.org> Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=matthias.fischer@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" Signed-off-by: Matthias Fischer Acked-by: Michael Tremer --- html/cgi-bin/backup.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi index cac4146ab..3ced1371d 100644 --- a/html/cgi-bin/backup.cgi +++ b/html/cgi-bin/backup.cgi @@ -202,7 +202,7 @@ my $Datei = "/var/ipfire/backup/".$_; my @Info = stat($Datei); my $Size = $Info[7] / 1024 / 1024; $Size = sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size MB
"; +print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size MB
"; print "
"; } foreach (@backupisos){ @@ -212,7 +212,7 @@ my $Datei = "/var/tmp/backupiso/".$_; my @Info = stat($Datei); my $Size = $Info[7] / 1024 / 1024; $Size = sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size MB
"; +print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size MB
"; print "
"; } print <$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; + print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; } else { $Size = sprintf("%2d", $Size); - print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; + print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; } @@ -272,7 +272,7 @@ END ; } else{ - print "$Lang::tr{'backup from'} $_ "; + print "$Lang::tr{'backup from'} $_ "; } print < @@ -291,7 +291,7 @@ my $Datei = "/var/ipfire/backup/addons/backup/".$_.".ipf"; my @Info = stat($Datei); my $Size = $Info[7] / 1024; $Size = sprintf("%2d", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; +print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; print <