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,25 @@
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Summary Activity</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Start</td>
<td>End</td>
<td>Activity</td>
<td>Schedule</td>
<td>MB</td>
</tr>
<?php $i=0;foreach ($o->SUMMARY->find_all() as $so) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo $so->display('START_TIME'); ?></td>
<td class="data"><?php echo $so->display('END_TIME'); ?></td>
<td class="data"><?php echo $so->display('ACTIVITY'); ?></td>
<td class="data"><?php echo $so->display('SCHEDULE_NAME'); ?></td>
<td class="data" style="text-align: right;"><?php printf('%3.2f',round($so->display('BYTES')/1024/1024,2)); ?></td>
</tr>
<?php } ?>
</table>