56 lines
2.1 KiB
PHP
56 lines
2.1 KiB
PHP
|
<!-- $o = ORM::factory('NODE') -->
|
||
|
<table width="100%">
|
||
|
<?php foreach ($o->btypes() as $btype) { ?>
|
||
|
<tr>
|
||
|
<td style="width: 100%; vertical-align: top;">
|
||
|
<table class="box-full">
|
||
|
<tr>
|
||
|
<td class="head" colspan="2"><?php echo $btype.' '._('Sessions'); ?></td>
|
||
|
</tr>
|
||
|
<?php if ($o->act_bybtype($btype)) { ?>
|
||
|
<tr>
|
||
|
<td class="spacer"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>Start</td>
|
||
|
<td>End</td>
|
||
|
<td>Comm</td>
|
||
|
<td>Schedule</td>
|
||
|
<td class="right">Session</td>
|
||
|
<td class="right">Examined</td>
|
||
|
<td class="right">Backed Up</td>
|
||
|
<td class="right">Failed</td>
|
||
|
<td class="right">MB</td>
|
||
|
<td class="right">Idle</td>
|
||
|
<td class="right">Media Wait</td>
|
||
|
<td class="right">Comm Wait</td>
|
||
|
<td class="right">Process</td>
|
||
|
<td class="right">Success</td>
|
||
|
</tr>
|
||
|
<?php $i=0; foreach ($o->act_bybtype($btype) as $ao) { ?>
|
||
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||
|
<td class="data"><?php echo $ao->display('START_TIME'); ?></td>
|
||
|
<td class="data"><?php echo $ao->display('END_TIME'); ?></td>
|
||
|
<td class="data"><?php echo $ao->display('COMMMETH'); ?></td>
|
||
|
<td class="data"><?php echo $ao->display('SCHEDULE_NAME'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('NUMBER'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('EXAMINED'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('AFFECTED'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('FAILED'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->bytes(); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('IDLE'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('MEDIAW'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('COMM_WAIT'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('PROCESSES'); ?></td>
|
||
|
<td class="data-right"><?php echo $ao->display('SUCCESSFUL'); ?></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
<?php } else { ?>
|
||
|
<tr><td><?php echo _('There is NO activity for this Node.'); ?></td></tr>
|
||
|
<?php } ?>
|
||
|
</table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</table>
|