From b0347297ea5b4b7a8a4a5c2124c074b53539da6c Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 5 Aug 2013 18:51:35 +0100 Subject: [PATCH] Added report table class. Report tables have extra padding for legibility. --- lib/report.php | 4 ++-- www/style.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/report.php b/lib/report.php index 2fabab4..b268440 100644 --- a/lib/report.php +++ b/lib/report.php @@ -79,7 +79,7 @@ $week = 1; $last_week = 0; $total = 0; - echo "\n"; + echo "
\n"; foreach ($rows as $row) { /* Convert week of year to date range. */ if (! $week_offset) $week_offset = $row->getWeek() - 1; @@ -111,7 +111,7 @@ $q->groupByRequesterId()->addDescendingOrderByColumn('count'); $rows = $q->find(); $total = 0; - echo "
\n"; + echo "
\n"; /* XXX Join! */ foreach ($rows as $row) { echo "\n"; diff --git a/www/style.css b/www/style.css index 627f878..84af4f4 100644 --- a/www/style.css +++ b/www/style.css @@ -93,3 +93,7 @@ a.delete { .smaller { font-size: 25%; } + +table.report > * > tr > td { + padding-right: 0.25em; +} -- 2.20.1