--- ConnorCalendar/calendar.pl 2013/05/29 02:53:46 1.5 +++ ConnorCalendar/calendar.pl 2013/05/29 03:27:02 1.6 @@ -8,7 +8,7 @@ | | Nicholas DeClario | March 2009 -| $Id: calendar.pl,v 1.5 2013/05/29 02:53:46 nick Exp $ +| $Id: calendar.pl,v 1.6 2013/05/29 03:27:02 nick Exp $ | +------------------------------------------------------------------------------ =end comment @@ -26,7 +26,7 @@ use Calendar::Simple; use Date::Calendar::Year qw( :all ); use Date::Calendar::Profiles qw( $Profiles ); -my $VERSION = q/$Id: calendar.pl,v 1.5 2013/05/29 02:53:46 nick Exp $/; +my $VERSION = q/$Id: calendar.pl,v 1.6 2013/05/29 03:27:02 nick Exp $/; my $DEBUG = ""; my $URL = "http://demandred.dyndns.org/cgi-bin/ConnorCalendar/index.cgi"; my %post_in = ( ); @@ -62,10 +62,6 @@ print "Content-type: text/html\n\n"; print &header( ); print &css( ); print "

Calendar for $YEAR

\n"; -print "

Holidays I have Connor are in Red\n
"; -print "Today is Blue\n
"; -print "Weekends and special days I have Connor are in Green\n

"; - my $year_us = Date::Calendar::Year->new( $YEAR, $Profiles->{'US-FL'} ); my @hdays = $year_us->labels( ); @@ -117,11 +113,18 @@ for( my $month = 1; $month <= 12; $month $row++; } print ""; -print "
List of Special/Holidays I have Connor:
";
+print "

Holidays I have Connor are in Red\n
"; +print "Today is Blue\n
"; +print "Weekends and special days I have Connor are in Green\n

"; + + +print "
List of Special/Holidays " . + "I have Connor:
";
 print map { $_ . "\n" } sort @list;
-print "


Version: $VERSION
"; -print "CVS: http://demandred.dyndns.org/cgi-bin/cvsweb/ConnorCalendar/"; -print "
\n\n$DEBUG
"; +print "
\n"; +print "

Version: $VERSION
"; +print "CVS: http://demandred.dyndns.org/cgi-bin/cvsweb/ConnorCalendar/"; +print "

"; ############################################################################### @@ -317,11 +320,33 @@ padding-bottom: 0px; text-align: center; } +p.Legend { + color: #000000; + font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif; + font-size: 8pt; + margin: auto; + width: 28%; + background-color : transparent; + border-top: 1px solid #888888; + border-left: 1px solid #888888; + border-right: 1px solid #888888; + border-bottom: 1px solid #888888; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 3px; + padding-right: 3px; +} + h1 { color: #191970; font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif; #font-family: Verdana, Arial, sans-serif; font-size: 12pt; font-weight: bold; line-height: 15pt; + background-color : transparent; + margin-left: 20px; + margin-right: 20px; + border-top: 1px solid black; + border-bottom: 1px solid black; } @@ -364,11 +389,19 @@ line-height: 120%; } -.footer { -padding-top: 10px; -padding-left: 50px; -padding-right: 50px; - +p.footer { + color: #000000; + font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif; + font-size: 8pt; + margin: auto; + width: 48%; + background-color : transparent; + border-top: 1px solid #888888; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 3px; + padding-right: 3px; + text-align: center; }