Annotation of FreeBSD/tinderbox/webui/templates/default/describe_port.tpl, revision 1.1
1.1 ! as 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
! 2: <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
! 3: <head>
! 4: <!-- $MCom: portstools/tinderbox/webui/templates/default/describe_port.tpl,v 1.5 2007/06/09 22:09:12 marcus Exp $ //-->
! 5: <title><?=$tinderbox_name?></title>
! 6: <link href="<?=$templatesuri?>/tinderstyle.css" rel="stylesheet" type="text/css" />
! 7: </head>
! 8: <body>
! 9: <h1><?=$tinderbox_title?> - <?=$port_name?></h1>
! 10: <?if(!$no_list){?>
! 11: <table>
! 12: <tr>
! 13: <td>Directory</td>
! 14: <td><?=$port_dir?> (
! 15: <?for($i=0;$i<count($ports_trees_links);$i++) {?>
! 16: <a href="<?=$ports_trees_links[$i]['cvsweb']?>/<?=$port_dir?><?=$ports_trees_links[$i]['cvsweb_querystr']?>"><?=$ports_trees_links[$i]['name']?></a>
! 17: <?}?>
! 18: )</td>
! 19: </tr>
! 20: <tr>
! 21: <td>Comment</td>
! 22: <td><?=$port_comment?></td>
! 23: </tr>
! 24: <tr>
! 25: <td>Maintainer</td>
! 26: <td><a href="mailto:<?=$port_maintainer?>"><?=$port_maintainer?></a></td>
! 27: </tr>
! 28: </table>
! 29: <p> </p>
! 30: <table>
! 31: <tr>
! 32: <th>Build</th>
! 33: <th>Version</th>
! 34: <th style="width: 20px"> </th>
! 35: <th> </th>
! 36: <th>Last Build Attempt</th>
! 37: <th>Last Successful Build</th>
! 38: <th>Duration</th>
! 39: </tr>
! 40: <?foreach($data as $row) {?>
! 41: <tr>
! 42: <td><a href="index.php?action=list_buildports&build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
! 43: <td><?=$row['port_last_built_version']?></td>
! 44: <td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
! 45: <td>
! 46: <?if($row['port_link_logfile']){?>
! 47: <a href="<?=$row['port_link_logfile']?>">log</a>
! 48: <?}?>
! 49: <?if($row['port_link_package']){?>
! 50: <a href="<?=$row['port_link_package']?>">package</a>
! 51: <?}?>
! 52: </td>
! 53: <td><?=$row['port_last_built']?></td>
! 54: <td><?=$row['port_last_successful_built']?></td>
! 55: <td><?=time_elapsed($row['port_last_run_duration'])?></td>
! 56: </tr>
! 57: <?}?>
! 58: </table>
! 59: <?}else{?>
! 60: <p>Invalid port ID.</p>
! 61: <?}?>
! 62:
! 63: <p>Local time: <?=$local_time?></p>
! 64: <?=$display_login?>
! 65: <p><a href="index.php">Back to homepage</a></p>
! 66: </body>
! 67: </html>