cosmetic update

This commit is contained in:
Jordi Sanfeliu 2013-01-04 10:40:31 +01:00
parent a1a283e745
commit 7fad65bbb8
19 changed files with 18 additions and 19 deletions

View File

@ -386,11 +386,11 @@ sub apache_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -411,11 +411,11 @@ sub disk_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@tmp); undef(@tmp);
undef(@tmpz); undef(@tmpz);
for($n = 0; $n < 8; $n += 2) { for($n = 0; $n < 8; $n += 2) {

View File

@ -714,11 +714,11 @@ sub fs_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -413,7 +413,6 @@ sub hptemp_cgi {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
if(scalar(my @hptemp1 = split(',', $hptemp->{list}->{1}))) { if(scalar(my @hptemp1 = split(',', $hptemp->{list}->{1}))) {
undef(@tmp); undef(@tmp);
undef(@tmpz); undef(@tmpz);

View File

@ -713,11 +713,11 @@ sub kern_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@tmp); undef(@tmp);
undef(@tmpz); undef(@tmpz);
push(@tmp, "AREA:cs#44AAEE:Context switches"); push(@tmp, "AREA:cs#44AAEE:Context switches");

View File

@ -391,11 +391,11 @@ sub lighttpd_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -751,11 +751,11 @@ sub lmsens_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@tmp); undef(@tmp);
undef(@tmpz); undef(@tmpz);
push(@tmp, ("LINE2:mb0#FFA500:MB 0\\g", "GPRINT:mb0:LAST:\\:%3.0lf ")); push(@tmp, ("LINE2:mb0#FFA500:MB 0\\g", "GPRINT:mb0:LAST:\\:%3.0lf "));

View File

@ -878,11 +878,11 @@ sub mail_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[2]) eq 1) { if(trim($rigid[2]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[2])); push(@riglim, "--upper-limit=" . trim($limit[2]));

View File

@ -816,11 +816,11 @@ sub mysql_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 6 + 1] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 6 + 1] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[2]) eq 1) { if(trim($rigid[2]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[2])); push(@riglim, "--upper-limit=" . trim($limit[2]));

View File

@ -465,11 +465,11 @@ sub net_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -508,11 +508,11 @@ sub nfsc_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG2 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[2]) eq 1) { if(trim($rigid[2]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[2])); push(@riglim, "--upper-limit=" . trim($limit[2]));

View File

@ -673,11 +673,11 @@ sub nfss_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG3 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG3 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[3]) eq 1) { if(trim($rigid[3]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[3])); push(@riglim, "--upper-limit=" . trim($limit[3]));

View File

@ -407,11 +407,11 @@ sub nginx_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -408,11 +408,11 @@ sub ntp_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG[$e * 3] . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -403,11 +403,11 @@ sub nvidia_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@tmp); undef(@tmp);
undef(@tmpz); undef(@tmpz);
push(@tmp, "LINE2:gpu0#FFA500:Card 0\\g"); push(@tmp, "LINE2:gpu0#FFA500:Card 0\\g");

View File

@ -744,11 +744,11 @@ sub serv_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -931,11 +931,11 @@ sub squid_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG3 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG3 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[3]) eq 1) { if(trim($rigid[3]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[3])); push(@riglim, "--upper-limit=" . trim($limit[3]));

View File

@ -511,11 +511,11 @@ sub system_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));

View File

@ -297,11 +297,11 @@ sub user_cgi {
print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n"); print(" <img src='" . $config->{url} . $config->{imgs_dir} . $PNG1 . "'>\n");
} }
} }
if($title) { if($title) {
print(" </td>\n"); print(" </td>\n");
print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td valign='top' bgcolor='" . $colors->{title_bg_color} . "'>\n");
} }
undef(@riglim); undef(@riglim);
if(trim($rigid[1]) eq 1) { if(trim($rigid[1]) eq 1) {
push(@riglim, "--upper-limit=" . trim($limit[1])); push(@riglim, "--upper-limit=" . trim($limit[1]));