summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--style.css8
-rw-r--r--test_index.php12
2 files changed, 10 insertions, 10 deletions
diff --git a/style.css b/style.css
index abd431c..7ceed89 100644
--- a/style.css
+++ b/style.css
@@ -5,12 +5,12 @@ body { font-size: 80%; }
.clear { clear: both; }
table {
border-spacing: 0;
- border: 1px solid #ccc;
float: left;
}
-table tr { padding: 0; margin: 0; }
-table th { padding: 0.2em 0.5em; margin: 0; border-bottom: 2px solid #ccc; border-right: 1px solid #ccc; text-align: left; font-size: 85%; color: #999; }
-table td { padding: 0; margin: 0; padding: 0.2em 0.5em; border-bottom: 1px solid #ccc; }
+tr { padding: 0; margin: 0; }
+th { padding: 0.2em 0.5em; margin: 0; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; text-align: left; font-size: 85%; color: #999; }
+th:last-child { border-right: 0; }
+td { padding: 0; margin: 0; padding: 0.2em 0.5em; border-bottom: 1px solid #ccc; }
tr { background: transparent; }
tr.uploaded { background: #bbffbb; }
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&nbsp;hours.</p>', $total, $max_modified * 24);
+ echo sprintf('<li><p><span class="figure">%d</span> packages submitted in the past %d&nbsp;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