App::TimeClock::HtmlPrinter
Implements the App::TimeClock::PrinterInterface. Will print a (simple) HTML report with embedded (CSS) styling.
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.
Prints all activities for a day including a total. Is printed in a standard HTML table.
Prints the total number of hours worked and the daily average and closes the body and html tags.
Søren Lund, <soren at lund.org>
<soren at lund.org>
timeclock.pl
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/>.
To install App::TimeClock, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::TimeClock
CPAN shell
perl -MCPAN -e shell install App::TimeClock
For more information on module installation, please visit the detailed CPAN module installation guide.