diff options
author | Romain d'Alverny <rda@mageia.org> | 2011-04-18 21:05:52 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2011-04-18 21:05:52 +0000 |
commit | 617d93b57aaf20135b4994ab47f8905fa92a3c82 (patch) | |
tree | 4d217edd3269db74b98c3f954f39aa9c992e241a | |
parent | 7b5e883bed5d3440e14c866ba800cba5fddf3014 (diff) | |
download | pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.gz pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.bz2 pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.xz pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.zip |
table layout
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -345,7 +345,7 @@ if ($total > 0) { <div id="score-box"><div id="score-meter" style="height: %dpx;"></div></div></div>', $score, $score); - $s .= '<table><caption>Stats.</caption><tr><th colspan="2">Status</th><th>Count</th><th>%</th></tr>'; + $s .= '<table style="width: 100%"><caption>Stats.</caption><tr><th colspan="2">Status</th><th>Count</th><th>%</th></tr>'; foreach ($stats as $k => $v) { $s .= sprintf('<tr class="%s"><td class="status-box"></td><td>%s</td><td>%d</td><td>%d%%</td></tr>', $k, $k, $v, round($v/$total*100)); @@ -353,7 +353,7 @@ if ($total > 0) { $s .= '</table><br /><br />'; - $s .= '<table><caption>Packagers</caption><tr><th>User</th><th>Packages</th></tr>'; + $s .= '<table style="width: 100%"><caption>Packagers</caption><tr><th>User</th><th>Packages</th></tr>'; foreach ($users as $k => $v) $s .= sprintf('<tr><td><a href="/?user=%s">%s</a></td><td>%d</td></tr>', $k, $k, $v); |