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