Widgitized the output

This commit is contained in:
Deon George
2012-11-30 09:58:15 +11:00
parent 808730e1e3
commit 4b51fc2727
40 changed files with 1139 additions and 1165 deletions

View File

@@ -0,0 +1,48 @@
<!-- $o = ORM::factory('STGPOOL') -->
<table class="box-full">
<tr>
<td class="head" colspan="5">Device Class information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Access</td>
<td style="width: 60%;" class="data"><?php echo $o->DEVCLASSES->display('ACCESS_STRATEGY'); ?></td>
</tr>
<tr>
<td>Device Type</td>
<td class="data"><?php echo $o->DEVCLASSES->display('DEVTYPE'); ?></td>
</tr>
<tr>
<td>Format</td>
<td class="data"><?php echo $o->DEVCLASSES->display('FORMAT'); ?></td>
</tr>
<tr>
<td>Capacity</td>
<td class="data"><?php echo $o->DEVCLASSES->display('CAPACITY'); ?></td>
</tr>
<tr>
<td>Mount Limit</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTLIMIT'); ?></td>
</tr>
<?php if ($o->DEVCLASSES->DEVTYPE == 'FILE') { ?>
<tr>
<td>Directory</td>
<td class="data"><?php echo $o->DEVCLASSES->display('DIRECTORY'); ?></td>
</tr>
<?php } else { ?>
<tr>
<td>Library</td>
<td class="data"><?php echo $o->DEVCLASSES->display('LIBRARY_NAME'); ?></td>
</tr>
<tr>
<td>Mount Wait</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTWAIT'); ?></td>
</tr>
<tr>
<td>Mount Retention</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTRETENTION'); ?></td>
</tr>
<?php } ?>
</table>