summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-09-04 16:48:21 +0000
committerRomain d'Alverny <rda@mageia.org>2012-09-04 16:48:21 +0000
commitebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7 (patch)
treef28d7ba8bfd2a9a437c175e7e9b39f5c5779eaff
parente7b5dd74563502f69861a6e6667fd281c1a8c9b3 (diff)
downloadpkgsubmit-ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7.tar
pkgsubmit-ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7.tar.gz
pkgsubmit-ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7.tar.bz2
pkgsubmit-ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7.tar.xz
pkgsubmit-ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7.zip
remove old packagers list; less detail in pie chart
-rw-r--r--lib.php2
-rw-r--r--test_index.php8
2 files changed, 1 insertions, 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) {
<div id="status-chart"></div>
<div id="packagers-chart"></div>';
- // Packagers stats
- $s .= '<table style="width: 70%; margin: 2em 0 2em 80px;"><caption>Packagers</caption><tr><th>User</th><th>Packages</th></tr>';
- arsort($users);
- foreach ($users as $k => $v) {
- $s .= sprintf('<tr><td><a href="/?user=%s">%s</a></td><td>%d</td></tr>',
- $k, $k, $v);
- }
$s .= sprintf('<table style="width: 80%;"><tr><td>Total time</td><td>%s hours</td></tr>
<tr><td>Average</td><td>%s minutes</td></tr>
<tr><td>Builds count</td><td>%s</td></tr></table>',
round($buildtime_total / 60, 2),
$buildtime_avg,
$buildtime_cnt);
-
$s .= '</table><br /><br />';
$s .= '<div id="buildtime-chart"></div>