[Mageia-sysadm] [288] move feedback string at the end of the line; show stats on top

root at mageia.org root at mageia.org
Thu Jan 13 16:48:16 CET 2011


Revision: 288
Author:   rda
Date:     2011-01-13 16:48:16 +0100 (Thu, 13 Jan 2011)
Log Message:
-----------
move feedback string at the end of the line; show stats on top

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-13 15:38:29 UTC (rev 287)
+++ build_system/web/index.php	2011-01-13 15:48:16 UTC (rev 288)
@@ -139,10 +139,12 @@
     <title><?php echo $title ?></title>
     <meta name="robots" content="<?php echo $robots; ?>">
     <style type="text/css">
+    .clear { clear: both; }
     table { 
         border-spacing: 0;
         font-family: Helvetica; font-size: 80%;
         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; }
@@ -198,7 +200,6 @@
     <td>%s</td>
     <td>%s/%s</td>
     <td class="status-box"></td>
-    <td>%s</td>
 T;
 
 // count all packages statuses
@@ -232,8 +233,7 @@
         $p['user'], $p['user'],
         $p['package'],
         $p['version'],
-        $p['media'], $p['section'],
-        sprintf($badges[$p['type']], $p['user'])
+        $p['media'], $p['section']
     );
     
     $typelink = '';
@@ -248,7 +248,9 @@
         sprintf('<a href="%s">%s</a>', $typelink, $p['type']) :
         $p['type'];
 
-    $s .= '</td></tr>';
+    $s .= '</td>';
+    $s .= '<td>' . sprintf($badges[$p['type']], $p['user']) . '</td>';
+    $s .= '</tr>';
 }
 echo $s, '</table>';
 
@@ -258,6 +260,7 @@
         $k, $v, round($v/$total*100));
 }
 $s .= '</table></div>';
+$s .= '<div class="clear"></div>';
 
 echo $s;
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110113/fb3ddbc3/attachment.html>


More information about the Mageia-sysadm mailing list