Annotation of FreeBSD/tinderbox/webui/templates/default/list_buildports.tpl, revision 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/list_buildports.tpl,v 1.9 2007/06/09 22:09:12 marcus Exp $ //-->
        !             5: <title><?=$tinderbox_name?></title>
        !             6: <link href="<?=$templatesuri?>/tinderstyle.css" rel="stylesheet" type="text/css" />
        !             7: </head>
        !             8: <body>
        !             9: <h1><?=$tinderbox_title?> - <?=$build_name?></h1>
        !            10: <table>
        !            11:  <tr>
        !            12:   <td>Description</td>
        !            13:   <td><?=$build_description?></td>
        !            14:  </tr>
        !            15:  <tr>
        !            16:   <td>System</td>
        !            17:   <td>FreeBSD <?=$jail_name?> (<?=$jail_tag?>) updated on <?=$jail_lastbuilt?></td>
        !            18:  </tr>
        !            19:  <tr>
        !            20:   <td>Ports Tree</td>
        !            21:   <td><?=$ports_tree_description?> updated on <?=$ports_tree_lastbuilt?></td>
        !            22:  </tr>
        !            23: </table>
        !            24:  <form method="get" action="index.php">
        !            25: <p>
        !            26:  <a href="index.php?action=latest_buildports&amp;build=<?=$build_name?>">Current and latest builds in this build</a><br />
        !            27:  <a href="index.php?action=failed_buildports&amp;build=<?=$build_name?>">Failed builds in this build</a><br />
        !            28:  <input type="hidden" name="action" value="failed_buildports" />
        !            29:  <input type="hidden" name="build" value="<?=$build_name?>" />
        !            30:  Failed builds in this build for the maintainer <select name="maintainer">
        !            31:        <option></option>
        !            32:  <?foreach($maintainers as $maintainer) {?>
        !            33:        <option><?=$maintainer?></option>
        !            34:  <?}?>
        !            35:  </select>
        !            36:  <input type="submit" name="Go" value="Go" /><br />
        !            37:  <a href="index.php">Back to homepage</a>
        !            38: </p>
        !            39:  </form>
        !            40: 
        !            41: <?if(!$no_list){?>
        !            42:        <table>
        !            43:                <tr>
        !            44:                        <th>
        !            45:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "port_directory") ?>">Port Directory</a>
        !            46:                        </th>
        !            47:                        <th>
        !            48:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "port_maintainer") ?>">Maintainer</a>
        !            49:                        </th>
        !            50:                        <th>
        !            51:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "last_built_version") ?>">Version</a>
        !            52:                        </th>
        !            53:                        <th style="width: 20px">&nbsp;</th>
        !            54:                        <th>
        !            55:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "last_fail_reason") ?>">Reason</a>
        !            56:                        </th>
        !            57:                        <th>&nbsp;</th>
        !            58:                        <th>
        !            59:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "last_built") ?>">Last Build Attempt</a>
        !            60:                        </th>
        !            61:                        <th>
        !            62:                                <a href="<?= build_query_string($_SERVER['PHP_SELF'], $querystring, "sort", "last_successful_built") ?>">Last Successful Build</a>
        !            63:                        </th>
        !            64:                </tr>
        !            65:                <?foreach($data as $row) {?>
        !            66:                        <tr>
        !            67:                                <td><a href="index.php?action=describe_port&amp;id=<?=$row['port_id']?>"><?=$row['port_directory']?></a></td>
        !            68:                                <td><?=$row['port_maintainer']?></td>
        !            69:                                <td><?=$row['port_last_built_version']?></td>
        !            70:                                <td class="<?=$row['status_field_class']?>"><?=$row['status_field_letter']?></td>
        !            71:                                <?$reason=$row['port_last_fail_reason']?>
        !            72:                                <td class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>">
        !            73:                                <?$href=($port_fail_reasons[$reason]['link']) ? "index.php?action=display_failure_reasons&amp;failure_reason_tag=$reason#$reason" : "#"?>
        !            74:                                <a href="<?=$href?>" class="<?="fail_reason_".$port_fail_reasons[$reason]['type']?>" title="<?=$port_fail_reasons[$reason]['descr']?>"><?=$reason?></a>
        !            75:                                </td>
        !            76:                                <td>
        !            77:                                        <?if($row['port_link_logfile']){?>
        !            78:                                                <a href="<?=$row['port_link_logfile']?>">log</a>
        !            79:                                        <?}?>
        !            80:                                        <?if($row['port_link_package']){?>
        !            81:                                                <a href="<?=$row['port_link_package']?>">package</a>
        !            82:                                        <?}?>
        !            83:                                </td>
        !            84:                                <td><?=$row['port_last_built']?></td>
        !            85:                                <td><?=$row['port_last_successful_built']?></td>
        !            86:                        </tr>
        !            87:                <?}?>
        !            88:        </table>
        !            89: <?}else{?>
        !            90:        <p>No ports are being built.</p>
        !            91: <?}?>
        !            92: 
        !            93: <p>Local time: <?=$local_time?></p>
        !            94: 
        !            95:  <form method="get" action="index.php">
        !            96: <p>
        !            97:  <a href="index.php?action=latest_buildports&amp;build=<?=$build_name?>">Current and latest builds in this build</a><br />
        !            98:  <a href="index.php?action=failed_buildports&amp;build=<?=$build_name?>">Failed builds in this build</a><br />
        !            99:  <input type="hidden" name="action" value="failed_buildports" />
        !           100:  <input type="hidden" name="build" value="<?=$build_name?>" />
        !           101:  Failed builds in this build for the maintainer <select name="maintainer">
        !           102:        <option></option>
        !           103:  <?foreach($maintainers as $maintainer) {?>
        !           104:        <option><?=$maintainer?></option>
        !           105:  <?}?>
        !           106:  </select>
        !           107:  <input type="submit" name="Go" value="Go" /><br />
        !           108:  <a href="index.php">Back to homepage</a>
        !           109: </p>
        !           110:  </form>
        !           111: <?=$display_login?>
        !           112: </body>
        !           113: </html>