diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-04 10:41:30 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-04 10:41:30 +0000 |
commit | 7d7ce55392d635e52fc76ef471ec805756a23c71 (patch) | |
tree | 4c2930507da9f6bdd210e1ac6998b09693c8f0ca /test_index.php | |
parent | e524d47dbe92ca4d4294aff0c70cfce856415595 (diff) | |
download | pkgsubmit-7d7ce55392d635e52fc76ef471ec805756a23c71.tar pkgsubmit-7d7ce55392d635e52fc76ef471ec805756a23c71.tar.gz pkgsubmit-7d7ce55392d635e52fc76ef471ec805756a23c71.tar.bz2 pkgsubmit-7d7ce55392d635e52fc76ef471ec805756a23c71.tar.xz pkgsubmit-7d7ce55392d635e52fc76ef471ec805756a23c71.zip |
refine style
Diffstat (limited to 'test_index.php')
-rw-r--r-- | test_index.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test_index.php b/test_index.php index 0afc0ce..216fadf 100644 --- a/test_index.php +++ b/test_index.php @@ -311,7 +311,7 @@ TB; $s = ''; $tmpl = <<<T <tr class="%s"> - <td>%s</td> + <td class="timeinfo">%s</td> <td><a href="?user=%s">%s</a></td> <td><a href="http://svnweb.mageia.org/packages?view=revision&revision=%d" title="%s">%s</a></td> <td>%s</td> @@ -357,7 +357,7 @@ if ($total > 0) { sprintf('<a href="%s">%s</a>', $typelink, $typestr) : $typestr; - $s .= '</td><td>'; + $s .= '</td><td class="timeinfo">'; if ($p['type'] == 'uploaded') { $tdiff = timediff($p['buildtime']['start'], $p['buildtime']['end']); // use $p['buildtime']['diff']; instead? $s .= $tdiff; @@ -368,13 +368,13 @@ if ($total > 0) { $s .= '</td>'; $s .= '</tr>'; } - echo sprintf('<li><p><span class="figure">%d packages submitted in the past %d hours.</p>', $total, $max_modified * 24); + echo sprintf('<li><p><span class="figure">%d</span> packages submitted in the past %d hours.</p>', $total, $max_modified * 24); // Table echo '<table>', - '<tr><th>Submitted</th><th>User</th> + '<thead><tr><th>Submitted</th><th>User</th> <th>Package</th><th>Target</th><th>Media</th> - <th colspan="2">Status</th><th>Build time</th></tr>', - $s, + <th colspan="2">Status</th><th>Build time</th></tr></thead>', + '<tbody>', $s, '</tbody>', '</table>'; // Stats |