From 9a6720122282c3851a3b1d1da8b2f309844730cc Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Wed, 11 Jan 2017 13:06:11 +0100 Subject: [PATCH] small fix in colors, also change the thickness of lines --- lib/ftp.pm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/ftp.pm b/lib/ftp.pm index 9394a30..2a7c3ff 100644 --- a/lib/ftp.pm +++ b/lib/ftp.pm @@ -426,42 +426,42 @@ sub ftp_cgi { print(" \n"); print(" \n"); } - push(@tmp, "LINE1:retr#44EE44:Files downloaded (RETR)"); + push(@tmp, "LINE2:retr#44EE44:Files downloaded (RETR)"); push(@tmp, "GPRINT:retr:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:retr:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:retr:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:retr:MAX: Max\\: %3.0lf\\n"); - push(@tmp, "LINE1:stor#4444EE:Files uploaded (STOR)"); + push(@tmp, "LINE2:stor#4444EE:Files uploaded (STOR)"); push(@tmp, "GPRINT:stor:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:stor:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:stor:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:stor:MAX: Max\\: %3.0lf\\n"); - push(@tmp, "LINE1:mkd#EEEE44:Dirs created (MKD)"); + push(@tmp, "LINE2:mkd#EEEE44:Dirs created (MKD)"); push(@tmp, "GPRINT:mkd:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:mkd:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:mkd:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:mkd:MAX: Max\\: %3.0lf\\n"); - push(@tmp, "LINE1:rmd#EE4444:Dirs deleted (RMD)"); + push(@tmp, "LINE2:rmd#EE4444:Dirs deleted (RMD)"); push(@tmp, "GPRINT:rmd:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:rmd:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:rmd:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:rmd:MAX: Max\\: %3.0lf\\n"); - push(@tmp, "LINE1:dele#EE44EE:Files deleted (DELE)"); + push(@tmp, "LINE2:dele#EE44EE:Files deleted (DELE)"); push(@tmp, "GPRINT:dele:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:dele:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:dele:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:dele:MAX: Max\\: %3.0lf\\n"); - push(@tmp, "LINE1:mlsd#44EEEE:Dir listings (MLSD)"); + push(@tmp, "LINE2:mlsd#44EEEE:Dir listings (MLSD)"); push(@tmp, "GPRINT:mlsd:LAST: Current\\: %3.0lf"); push(@tmp, "GPRINT:mlsd:AVERAGE: Average\\: %3.0lf"); push(@tmp, "GPRINT:mlsd:MIN: Min\\: %3.0lf"); push(@tmp, "GPRINT:mlsd:MAX: Max\\: %3.0lf\\n"); - push(@tmpz, "LINE1:retr#FFA500:Files downloaded (RETR)"); - push(@tmpz, "LINE1:stor#EEEE44:Files uploaded (STOR)"); - push(@tmpz, "LINE1:mkd#EE4444:Dirs created (MKD)"); - push(@tmpz, "LINE1:rmd#44EE44:Dirs deleted (RMD)"); - push(@tmpz, "LINE1:dele#EE44EE:Files deleted (DELE)"); - push(@tmpz, "LINE1:mlsd#44EEEE:Dir listings (MLSD)"); + push(@tmpz, "LINE2:retr#44EE44:Files downloaded (RETR)"); + push(@tmpz, "LINE2:stor#4444EE:Files uploaded (STOR)"); + push(@tmpz, "LINE2:mkd#EEEE44:Dirs created (MKD)"); + push(@tmpz, "LINE2:rmd#EE4444:Dirs deleted (RMD)"); + push(@tmpz, "LINE2:dele#EE44EE:Files deleted (DELE)"); + push(@tmpz, "LINE2:mlsd#44EEEE:Dir listings (MLSD)"); if(lc($config->{show_gaps}) eq "y") { push(@tmp, "AREA:wrongdata#$colors->{gap}:"); push(@tmpz, "AREA:wrongdata#$colors->{gap}:");