summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>