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

Download:
App-TimeClock-0.09.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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-2013 Søren Lund

This file is part of App::TimeClock.

App::TimeClock 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, either version 3 of the License, or (at your option) any later version.

App::TimeClock 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.

You should have received a copy of the GNU General Public License along with App::TimeClock. If not, see <http://www.gnu.org/licenses/>.

syntax highlighting: