Annotation of FreeBSD/tinderbox/webui/templates/default/list_tinderd_queue.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_tinderd_queue.tpl,v 1.10 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?> - Tinderd Administration</h1>
! 10: <form method="get" action="index.php">
! 11: <table>
! 12: <tr>
! 13: <td>
! 14: Build
! 15: </td>
! 16: <td>
! 17: <select name="filter_build_id">
! 18: <option></option>
! 19: <?foreach($all_builds as $build) {?>
! 20: <option value="<?=$build['build_id']?>" <?if ($build_id == $build['build_id']) {?>selected="selected"<?}?> ><?=$build['build_name']?></option>
! 21: <?}?>
! 22: </select>
! 23: </td>
! 24: </tr>
! 25: <tr>
! 26: <td colspan="2">
! 27: <input type="submit" name="display" value="display" />
! 28: </td>
! 29: </tr>
! 30: </table>
! 31: </form>
! 32:
! 33: <?if($errors){?>
! 34: <p style="color:#FF0000">
! 35: <?foreach($errors as $error){?>
! 36: <?=$error?><br />
! 37: <?}?>
! 38: </p>
! 39: <?}?>
! 40:
! 41: <table>
! 42: <tr>
! 43: <th>Build</th>
! 44: <th>Priority</th>
! 45: <th>Port Directory</th>
! 46: <th>User</th>
! 47: <th style="width: 20px"> </th>
! 48: <th>Email On<br />Completion</th>
! 49: <th> </th>
! 50: <th> </th>
! 51: <th> </th>
! 52: </tr>
! 53:
! 54: <?if(!$no_list){?>
! 55:
! 56: <?foreach($entries as $row) {?>
! 57: <form method="post" action="index.php">
! 58: <input type="hidden" name="action" value="change_tinderd_queue" />
! 59: <input type="hidden" name="entry_id" value="<?=$row['entry_id']?>" />
! 60: <input type="hidden" name="filter_build_id" value="<?=$build_id?>" />
! 61: <tr>
! 62: <td>
! 63: <?if($row['modify'] == 1){?>
! 64: <select name="build_id">
! 65: <?foreach($all_builds as $build) {?>
! 66: <option value="<?=$build['build_id']?>" <?if ($row['build'] == $build['build_name']) {?>selected<?}?> ><?=$build['build_name']?></option>
! 67: <?}?>
! 68: </select>
! 69: <?}else{?>
! 70: <?=$row['build']?>
! 71: <?}?>
! 72: </td>
! 73: <td>
! 74: <?if($row['modify'] == 1){?>
! 75: <select name="priority">
! 76: <?foreach($row['all_prio'] as $prio) {?>
! 77: <option value="<?=$prio?>" <?if ($row['priority'] == $prio) {?>selected<?}?> ><?=$prio?></option>
! 78: <?}?>
! 79: </select>
! 80: <?}else{?>
! 81: <?=$row['priority']?>
! 82: <?}?>
! 83: </td>
! 84: <td><?=$row['directory']?></td>
! 85: <td><?=$row['user']?></td>
! 86: <td class="<?=$row['status_field_class']?>"> </td>
! 87: <td align="center">
! 88: <?if($row['modify'] == 1){?>
! 89: <input type="checkbox" name="email_on_completion" value="1" <?if($row['email_on_completion'] == 1 ) {?>checked="checked"<?}?> />
! 90: <?}else{?>
! 91: <?if($row['email_on_completion'] == 1 ) {?>X"<?}?>
! 92: <?}?>
! 93: </td>
! 94: <td>
! 95: <?if($row['modify'] == 1){?>
! 96: <input type="submit" name="change_tinderd_queue" value="save" />
! 97: <?}?>
! 98: </td>
! 99: <td>
! 100: <?if($row['delete'] == 1){?>
! 101: <input type="submit" name="change_tinderd_queue" value="delete" />
! 102: <?}?>
! 103: </td>
! 104: <td>
! 105: <?if($row['modify'] == 1){?>
! 106: <input type="submit" name="change_tinderd_queue" value="reset status" />
! 107: <?}?>
! 108: </td>
! 109: </tr>
! 110: </form>
! 111: <?}?>
! 112: <?}?>
! 113: <form method="post" action="index.php">
! 114: <input type="hidden" name="action" value="add_tinderd_queue" />
! 115: <input type="hidden" name="entry_id" value="<?=$row['entry_id']?>" />
! 116: <input type="hidden" name="filter_build_id" value="<?=$build_id?>" />
! 117: <tr>
! 118: <td>
! 119: <br />
! 120: <select name="new_build_id">
! 121: <?foreach($all_builds as $build) {?>
! 122: <option value="<?=$build['build_id']?>" <?if ($new_build_id == $build['build_id']) {?>selected<?}?> ><?=$build['build_name']?></option>
! 123: <?}?>
! 124: </select>
! 125: </td>
! 126: <td>
! 127: <br />
! 128: <select name="new_priority">
! 129: <?foreach($all_prio as $prio) {?>
! 130: <option value="<?=$prio?>" <?if ($new_priority == $prio) {?>selected<?}?> ><?=$prio?></option>
! 131: <?}?>
! 132: </select>
! 133: </td>
! 134: <td><br /><input type="text" size="20" name="new_port_directory" value="<?=$new_port_directory?>" /></td>
! 135: <td> </td>
! 136: <td> </td>
! 137: <td align="center">
! 138: <input type="checkbox" name="new_email_on_completion" value="1" <?if($new_email_on_completion == 1 ) {?>checked="checked"<?}?> />
! 139: </td>
! 140: <td colspan="3"><br /><input type="submit" name="add_tinderd_queue" value="add" /></td>
! 141: </tr>
! 142: </form>
! 143:
! 144: </table>
! 145:
! 146:
! 147: <p>
! 148: <a href="index.php">Back to homepage</a>
! 149: </p>
! 150: <?=$display_login?>
! 151: </body>
! 152: </html>