From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] Cosmetics: New icons for backup.cgi Date: Fri, 28 Sep 2018 19:52:39 +0200 Message-ID: <20180928175239.3243-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7811953984681161273==" List-Id: --===============7811953984681161273== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, this was triggered by: https://forum.ipfire.org/viewtopic.php?f=3D17&t=3D21372 As suggested there, I added new icons for better readability. But I kept the icon order. Best, Matthias Signed-off-by: Matthias Fischer --- html/cgi-bin/backup.cgi | 24 ++++++++++++------------ html/html/images/download.png | Bin 0 -> 646 bytes html/html/images/restore.png | Bin 0 -> 459 bytes 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 html/html/images/download.png create mode 100644 html/html/images/restore.png diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi index cac4146ab..e015abce4 100644 --- a/html/cgi-bin/backup.cgi +++ b/html/cgi-bin/backup.cgi @@ -178,7 +178,7 @@ print < - + @@ -202,8 +202,8 @@ my $Datei =3D "/var/ipfire/backup/".$_; my @Info =3D stat($Datei); my $Size =3D $Info[7] / 1024 / 1024; $Size =3D sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; -print "
=
<= /td>"; +print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; +print "
=
= "; } foreach (@backupisos){ if ( $_ !~ /iso$/){next;} @@ -212,8 +212,8 @@ my $Datei =3D "/var/tmp/backupiso/".$_; my @Info =3D stat($Datei); my $Size =3D $Info[7] / 1024 / 1024; $Size =3D sprintf("%0.2f", $Size); -print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; -print "
=
<= /td>"; +print "$Lang::tr{'backup from'} $_ $Lang::tr{'size'= } $Size MB
"; +print "
=
= "; } print < @@ -258,14 +258,14 @@ print < - +
- +
END @@ -279,7 +279,7 @@ print < - + END @@ -297,14 +297,14 @@ print < - +
- +
@@ -323,8 +323,8 @@ print ""; print <
$Lang::tr{'= backupwarning'}


-$Lang::tr{'backup'}
-$Lang::tr{'backupaddon'} +$Lang::tr{'backup'}
+$Lang::tr{'backupaddon'} END ; diff --git a/html/html/images/download.png b/html/html/images/download.png new file mode 100644 index 0000000000000000000000000000000000000000..6a12420a54eb0705aceb727ba4733= 0a1ab911175 GIT binary patch literal 646 zcmV;10(t$3P))W|Q+1w3vWzdhhXlAHMJL6zaue=3Dnh7_qpj8JrczI; z)dc{4zs6`RLCLQ0W5;YHYYb(a)fcQBTm#IOn&d&|IfU7gwp&?JI{PNWF>;xvh1LkGw9 zns_z51dJcl=3DX=3DgzmJ58(a)_;ytGb?Nf*#6J#nUBCYz`Di?eYJ6c~;r=3DlPx~_K#Ay)f)M<~e>*FIk5dtsSVt#JU>3tJ4d46!(wK~w~< z-(a)K$)-0hy8o?bg}Fx$}{LkK~8pp9qeUeMLt!%B9ImFybn<{qA&eNH?SMbmtAc6MP| z)+~Uc>v~uSVfOcqAcWxe#vf9tI9bc!()$aEdTR&qGRyD9}54RTLCO zsa~ZvB&Ec4U0mrR-CBNFyO^fAquI6{K0P{yq9`bE2&wzGz^1*4Eo{<(H1iMV!&)wv z1K{nu52!*#sA?6a)L=3D*6Wq2sf-1=3DRJ!rb6J48uS(3OaXb$+fdE?4|t&r(^QcWb-wv93~Gh;fA6LuU2$8io1C8fmk gJUq{9fC6CWFUS4*oKn&t!2kdN07*qoM6N<$f*4&i3;+NC literal 0 HcmV?d00001 diff --git a/html/html/images/restore.png b/html/html/images/restore.png new file mode 100644 index 0000000000000000000000000000000000000000..6be95adaf7e9742b34f8afd94b342= 2dbef25e638 GIT binary patch literal 459 zcmV;+0W|)JP)K)z3;*K^zD0&vA2wOnLxu z(LxHZxM@`jkrL5*f?gyes|&qBJwOqP(YiPAA1J{95uRZZjo6x4 z!nYW6g4wF#lZp5WZVZSW!CGQcx{?AriFi>Vp&~KaDhpopZ(DMichJg=3D-^BMgfAQmo zGJ#KH{|>*(vPp0nIjKh0;C}4C)DZ8Y%Xu)!U(a)Z1uFJZ9Xqj7tdN3lGkjP*m^n=3Dqke3(a)E1{rYo;z~V&4D&002ovPDHLkV1j0b B$)NxM literal 0 HcmV?d00001 --=20 2.18.0 --===============7811953984681161273==--