30 lines
973 B
PHP
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"> </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>
|