Annotation of FreeBSD/tinderbox/webui/templates/paefchen/failed_buildports.tpl, revision 1.1
1.1 ! as 1: <?
! 2: $topmenu = array();
! 3: $header_title = $build_name
! 4: ? "Build Failures in $build_name"
! 5: : "All Build Failures";
! 6: if ($maintainer)
! 7: $header_title .= " for $maintainer";
! 8: include 'header.inc.tpl';
! 9: ?>
! 10: <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/failed_buildports.tpl,v 1.1 2008/01/05 11:56:01 as Exp $ //-->
! 11: <?if(!$no_list){?>
! 12: <table>
! 13: <tr>
! 14: <th>Build</th>
! 15: <th>Port Directory</th>
! 16: <th>Version</th>
! 17: <th style="width: 20px"> </th>
! 18: <th>Reason</th>
! 19: <th> </th>
! 20: <th>Last Build Attempt</th>
! 21: <th>Last Successful Build</th>
! 22: </tr>
! 23: <?foreach($data as $row) {?>
! 24: <tr>
! 25: <td><a href="index.php?action=list_buildports&build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
! 26: <td><a href="index.php?action=describe_port&id=<?=$row['port_id']?>"><?=$row['port_directory']?></a></td>
! 27: <td><?=$row['port_last_built_version']?></td>
! 28: <td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
! 29: <?$reason=$row['port_last_fail_reason']?>
! 30: <td class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>">
! 31: <?$href=($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&failure_reason_tag=$reason#$reason" : "#"?>
! 32: <a href="<?=$href?>" class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?=$port_fail_reasons[$reason]['descr']?>"><?=$reason?></a>
! 33: </td>
! 34: <td>
! 35: <?if($row['port_link_logfile']){?>
! 36: <a href="<?=$row['port_link_logfile']?>">log</a>
! 37: <?}?>
! 38: <?if($row['port_link_package']){?>
! 39: <a href="<?=$row['port_link_package']?>">package</a>
! 40: <?}?>
! 41: </td>
! 42: <td><?=$row['port_last_built']?></td>
! 43: <td><?=$row['port_last_successful_built']?></td>
! 44: </tr>
! 45: <?}?>
! 46: </table>
! 47: <?}else{?>
! 48: <p>There are no build failures at the moment.</p>
! 49: <? }
! 50: $footer_legend = array(
! 51: 'port_success' => 'Success',
! 52: 'port_default' => 'Default',
! 53: 'port_leftovers'=> 'Leftovers', # L
! 54: 'port_dud' => 'Dud', # D
! 55: 'port_depend' => 'Depend',
! 56: 'port_fail' => 'Fail',
! 57: );
! 58: include 'footer.inc.tpl';
! 59: ?>