This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/node/schedule_activity.php

28 lines
893 B
PHP
Raw Normal View History

2012-11-29 22:58:15 +00:00
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Schedule Activity</td>
</tr>
<tr>
<td class="spacer">&nbsp;</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>