28 lines
893 B
PHP
28 lines
893 B
PHP
|
<!-- $o = ORM::factory('NODE') -->
|
||
|
<table class="box-full">
|
||
|
<tr>
|
||
|
<td class="head" colspan="2">Schedule Activity</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="spacer"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>Sched Start</td>
|
||
|
<td>Act Start</td>
|
||
|
<td>Schedule Name</td>
|
||
|
<td>Status</td>
|
||
|
<td>Completed</td>
|
||
|
<td>Result</td>
|
||
|
</tr>
|
||
|
<?php $i=0;foreach ($o->EVENT->find_all() as $eo) { ?>
|
||
|
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
|
||
|
<td class="data"><?php echo $eo->display('SCHEDULED_START'); ?></td>
|
||
|
<td class="data"><?php echo HTML::nbsp($eo->display('ACTUAL_START')); ?></td>
|
||
|
<td class="data"><?php echo $eo->display('SCHEDULE_NAME'); ?></td>
|
||
|
<td class="data"><?php echo $eo->display('STATUS'); ?></td>
|
||
|
<td class="data"><?php echo HTML::nbsp($eo->display('COMPLETED')); ?></td>
|
||
|
<td class="data"><?php printf('%s %s',$eo->RESULT,$eo->display('REASON')); ?></td>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</table>
|