Annotation of FreeBSD/tinderbox/webui/templates/default/failed_buildports.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/failed_buildports.tpl,v 1.6 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:
! 10: <h1>
! 11: <?if($build_name){?>
! 12: Build Failures in <?=$build_name?>
! 13: <?}else{?>
! 14: All Build Failures
! 15: <?}?>
! 16: <?if($maintainer){?>
! 17: for <?=$maintainer?>
! 18: <?}?>
! 19: </h1>
! 20:
! 21:
! 22: <?if(!$no_list){?>
! 23: <table>
! 24: <tr>
! 25: <th>Build</th>
! 26: <th>Port Directory</th>
! 27: <th>Version</th>
! 28: <th style="width: 20px"> </th>
! 29: <th>Reason</th>
! 30: <th> </th>
! 31: <th>Last Build Attempt</th>
! 32: <th>Last Successful Build</th>
! 33: </tr>
! 34:
! 35: <?foreach($data as $row) {?>
! 36: <tr>
! 37: <td><a href="index.php?action=list_buildports&build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
! 38: <td><a href="index.php?action=describe_port&id=<?=$row['port_id']?>"><?=$row['port_directory']?></a></td>
! 39: <td><?=$row['port_last_built_version']?></td>
! 40: <td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
! 41: <?$reason=$row['port_last_fail_reason']?>
! 42: <td class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>">
! 43: <?$href=($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&failure_reason_tag=$reason#$reason" : "#"?>
! 44: <a href="<?=$href?>" class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?=$port_fail_reasons[$reason]['descr']?>"><?=$reason?></a>
! 45: </td>
! 46: <td>
! 47: <?if($row['port_link_logfile']){?>
! 48: <a href="<?=$row['port_link_logfile']?>">log</a>
! 49: <?}?>
! 50: <?if($row['port_link_package']){?>
! 51: <a href="<?=$row['port_link_package']?>">package</a>
! 52: <?}?>
! 53: </td>
! 54: <td><?=$row['port_last_built']?></td>
! 55: <td><?=$row['port_last_successful_built']?></td>
! 56: </tr>
! 57: <?}?>
! 58: </table>
! 59: <?}else{?>
! 60: <p>There are no build failures at the moment.</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>