22 lines
632 B
PHP
22 lines
632 B
PHP
|
<!-- $o = ORM::factory('VOLUME') -->
|
||
|
<table class="box-full">
|
||
|
<tr>
|
||
|
<td class="head" colspan="2">Nodes with Data on this Volume</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="spacer"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>Node</td>
|
||
|
<td>Type</td>
|
||
|
<td>File Space</td>
|
||
|
</tr>
|
||
|
<?php $i=0; foreach ($o->VOLUMEUSAGE->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('COPY_TYPE'); ?></td>
|
||
|
<td class="data"><?php echo $oo->display('FILESPACE_NAME'); ?></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</table>
|