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,49 @@
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Last Session Performance Information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Last Access</td>
<td style="width: 60%;" class="data"><?php echo $o->display('LASTACC_TIME'); ?></td>
</tr>
<tr>
<td>Last Sent</td>
<td class="data"><?php echo number_format($o->LASTSESS_SENT/1024/1024,2); ?> MB</td>
</tr>
<tr>
<td>Last Receive</td>
<td class="data"><?php echo number_format($o->LASTSESS_RECVD/1024/1024,2); ?> MB</td>
</tr>
<tr>
<td>Last Duration</td>
<td class="data"><?php echo number_format($o->LASTSESS_DURATION/60,2); ?> min</td>
</tr>
<tr>
<td>Last Session Idle Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_IDLEWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_IDLEWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Comm Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_COMMWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_COMMWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Media Wait Percent</td>
<td class="data"><?php echo $o->display('LASTSESS_MEDIAWAIT'); ?>% (<?php echo number_format($o->LASTSESS_DURATION*($o->LASTSESS_MEDIAWAIT/100),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Transfer Percent</td>
<td class="data"><?php echo number_format($o->lasttransferpercent(),2); ?>% (<?php echo number_format($o->lasttransfertime(),2); ?>s)</td>
</tr>
<tr>
<td>Last Session Send Performance</td>
<td class="data"><?php echo number_format($o->lastsendperformance(),2); ?> MB/s (<?php echo number_format($o->lastsendaggperformance(),2); ?> MB/s Aggregate)</td>
</tr>
<tr>
<td>Last Session Receive Performance</td>
<td class="data"><?php echo number_format($o->lastreceiveperformance(),2); ?> MB/s (<?php echo number_format($o->lastreceiveaggperformance(),2); ?> MB/s Aggregate)</td>
</tr>
</table>