Annotation of FreeBSD/tinderbox/webui/templates/default/latest_buildports.tpl, revision 1.1.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/latest_buildports.tpl,v 1.9 2007/06/09 22:09:12 marcus Exp $ //-->
5: <script language="JavaScript">
6: function reloadpage() {
7: document.location.reload();
8: }
9: setTimeout("reloadpage()", 300000)
10: </script>
11: <title><?=$tinderbox_name?></title>
12: <link href="<?=$templatesuri?>/tinderstyle.css" rel="stylesheet" type="text/css" />
13: </head>
14: <body>
15: <?=$current_builds?>
16:
17: <?if($build_name){?>
18: <h1>Latest Builds in <?=$build_name?></h1>
19: <?}else{?>
20: <h1>Latest Builds</h1>
21: <?}?>
22:
23: <?if(!$no_list){?>
24: <table>
25: <tr>
26: <th>Build</th>
27: <th>Port Directory</th>
28: <th>Version</th>
29: <th style="width: 20px"> </th>
30: <th>Reason</th>
31: <th> </th>
32: <th>Last Build Attempt</th>
33: <th>Last Successful Build</th>
34: <th>Duration</th>
35: </tr>
36:
37: <?foreach($data as $row) {?>
38: <tr>
39: <td><a href="index.php?action=list_buildports&build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
40: <td><a href="index.php?action=describe_port&id=<?=$row['port_id']?>"><?=$row['port_directory']?></a></td>
41: <td><?=$row['port_last_built_version']?></td>
42: <td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
43: <?$reason=$row['port_last_fail_reason']?>
44: <td class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>">
45: <?$href=($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&failure_reason_tag=$reason#$reason" : "#"?>
46: <a href="<?=$href?>" class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?=$port_fail_reasons[$reason]['descr']?>"><?=$reason?></a>
47: </td>
48: <td>
49: <?if($row['port_link_logfile']){?>
50: <a href="<?=$row['port_link_logfile']?>">log</a>
51: <?}?>
52: <?if($row['port_link_package']){?>
53: <a href="<?=$row['port_link_package']?>">package</a>
54: <?}?>
55: </td>
56: <td><?=$row['port_last_built']?></td>
57: <td><?=$row['port_last_successful_built']?></td>
58: <td><?=time_elapsed($row['port_last_run_duration'])?></td>
59: </tr>
60: <?}?>
61: </table>
62: <?}else{?>
63: <p>No ports are being built.</p>
64: <?}?>
65:
66: <p>Local time: <?=$local_time?></p>
67: <?=$display_login?>
68: <p><a href="index.php">Back to homepage</a></p>
69: </body>
70: </html>