r1454 + initial rackspace utilization code
[racktables] / inc / interface.php
index dfb68f6d86a375bb1239e5ccc01701f6a2ecfd02..114a3a2103f43d13ff021d6fd18c6e3f4125e631 100644 (file)
@@ -2574,6 +2574,7 @@ function renderRackPage ($rack_id)
        echo "<tr><th width='50%' class=tdright>Rack row:</th><td class=tdleft>${rackData['row_name']}</td></tr>\n";
        echo "<tr><th width='50%' class=tdright>Name:</th><td class=tdleft>${rackData['name']}</td></tr>\n";
        echo "<tr><th width='50%' class=tdright>Height:</th><td class=tdleft>${rackData['height']}</td></tr>\n";
+       echo "<tr><th width='50%' class=tdright>Utilization:</th><td class=tdleft>" . getRUSforRack ($rack_id) . "</td></tr>\n";
        if (!empty ($rackData['comment']))
                echo "<tr><th width='50%' class=tdright>Comment:</th><td class=tdleft>${rackData['comment']}</td></tr>\n";
        echo '</table>';