From: Laurent Destailleur Date: Thu, 8 Aug 2024 23:32:24 +0000 (+0200) Subject: Better CSS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c84f358d16026aeed62fec7b1067ed84b1845902;p=thirdparty%2FAWStats.git Better CSS --- diff --git a/test/awstats/conf/awstats.testglobal.conf b/test/awstats/conf/awstats.testglobal.conf index af704f3a..48ca1ff9 100644 --- a/test/awstats/conf/awstats.testglobal.conf +++ b/test/awstats/conf/awstats.testglobal.conf @@ -706,7 +706,7 @@ IncludeInternalLinksInOriginSection=1 # table with country name # Replace spaces in the path of geoip data file with string "%20". # -LoadPlugin="geoip GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIP.dat" +#LoadPlugin="geoip GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIP.dat" # PLUGIN: GeoIP_City_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -715,7 +715,7 @@ LoadPlugin="geoip GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/Geo # and hits by city including regions. # Replace spaces in the path of geoip data file with string "%20". # -LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPCity-532.dat" +#LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPCity-532.dat" # PLUGIN: GeoIP_ASN_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -735,7 +735,7 @@ LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/tes # Canada can be detected. # Replace spaces in the path of geoip data file with string "%20". # -LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPRegion-515.dat" +#LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPRegion-515.dat" # PLUGIN: GeoIP_ISP_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) @@ -751,7 +751,7 @@ LoadPlugin="geoip_region_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/t # DESCRIPTION: This plugin add a chart of hits by Organization name # Replace spaces in the path of geoip data file with string "%20". # -LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPOrg-111.dat" +#LoadPlugin="geoip_org_maxmind GEOIP_STANDARD /home/ldestailleur/git/awstats/test/maxmind/GeoIPOrg-111.dat" diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 0e111fc3..92c6e328 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -933,7 +933,7 @@ sub html_head { if ( !$StyleSheet ) { print -"body { font: 11px verdana, arial, helvetica, sans-serif; background-color: #$color_Background; margin-top: 0; margin-bottom: 0; }\n"; +"body { font: 1.2em verdana, arial, helvetica, sans-serif; background-color: #$color_Background; margin-top: 0; margin-bottom: 0; }\n"; print ".aws_bodyl { }\n"; print ".aws_border { border-collapse: collapse; background-color: #$color_TableBG; padding: 1px 1px " @@ -941,7 +941,7 @@ sub html_head { || $BuildReportFormat eq 'xml' ? "2px" : "1px" ) . " 1px; margin-top: 0px; margin-bottom: 0px; }\n"; print -".aws_title { font: 13px verdana, arial, helvetica, sans-serif; font-weight: bold; background-color: #$color_TableBGTitle; text-align: center; margin-top: 0; margin-bottom: 0; padding: 1px 1px 1px 1px; color: #$color_TableTitle; }\n"; +".aws_title { font: 1em verdana, arial, helvetica, sans-serif; font-weight: bold; background-color: #$color_TableBGTitle; text-align: center; margin-top: 0; margin-bottom: 0; padding: 5px; color: #$color_TableTitle; }\n"; print ".aws_blank { font: 13px verdana, arial, helvetica, sans-serif; background-color: #$color_Background; text-align: center; margin-bottom: 0; padding: 1px 1px 1px 1px; }\n"; print <