From f07d5181f82e46a43fd72031173caf0f85ee4c3b Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 4 Sep 2012 13:42:11 +0000 Subject: style update --- style.css | 4 ++-- test_index.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index d6bcdd5..bca0430 100644 --- a/style.css +++ b/style.css @@ -32,8 +32,8 @@ tr.todo td.status-box { background: white; } tr.building td.status-box { background: yellow; } tr.partial td.status-box { background: blue; } -td.timeinfo { font-size: 85%; text-align: right; color: #444444; } -td.percent { text-align: right; } +.timeinfo { font-size: 85%; text-align: right; color: #444444; } +.number, .percent { text-align: right; } #stats { float: right; } #score { margin-bottom: 2em; font-family: Helvetica, Verdana, Arial, sans-serif; } diff --git a/test_index.php b/test_index.php index 8449c10..61ddb79 100644 --- a/test_index.php +++ b/test_index.php @@ -402,7 +402,7 @@ if ($total > 0) { $s .= ''; foreach ($stats as $k => $v) { - $s .= sprintf('', + $s .= sprintf('', $k, $k, $v, round($v/$total*100)); } -- cgit v1.2.1
Stats.
StatusCount%
%s%d%d%%
%s%d%d%%