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/volume/nodes.php

22 lines
632 B
PHP
Raw Normal View History

<!-- $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">&nbsp;</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>