Added Node Summary

This commit is contained in:
Deon George
2011-05-30 19:27:08 +10:00
parent d3b97ae485
commit d29b29fa07
13 changed files with 305 additions and 62 deletions

View File

@@ -53,7 +53,7 @@
<?php $i=0; foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data" colspan="2"><?php echo $type; ?></td>
<td class="data-right"><?php echo $node->getStorageTypeVols($type); ?></td>
<td class="data-right"><?php echo count($node->getStorageTypeVols($type)); ?></td>
<td class="data-right"><?php echo $node->getStorageTypeFiles($type); ?></td>
<td class="data-right"><?php echo $node->getStorageTypeData($type); ?></td>
</tr>
@@ -61,7 +61,7 @@
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td>&nbsp;</td>
<td><?php echo $spo; ?></td>
<td class="right"><?php echo $node->getStorageTypeVols($type,$spo); ?></td>
<td class="right"><?php echo count($node->getStorageTypeVols($type,$spo)); ?></td>
<td class="right"><?php echo $node->getStorageTypeFiles($type,$spo); ?></td>
<td class="right"><?php echo $node->getStorageTypeData($type,$spo); ?></td>
</tr>