Annotation of FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl, revision 1.2
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: ?>
1.2 ! as 9: <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl,v 1.1 2008/01/05 12:25:17 as Exp $ //-->
1.1 as 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: <form method="get" action="index.php">
1.2 ! as 54: <fieldset>
! 55: <label>All Build Failures for the maintainer</label>
! 56:
! 57: <input type="hidden" name="action" value="failed_buildports" />
! 58: <select name="maintainer">
! 59: <option></option>
1.1 as 60: <?foreach($maintainers as $maintainer) {?>
1.2 ! as 61: <option><?=$maintainer?></option>
1.1 as 62: <?}?>
1.2 ! as 63: </select>
! 64: <input type="submit" name="Go" value="Go" />
! 65: </fieldset>
1.1 as 66: </form>
67: </div>
68: <?
69: $footer_legend = array(
70: 'build_portbuild' => 'Building',
71: 'build_prepare' => 'Prepare'
72: );
73: include 'footer.inc.tpl';
74: ?>