diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-19 13:15:17 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-19 13:15:17 +0000 |
commit | 395719392a4f142cd298105b4431d922b22c06c2 (patch) | |
tree | 01a71ac1a3d48d7747163c89d2128305d82ba900 /index.php | |
parent | f252b619fc883f6a647b0ef25ea0e983d4b90968 (diff) | |
download | pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.gz pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.bz2 pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.tar.xz pkgsubmit-395719392a4f142cd298105b4431d922b22c06c2.zip |
show usage time diagram (sort of)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -419,8 +419,8 @@ if ($total > 0) { $s .= '</table><span style="font-size: 85%;">Does not take<br />build failures<br />into account.</span>'; $s .= '<table style="width:100%;"><caption>Build times</caption>'; - $max = max($build_dates2); - foreach ($build_dates2 as $time => $count) + $max = max($build_dates); + foreach ($build_dates as $time => $count) $s .= sprintf('<tr><td>%d</td><td><span style="width: %dpx; height: 10px; background: #aaa;" title="%d"></span></td></tr>', $time, round($count / $max * 100), $count); $s .= '</table>'; |