File:  [Paefchen] / FreeBSD / tinderbox / webui / templates / default / describe_port.tpl
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Fri Nov 2 20:55:00 2007 UTC (17 years ago) by as
Branches: MAIN
CVS tags: ORIG_3_0, HEAD, CH2PHP5
import 3.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- $MCom: portstools/tinderbox/webui/templates/default/describe_port.tpl,v 1.5 2007/06/09 22:09:12 marcus Exp $ //-->
<title><?=$tinderbox_name?></title>
<link href="<?=$templatesuri?>/tinderstyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1><?=$tinderbox_title?> - <?=$port_name?></h1>
<?if(!$no_list){?>
	<table>
		<tr>
			<td>Directory</td>
			<td><?=$port_dir?> (
			<?for($i=0;$i<count($ports_trees_links);$i++) {?>
				<a href="<?=$ports_trees_links[$i]['cvsweb']?>/<?=$port_dir?><?=$ports_trees_links[$i]['cvsweb_querystr']?>"><?=$ports_trees_links[$i]['name']?></a>
			<?}?>
			)</td>
		</tr>
		<tr>
			<td>Comment</td>
			<td><?=$port_comment?></td>
		</tr>
		<tr>
			<td>Maintainer</td>
			<td><a href="mailto:<?=$port_maintainer?>"><?=$port_maintainer?></a></td>
		</tr>
	</table>
	<p>&nbsp;</p>
	<table>
		<tr>
			<th>Build</th>
			<th>Version</th>
			<th style="width: 20px">&nbsp;</th>
			<th>&nbsp;</th>
			<th>Last Build Attempt</th>
			<th>Last Successful Build</th>
			<th>Duration</th>
		</tr>
		<?foreach($data as $row) {?>
			<tr>
				<td><a href="index.php?action=list_buildports&amp;build=<?=$row['build_name']?>"><?=$row['build_name']?></a></td>
				<td><?=$row['port_last_built_version']?></td>
				<td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
				<td>
					<?if($row['port_link_logfile']){?>
						<a href="<?=$row['port_link_logfile']?>">log</a>
					<?}?>
					<?if($row['port_link_package']){?>
						<a href="<?=$row['port_link_package']?>">package</a>
					<?}?>
				</td>
				<td><?=$row['port_last_built']?></td>
				<td><?=$row['port_last_successful_built']?></td>
				<td><?=time_elapsed($row['port_last_run_duration'])?></td>
			</tr>
		<?}?>
	</table>
<?}else{?>
	<p>Invalid port ID.</p>
<?}?>

<p>Local time: <?=$local_time?></p>
<?=$display_login?>
<p><a href="index.php">Back to homepage</a></p>
</body>
</html>