r4902 renderRow: vertically position racks to the bottom of the row instead of the...
authorAaron Dummer <aaron@dummer.info>
Fri, 13 Jan 2012 04:03:25 +0000 (04:03 +0000)
committerAaron Dummer <aaron@dummer.info>
Fri, 13 Jan 2012 04:03:25 +0000 (04:03 +0000)
wwwroot/inc/interface.php

index c856df1..e5a0cd6 100644 (file)
@@ -437,7 +437,7 @@ function renderRow ($row_id)
                        echo '<tr>';
                }
                $class = ($rack['has_problems'] == 'yes') ? 'error' : $order;
-               echo "<td align=center class=row_${class}><a href='".makeHref(array('page'=>'rack', 'rack_id'=>$rack['id']))."'>";
+               echo "<td align=center valign=bottom class=row_${class}><a href='".makeHref(array('page'=>'rack', 'rack_id'=>$rack['id']))."'>";
                echo "<img border=0 width=${rackwidth} height=" . (getRackImageHeight ($rack['height']) * getConfigVar ('ROW_SCALE'));
                echo " title='${rack['height']} units'";
                echo "src='?module=image&img=minirack&rack_id=${rack['id']}'>";