diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-04 16:48:21 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-04 16:48:21 +0000 |
commit | ebc111aa2ac33a8a4c19bb3a8789412b4a6b4af7 (patch) | |
tree | f28d7ba8bfd2a9a437c175e7e9b39f5c5779eaff | |
parent | e7b5dd74563502f69861a6e6667fd281c1a8c9b3 (diff) | |
download | pkgsubmit-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.php | 2 | ||||
-rw-r--r-- | test_index.php | 8 |
2 files changed, 1 insertions, 9 deletions
@@ -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> |