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/db/volumes.php

24 lines
733 B
PHP
Raw Permalink Normal View History

<!-- $o = ORM::factory('DB') -->
<table class="box-full">
<tr>
<td class="head" colspan="5">Database Volumes</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Location</td>
<td class="right">Free Space</td>
<td class="right">Used Space</td>
<td class="right">Total Space</td>
</tr>
<?php $i=0; foreach ($o->vols() as $vo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo $vo->display('LOCATION'); ?></td>
<td class="data-right"><?php echo $vo->display('FREE_SPACE_MB'); ?></td>
<td class="data-right"><?php echo $vo->display('USED_FS_SIZE_MB'); ?></td>
<td class="data-right"><?php echo $vo->display('TOTAL_FS_SIZE_MB'); ?></td>
</tr>
<?php } ?>
</table>