Annotation of FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl, revision 1.1
1.1 ! as 1: <?
! 2: $topmenu = array(
! 3: "Current And Latest Builds" => "index.php?action=latest_buildports",
! 4: "Failed builds in this build" => "index.php?action=failed_buildports",
! 5: "All (really) Build Failures" => "index.php?action=bad_buildports"
! 6: );
! 7: include 'header.inc.tpl';
! 8: ?>
! 9: <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl,v 1.1 2008/01/05 11:56:01 as Exp $ //-->
! 10: <?if(!$no_list){?>
! 11: <table>
! 12: <tr>
! 13: <th style="width: 20px"> </th>
! 14: <th>Build Name</th>
! 15: <th>Build Description</th>
! 16: <th>
! 17: <span title="success / unknown / fail / leftovers">
! 18: S / U / F / L
! 19: </span>
! 20: </th>
! 21: <th>Build Packages</th>
! 22: </tr>
! 23:
! 24: <?foreach($data as $row) {?>
! 25: <tr>
! 26: <td class="<?=$row['status_field_class']?>"> </td>
! 27: <td><a href="index.php?action=list_buildports&build=<?=$row['name']?>"><?=$row['name']?></a></td>
! 28: <td><?=$row['description']?></td>
! 29: <td align="center">
! 30: <span title="success / unknown / fail / leftovers">
! 31: <?=$row['results']['SUCCESS']?>
! 32: /
! 33: <?=$row['results']['UNKNOWN']?>
! 34: /
! 35: <?=$row['results']['FAIL']?>
! 36: /
! 37: <?=$row['results']['LEFTOVERS']?>
! 38: </span>
! 39: </td>
! 40: <?if($row['packagedir']){?>
! 41: <td><a href="<?=$row['packagedir']?>">Package Directory</a></td>
! 42: <?}else{?>
! 43: <td><i>No packages for this build</i></td>
! 44: <?}?>
! 45: </tr>
! 46: <?}?>
! 47:
! 48: </table>
! 49: <?}else{?>
! 50: <p>There are no builds configured.</p>
! 51: <?}?>
! 52: <div class="subcontent">
! 53: <h1>All Build Failures for the maintainer</h1>
! 54: <form method="get" action="index.php">
! 55: <input type="hidden" name="action" value="failed_buildports" />
! 56: <select name="maintainer">
! 57: <option></option>
! 58: <?foreach($maintainers as $maintainer) {?>
! 59: <option><?=$maintainer?></option>
! 60: <?}?>
! 61: </select>
! 62: <input type="submit" name="Go" value="Go" />
! 63: </form>
! 64: </div>
! 65: <?
! 66: $footer_legend = array(
! 67: 'build_portbuild' => 'Building',
! 68: 'build_prepare' => 'Prepare'
! 69: );
! 70: include 'footer.inc.tpl';
! 71: ?>