Additional info for node display
This commit is contained in:
@@ -45,16 +45,27 @@
|
||||
<td class="spacer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Storage Type</td>
|
||||
<td colspan="2">Storage Type</td>
|
||||
<td class="right">Vols</td>
|
||||
<td class="right">Files</td>
|
||||
<td class="right">MB</td>
|
||||
</tr>
|
||||
<?php $i=0; foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
|
||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||
<td class="data"><?php echo $type; ?></td>
|
||||
<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 $node->getStorageTypeFiles($type); ?></td>
|
||||
<td class="data-right"><?php echo $node->getStorageTypeData($type); ?></td>
|
||||
</tr>
|
||||
<?php foreach ($node->getAllStoragePoolsType($type) as $spo) { ?>
|
||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||
<td> </td>
|
||||
<td><?php echo $spo; ?></td>
|
||||
<td class="right"><?php echo $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>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user