Annotation of FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl, revision 1.3
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.3 ! as 9: <!-- $Paefchen: FreeBSD/tinderbox/webui/templates/paefchen/list_builds.tpl,v 1.2 2008/01/07 03:53:59 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>
1.3 ! as 17: <span title="success / unknown / fail / leftovers / total">
! 18: S / U / F / L / T
1.1 as 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">
1.3 ! as 30: <span title="success / unknown / fail / leftovers / total">
1.1 as 31: <?=$row['results']['SUCCESS']?>
32: /
33: <?=$row['results']['UNKNOWN']?>
34: /
35: <?=$row['results']['FAIL']?>
36: /
37: <?=$row['results']['LEFTOVERS']?>
1.3 ! as 38: /
! 39: <?=$row['results']['TOTAL']?>
1.1 as 40: </span>
41: </td>
42: <?if($row['packagedir']){?>
43: <td><a href="<?=$row['packagedir']?>">Package Directory</a></td>
44: <?}else{?>
45: <td><i>No packages for this build</i></td>
46: <?}?>
47: </tr>
48: <?}?>
49:
50: </table>
51: <?}else{?>
52: <p>There are no builds configured.</p>
53: <?}?>
54: <div class="subcontent">
55: <form method="get" action="index.php">
1.2 as 56: <fieldset>
57: <label>All Build Failures for the maintainer</label>
58:
59: <input type="hidden" name="action" value="failed_buildports" />
60: <select name="maintainer">
61: <option></option>
1.1 as 62: <?foreach($maintainers as $maintainer) {?>
1.2 as 63: <option><?=$maintainer?></option>
1.1 as 64: <?}?>
1.2 as 65: </select>
66: <input type="submit" name="Go" value="Go" />
67: </fieldset>
1.1 as 68: </form>
69: </div>
70: <?
71: $footer_legend = array(
72: 'build_portbuild' => 'Building',
73: 'build_prepare' => 'Prepare'
74: );
75: include 'footer.inc.tpl';
76: ?>