2012-12-07 06:06:57 +00:00
|
|
|
<!-- $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>
|
2012-12-12 04:00:03 +00:00
|
|
|
<?php $i=0; foreach ($o->act_bybtype($btype) as $aso) { ?>
|
2012-12-07 06:06:57 +00:00
|
|
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
2012-12-12 04:00:03 +00:00
|
|
|
<td class="data"><?php echo $aso->display('START_TIME'); ?></td>
|
|
|
|
<td class="data"><?php echo $aso->display('END_TIME'); ?></td>
|
|
|
|
<td class="data"><?php echo $aso->display('COMMMETH'); ?></td>
|
|
|
|
<td class="data"><?php echo $aso->display('SCHEDULE_NAME'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->inActLog() ? HTML::anchor(sprintf('node/session/%s,%s,%s',$o->NODE_NAME,$aso->NUMBER,$aso->start()),$aso->display('NUMBER')) : $aso->display('NUMBER'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('EXAMINED'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('AFFECTED'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('FAILED'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->bytes(); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('IDLE'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('MEDIAW'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('COMM_WAIT'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('PROCESSES'); ?></td>
|
|
|
|
<td class="data-right"><?php echo $aso->display('SUCCESSFUL'); ?></td>
|
2012-12-07 06:06:57 +00:00
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } else { ?>
|
|
|
|
<tr><td><?php echo _('There is NO activity for this Node.'); ?></td></tr>
|
|
|
|
<?php } ?>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
</table>
|