From ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 4 Sep 2012 16:48:21 +0000 Subject: remove old packagers list; less detail in pie chart --- lib.php | 2 +- test_index.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib.php b/lib.php index 24eda84..6b87f71 100644 --- a/lib.php +++ b/lib.php @@ -316,7 +316,7 @@ function draw_packagers_chart() { 'width':600, 'height':200, 'backgroundColor': '#f8f8f8', - 'sliceVisibilityThreshold': 1/720 + 'sliceVisibilityThreshold': 2/90 }; var chart = new google.visualization.PieChart(document.getElementById('{$id}')); diff --git a/test_index.php b/test_index.php index 858d0c3..87100b5 100644 --- a/test_index.php +++ b/test_index.php @@ -347,20 +347,12 @@ if ($total > 0) {
'; - // Packagers stats - $s .= ''; - arsort($users); - foreach ($users as $k => $v) { - $s .= sprintf('', - $k, $k, $v); - } $s .= sprintf('
Packagers
UserPackages
%s%d
Total time%s hours
Average%s minutes
Builds count%s
', round($buildtime_total / 60, 2), $buildtime_avg, $buildtime_cnt); - $s .= '

'; $s .= '
-- cgit v1.2.1