Søren Lund > App-TimeClock-0.06 > App::TimeClock::HtmlPrinter

Download:
App-TimeClock-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: App-TimeClock-0.09

NAME ^

App::TimeClock::HtmlPrinter

DESCRIPTION ^

Implements the App::TimeClock::PrinterInterface. Will print a (simple) HTML report with embedded (CSS) styling.

METHODS ^

print_header()

Prints a standard HTML header, i.e. DOCTYPE followed by an opening html tag and a head tag. The head will contain a title with todays date and an embedded (css) style. A body tag will open and an h1 header with todays day will be printed. The body and html tags will be closed in the "print_footer()" method.

print_day()

Prints all activities for a day including a total. Is printed in a standard HTML table.

print_footer()

Prints the total number of hours worked and the daily average and closes the body and html tags.

AUTHOR ^

Søren Lund, <soren at lund.org>

SEE ALSO ^

timeclock.pl

COPYRIGHT ^

Copyright (C) 2012 Søren Lund

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

syntax highlighting: