This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/stgpool/nodes.php
2012-11-30 09:58:33 +11:00

30 lines
973 B
PHP

<!-- $o = ORM::factory('STGPOOL') -->
<table class="box-full">
<tr>
<td class="head" colspan="5">Nodes with data in this Storage Pool</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Node</td>
<td>Type</td>
<td>File Space</td>
<td>Num Files</td>
<td>Physical</td>
<td>Logical</td>
<td>Reporting</td>
</tr>
<?php $i=0; foreach ($o->OCC->find_all() as $oo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo HTML::anchor('node/detail/'.$oo->NODE_NAME,$oo->NODE_NAME); ?></td>
<td class="data"><?php echo $oo->display('TYPE'); ?></td>
<td class="data"><?php echo $oo->display('FILESPACE_NAME'); ?></td>
<td class="data"><?php echo $oo->display('NUM_FILES'); ?></td>
<td class="data"><?php echo $oo->display('PHYSICAL_MB'); ?></td>
<td class="data"><?php echo $oo->display('LOGICAL_MB'); ?></td>
<td class="data"><?php echo $oo->display('REPORTING_MB'); ?></td>
</tr>
<?php } ?>
</table>