summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-04-18 21:05:52 +0000
committerRomain d'Alverny <rda@mageia.org>2011-04-18 21:05:52 +0000
commit617d93b57aaf20135b4994ab47f8905fa92a3c82 (patch)
tree4d217edd3269db74b98c3f954f39aa9c992e241a
parent7b5e883bed5d3440e14c866ba800cba5fddf3014 (diff)
downloadpkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar
pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.gz
pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.bz2
pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.tar.xz
pkgsubmit-617d93b57aaf20135b4994ab47f8905fa92a3c82.zip
table layout
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 092da50..82e4609 100644
--- a/index.php
+++ b/index.php
@@ -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);