32 lines
1.0 KiB
PHP
32 lines
1.0 KiB
PHP
|
<!-- $o = ORM::factory('LIBRARY') -->
|
||
|
<table class="box-full">
|
||
|
<tr>
|
||
|
<td class="head" colspan="5">Volumes out of this Library</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="spacer"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>Volume</td>
|
||
|
<td>Usage</td>
|
||
|
<td>Status/Access</td>
|
||
|
<td>Utilisation</td>
|
||
|
<td>Reclaim</td>
|
||
|
<td>Last Read</td>
|
||
|
<td>Last Write</td>
|
||
|
<td>Location</td>
|
||
|
</tr>
|
||
|
<?php $i=0; foreach ($o->volsnotinlib() as $vo) { ?>
|
||
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||
|
<td class="data"><?php echo $vo.($vo->recycle() ? ' ¹' : ''); ?></td>
|
||
|
<td class="data"><?php echo $vo->STGPOOL_NAME; ?></td>
|
||
|
<td class="data"><?php printf('%s/%s',$vo->display('STATUS'),$vo->display('ACCESS')); ?></td>
|
||
|
<td class="data"><?php echo $vo->display('PCT_UTILIZED'); ?></td>
|
||
|
<td class="data"><?php echo $vo->display('PCT_RECLAIM'); ?></td>
|
||
|
<td class="data"><?php echo $vo->display('LAST_READ_DATE'); ?></td>
|
||
|
<td class="data"><?php echo $vo->display('LAST_WRITE_DATE'); ?></td>
|
||
|
<td class="data"><?php echo $vo->display('LOCATION'); ?></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</table>
|