Annotation of FreeBSD/tinderbox/webui/templates/default/config.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/config.tpl,v 1.5 2007/10/13 02:28:48 ade 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?> Config</h1>
! 10: <?if($errors){?>
! 11: <p style="color:#FF0000">
! 12: <?foreach($errors as $error){?>
! 13: <?=$error?><br />
! 14: <?}?>
! 15: </p>
! 16: <?} else {?>
! 17: <h2>configured builds:</h2>
! 18: <?if(!$no_build_list){?>
! 19: <table>
! 20: <tr>
! 21: <th>Name</th>
! 22: <th>Description</th>
! 23: <th>Jail Name</th>
! 24: <th>Ports Tree Name</th>
! 25: </tr>
! 26:
! 27: <?foreach($build_data as $row) {?>
! 28: <tr>
! 29: <td><?=$row['build_name']?></td>
! 30: <td><?=$row['build_description']?></td>
! 31: <td><?=$row['jail_name']?></td>
! 32: <td><?=$row['ports_tree_name']?></td>
! 33: </tr>
! 34: <?}?>
! 35:
! 36: </table>
! 37: <?}else{?>
! 38: <p>There are no builds configured.</p>
! 39: <?}?>
! 40:
! 41:
! 42: <h2>configured jails:</h2>
! 43: <?if(!$no_jail_list){?>
! 44: <table>
! 45: <tr>
! 46: <th>Name</th>
! 47: <th>Architecture</th>
! 48: <th>Description</th>
! 49: <th>Last Built</th>
! 50: <th>Tag</th>
! 51: <th>Update Cmd</th>
! 52: <th>Src Mount</th>
! 53: </tr>
! 54:
! 55: <?foreach($jail_data as $row) {?>
! 56: <tr>
! 57: <td><?=$row['jail_name']?></td>
! 58: <td><?=$row['jail_arch']?></td>
! 59: <td><?=$row['jail_description']?></td>
! 60: <td><?=$row['jail_last_built']?></td>
! 61: <td><?=$row['jail_tag']?></td>
! 62: <td><?=$row['jail_update_cmd']?></td>
! 63: <td><?=$row['jail_src_mount']?></td>
! 64: </tr>
! 65: <?}?>
! 66:
! 67: </table>
! 68: <?}else{?>
! 69: <p>There are no jails configured.</p>
! 70: <?}?>
! 71:
! 72:
! 73: <h2>configured ports trees:</h2>
! 74: <?if(!$no_ports_tree_list){?>
! 75: <table>
! 76: <tr>
! 77: <th>Name</th>
! 78: <th>Description</th>
! 79: <th>Last Built</th>
! 80: <th>Update Cmd</th>
! 81: <th>CVSWeb URL</th>
! 82: <th>Ports Mount</th>
! 83: </tr>
! 84:
! 85: <?foreach($ports_tree_data as $row) {?>
! 86: <tr>
! 87: <td><?=$row['ports_tree_name']?></td>
! 88: <td><?=$row['ports_tree_description']?></td>
! 89: <td><?=$row['ports_tree_last_built']?></td>
! 90: <td><?=$row['ports_tree_update_cmd']?></td>
! 91: <td><?=$row['ports_tree_cvsweb_url']?></td>
! 92: <td><?=$row['ports_tree_ports_mount']?></td>
! 93: </tr>
! 94: <?}?>
! 95:
! 96: </table>
! 97: <?}else{?>
! 98: <p>There are no ports trees configured.</p>
! 99: <?}?>
! 100:
! 101: <h2>further configurations:</h2>
! 102: <?if(!$no_config_option_list){?>
! 103: <table>
! 104: <tr>
! 105: <th>Name</th>
! 106: <th>Value</th>
! 107: </tr>
! 108:
! 109: <?foreach($config_option_data as $row) {?>
! 110: <tr>
! 111: <td><?=$row['config_option_name']?></td>
! 112: <td><?=$row['config_option_value']?></td>
! 113: </tr>
! 114: <?}?>
! 115:
! 116: </table>
! 117: <?}else{?>
! 118: <p>There are no further configurations.</p>
! 119: <?}?>
! 120:
! 121:
! 122:
! 123: <?}?>
! 124: <p><a href="index.php">Back to homepage</a></p>
! 125: <?=$display_login?>
! 126: </body>
! 127: </html>