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/info.php
2012-12-06 14:50:06 +11:00

66 lines
1.7 KiB
PHP

<!-- $o = ORM::factory('VOLUME') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Volume Information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Volume Name</td>
<td style="width: 60%;" class="data"><?php echo $o->display('VOLUME_NAME'); ?></td>
</tr>
<tr>
<td>Storage Pool</td>
<td class="data"><?php echo HTML::anchor('stgpool/detail/'.$o->STGPOOL_NAME,$o->display('STGPOOL_NAME')); ?></td>
</tr>
<tr>
<td>Estimated Capacity</td>
<td class="data"><?php echo $o->display('EST_CAPACITY_MB'); ?></td>
</tr>
<tr>
<td>Utilisation</td>
<td class="data"><?php echo $o->display('PCT_UTILIZED'); ?></td>
</tr>
<tr>
<td>Status</td>
<td class="data"><?php echo $o->display('STATUS'); ?></td>
</tr>
<tr>
<td>Access</td>
<td class="data"><?php echo $o->display('ACCESS'); ?></td>
</tr>
<tr>
<td>Reclaimable</td>
<td class="data"><?php echo $o->display('PCT_RECLAIM'); ?></td>
</tr>
<tr>
<td>Scratch Volume</td>
<td class="data"><?php echo $o->display('SCRATCH'); ?></td>
</tr>
<tr>
<td>Times Mounted</td>
<td class="data"><?php echo $o->display('TIMES_MOUNTED'); ?></td>
</tr>
<tr>
<td>Write/Read Errors</td>
<td class="data"><?php printf('%s/%s',$o->display('WRITE_ERRORS'),$o->display('READ_ERRORS')); ?></td>
</tr>
<tr>
<td>Last Write</td>
<td class="data"><?php echo $o->display('LAST_WRITE_DATE'); ?></td>
</tr>
<tr>
<td>Last Read</td>
<td class="data"><?php echo $o->display('LAST_READ_DATE'); ?></td>
</tr>
<tr>
<td>Pending</td>
<td class="data"><?php echo $o->display('PENDING_DATE'); ?></td>
</tr>
<tr>
<td>Location</td>
<td class="data"><?php echo $o->display('LOCATION'); ?></td>
</tr>
</table>