More view updates
This commit is contained in:
@@ -107,4 +107,41 @@
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 50%; vertical-align: top;">
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td class="head" colspan="2">HSM Information</td>
|
||||
</tr>
|
||||
<?php if ($node->getStoragePools('SpMg')) { ?>
|
||||
<tr>
|
||||
<td class="spacer"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>File Space</td>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type)
|
||||
if (count($pools = $node->getStoragePoolsType('SpMg',$type)))
|
||||
foreach ($pools as $pool_name) { ?>
|
||||
<td class="right"><?php echo $pool_name; ?> <span style="vertical-align: super; font-size: 60%;"><?echo $type; ?></span></td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php $i=0;foreach ($node->FILESPACE->find_all() as $fso) { ?>
|
||||
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||||
<td class="data"><?php echo $fso->display('FILESPACE_NAME'); ?></td>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type)
|
||||
if (count($pools = $node->getStoragePoolsType('SpMg',$type)))
|
||||
foreach ($pools as $pool_name) { ?>
|
||||
<td class="data-right"><?php echo number_format($fso->pool_logical_util($pool_name,'SpMg'),2); ?> (<?php echo $fso->pool_numvols($pool_name,'SPACE MANAGED'); ?>)</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<tr><td>There is NO HSM Data for this Node.</td></tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</td>
|
||||
<td style="width: 50%; vertical-align: top;">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<td style="width: 100%; vertical-align: top;">
|
||||
<table class="box-full">
|
||||
<tr>
|
||||
<td class="head" colspan="2"><?php echo $ctype=='BACKUP' ? _('Backup Volumes') : _('Archive Volumes'); ?></td>
|
||||
<td class="head" colspan="2"><?php echo $ctype.' '._('Volumes'); ?></td>
|
||||
</tr>
|
||||
<?php if ($node->volumes($ctype)) { ?>
|
||||
<tr>
|
||||
@@ -41,7 +41,7 @@
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<tr><td><?php echo $ctype=='BACKUP' ? _('There are NO Backup Volumes for this Node.') : _('There are NO Archive Volumes for this Node.'); ?></td></tr>
|
||||
<tr><td><?php echo _('There are NO volumes for this Node.'); ?></td></tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user