Annotation of FreeBSD/tinderbox/webui/templates/default/current_buildports.tpl, revision 1.1
1.1 ! as 1: <!-- $MCom: portstools/tinderbox/webui/templates/default/current_buildports.tpl,v 1.5 2007/10/13 02:28:48 ade Exp $ //-->
! 2: <?if(!$no_list){?>
! 3: <?if($build_name){?>
! 4: <h1>Current Builds in <?=$build_name?></h1>
! 5: <?}else{?>
! 6: <h1>Current Builds</h1>
! 7: <?}?>
! 8: <table>
! 9: <tr>
! 10: <th>Build</th>
! 11: <th>Port</th>
! 12: <th>Duration</th>
! 13: <th>ETA</th>
! 14: </tr>
! 15: <?foreach($data as $row) {?>
! 16: <tr>
! 17: <td><a href="index.php?action=list_buildports&build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
! 18: <td><?=$row['port_current_version']?></td>
! 19: <td><?=time_difference_from_now($row['build_last_updated'])?></td>
! 20: <td><?=is_string($row['build_eta'])?$row['build_eta']:time_elapsed($row['build_eta'])?></td>
! 21: </tr>
! 22: <?}?>
! 23: </table>
! 24: <script language="JavaScript">
! 25: setTimeout("reloadpage()", 60000)
! 26: </script>
! 27: <?}?>