Index: chrome_release_test_status/war/UpdateStatus-Mac.jsp |
=================================================================== |
--- chrome_release_test_status/war/UpdateStatus-Mac.jsp (revision 0) |
+++ chrome_release_test_status/war/UpdateStatus-Mac.jsp (revision 0) |
@@ -0,0 +1,675 @@ |
+<%@ page contentType="text/html;charset=UTF-8" language="java" %> |
+<%@ page import="java.util.List" %> |
+<%@ page import="javax.jdo.PersistenceManager" %> |
+<%@ page import="com.google.appengine.api.users.User" %> |
+<%@ page import="com.google.appengine.api.users.UserService" %> |
+<%@ page import="com.google.appengine.api.users.UserServiceFactory" %> |
+<%@ page import="mydemo.BuildInfo" %> |
+<%@ page import="mydemo.MacTestStatus" %> |
+<%@ page import="mydemo.RegisterFeature" %> |
+<%@ page import="mydemo.PMF" %> |
+ |
+<html> |
+<Head> |
+<style> |
+ |
+ |
+.fitrow { |
+background-color:ffffff; |
+height:20px; |
+} |
+</style> |
+<script language="JavaScript"> |
+var g_rowNo = 0; |
+function addRow(selected_val) { |
+ |
+if (selected_val == "New Build") { |
+ |
+ var div, br |
+ br = document.createElement("BR"); |
+ div = document.createElement("DIV"); |
+ text = document.createTextNode("Enter New Build Number: "); |
+ div.appendChild(text); |
+ var tbox; |
+ tbox=document.createElement('input'); |
+ tbox.type = 'text'; |
+ tbox.id = 'new_build_number'; |
+ tbox.name = 'build_number'; |
+ div.appendChild(tbox); |
+ |
+ var s = "/SubmitStatus-Mac.jsp"; |
+ window.location= s; |
+ document.getElementById('mainForm1').insertBefore(div, document.getElementById('beforeThisRow')); |
+ document.getElementById("new_build").style.display="block"; |
+ document.getElementById("old_build").style.display="none"; |
+ } else{ |
+ var s = "/UpdateStatus-Mac.jsp?buildn=" + selected_val ; |
+ window.location= s; |
+ } |
+ } |
+</script> |
+ |
+ |
+<style> |
+ |
+ |
+ul#list-nav li { |
+display:inline; |
+} |
+ |
+ul#list-nav li a { |
+text-decoration:none; |
+padding:5px 5px 5px 5px; |
+background:9966ff; |
+color:#eee; |
+float:left; |
+text-align:center; |
+border-left:1px solid #fff; |
+} |
+ |
+ul#list-nav li a:hover { |
+background:9999ff; |
+color:#000 |
+} |
+ |
+ |
+</style> |
+<script> |
+ |
+var DDSPEED = 10; |
+var DDTIMER = 15; |
+ |
+// main function to handle the mouse events // |
+function ddMenu(id,d){ |
+ var h = document.getElementById(id + '-ddheader'); |
+ var c = document.getElementById(id + '-ddcontent'); |
+ clearInterval(c.timer); |
+ if(d == 1){ |
+ clearTimeout(h.timer); |
+ if(c.maxh && c.maxh <= c.offsetHeight){return} |
+ else if(!c.maxh){ |
+ c.style.display = 'block'; |
+ c.style.height = 'auto'; |
+ c.maxh = c.offsetHeight; |
+ c.style.height = '0px'; |
+ } |
+ c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER); |
+ }else{ |
+ h.timer = setTimeout(function(){ddCollapse(c)},50); |
+ } |
+} |
+ |
+// collapse the menu // |
+function ddCollapse(c){ |
+ c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER); |
+} |
+ |
+// cancel the collapse if a user rolls over the dropdown // |
+function cancelHide(id){ |
+ var h = document.getElementById(id + '-ddheader'); |
+ var c = document.getElementById(id + '-ddcontent'); |
+ clearTimeout(h.timer); |
+ clearInterval(c.timer); |
+ if(c.offsetHeight < c.maxh){ |
+ c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER); |
+ } |
+} |
+ |
+// incrementally expand/contract the dropdown and change the opacity // |
+function ddSlide(c,d){ |
+ var currh = c.offsetHeight; |
+ var dist; |
+ if(d == 1){ |
+ dist = (Math.round((c.maxh - currh) / DDSPEED)); |
+ }else{ |
+ dist = (Math.round(currh / DDSPEED)); |
+ } |
+ if(dist <= 1 && d == 1){ |
+ dist = 1; |
+ } |
+ c.style.height = currh + (dist * d) + 'px'; |
+ c.style.opacity = currh / c.maxh; |
+ c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')'; |
+ if((currh < 2 && d != 1) || (currh > (c.maxh - 2) && d == 1)){ |
+ clearInterval(c.timer); |
+ } |
+} |
+ |
+</script> |
+ |
+<style> |
+.menu{ |
+ width:717px; |
+ height:65px; |
+ |
+} |
+.links div{ |
+ float:left;} |
+.dropdown { |
+ |
+ background:9966ff; |
+color:#eee; |
+ border-left:1px solid #fff; |
+ font-family:BOOK ANTIQUA; |
+ font-size:14px; |
+ margin: 0; |
+ padding:0px;} |
+ |
+.dropdown dt:hover { |
+ background:9999ff; |
+ } |
+ |
+.dropdown dt { |
+ |
+ cursor:pointer;} |
+.dropdown dd { |
+ position:absolute; |
+ overflow:hidden; |
+ display:none; |
+ background:9966ff; |
+ z-index:1000; |
+ opacity:.5; |
+ margin:0 0 0 20px; |
+ border-left:2px solid #620000; |
+ border-right:2px solid #620000} |
+ |
+.dropdown ul { |
+ width:100px; |
+ list-style:none; |
+ margin:0; |
+ padding: 0; |
+ z-index:900;} |
+.dropdown li { |
+ display:block; |
+ width: 100px; |
+ margin: 0; |
+ padding: 5px; |
+ border-bottom:2px solid #620000;} |
+.dropdown li a{ |
+ float:none; |
+ width:auto; |
+ padding: 0; |
+ width:100px} |
+ |
+.dropdown a:hover { |
+ color:#FFFF00;} |
+ |
+a{ |
+ color:blue; |
+ font-family:BOOK ANTIQUA; |
+ font-size:15px; |
+ text-decoration: none; |
+ padding-left:23px; |
+ padding-right:23px; |
+} |
+a:hover { |
+background:9999ff; |
+color:#000 |
+} |
+</style> |
+ |
+<body> |
+<div align=center class="headerMembers"> |
+<!-- menu starts here --> |
+<div class="menu"> |
+<div class="links"> |
+<body> |
+<H2 align=center><font color="background:9900CC"> Chrome Release testing dashboard </font></h2> |
+ |
+<div> |
+ <dl class="dropdown"> |
+ <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"><a>Register new feature</a></dt> |
+ <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)"> |
+ <ul> |
+ <li><a href="registerfeature.jsp">Chrome</a></li> |
+ <li><a href="">Chrome Frame</a></li> |
+ </ul> |
+ </dd> |
+ </dl> |
+</div> |
+ |
+ |
+<div> |
+ <dl class="dropdown"> |
+ <dt id="two-ddheader" onmouseover="ddMenu('two',1)" onmouseout="ddMenu('two',-1)"><a>Submit Status</a></dt> |
+ <dd id="two-ddcontent" onmouseover="cancelHide('two')" onmouseout="ddMenu('two',-1)"> |
+ <ul> |
+ <li><a href="SubmitStatus-Windows.jsp">Windows</a></li> |
+ <li><a href="SubmitStatus-Mac.jsp">Mac</a></li> |
+ <li><a href="SubmitStatus-Linux.jsp">Linux</a></li> |
+ <li><a href="">Chrome Frame </a></li> |
+ </ul> |
+ </dd> |
+ </dl> |
+</div> |
+ |
+<div> |
+ <dl class="dropdown"> |
+ <dt id="three-ddheader" onmouseover="ddMenu('three',1)" onmouseout="ddMenu('three',-1)"><a>View Status</a></dt> |
+ <dd id="three-ddcontent" onmouseover="cancelHide('three')" onmouseout="ddMenu('three',-1)"> |
+ <ul> |
+ <li><a href="TestingStatus-query.jsp">Windows</a></li> |
+ <li><a href="TestingStatus-query-Mac.jsp">Mac</a></li> |
+ <li><a href="TestingStatus-query-Linux.jsp">Linux</a></li> |
+ <li><a href="">Chrome Frame </a></li> |
+ </ul> |
+ </dd> |
+ </dl> |
+</div> |
+ |
+<div> |
+ <dl class="dropdown"> |
+ <dt id="four-ddheader" onmouseover="ddMenu('four',1)" onmouseout="ddMenu('four',-1)"><a>Release Blockers</a></dt> |
+ <dd id="four-ddcontent" onmouseover="cancelHide('four')" onmouseout="ddMenu('four',-1)"> |
+ <ul> |
+ <li><a href="Release-blockers.jsp?channel=Dev">Dev</a></li> |
+ <li><a href="Release-blockers.jsp?channel=Beta">Beta</a></li> |
+ <li><a href="Release-blockers.jsp?channel=Stable">Stable</a></li> |
+ <li><a href="">ChromeFrame-Dev</a></li> |
+ <li><a href="">ChromeFrame-Beta</a></li> |
+ </ul> |
+ </dd> |
+ </dl> |
+</div> |
+<div style="background:9966ff;border-left:1px solid #fff;"><a href="calendar.jsp">Calendar</a></div> |
+ |
+</body> |
+</div> |
+</div> |
+</div> |
+</html> |
+ |
+<BODY style="background:CCCCFF; font-family:BOOK ANTIQUA"> |
+ |
+ |
+ |
+<% |
+ PersistenceManager pm1 = PMF.get().getPersistenceManager(); |
+ String query1 = "select from " + BuildInfo.class.getName(); |
+ List<BuildInfo> build_val = (List<BuildInfo>) pm1.newQuery(query1).execute(); |
+%> |
+ |
+<div style="position:relative; width:100%; height:20px"></div> |
+<form id='mainForm1' action="/updatemac" method="post" align=center> |
+ |
+<%if (build_val.isEmpty()) { %> |
+ <b>Pick a build:</b> <select name="buildn" id="bld_val" onChange="addRow(this.options[selectedIndex].text);"> |
+<option value="Pick a build" selected>Pick a build |
+ <option value="New Build">New Build |
+ </select> |
+ |
+ <% } |
+else { |
+ %> |
+ |
+ |
+ |
+ <div style="font-family:BOOK ANTIQUA"><b>Pick a build:</b><select name="buildn" id="bld_val" onChange="addRow(this.options[selectedIndex].text);"> |
+ <option value=<%= request.getParameter("buildn") %> selected><%= request.getParameter("buildn") %> |
+ <% for (BuildInfo g : build_val) { %> |
+ <option value=<%= g.getBuildNumber() %>><%= g.getBuildNumber() %> |
+ <% } %> |
+ <option value="New Build">New Build |
+ </select> |
+ |
+<% |
+ } |
+ pm1.close(); |
+%> |
+</div> |
+ |
+ <div id='beforeThisRow'></div> |
+ |
+ |
+<b> Tester Name: </b><input type='text' name="user_name"> |
+ |
+<div id="status" > |
+<% |
+ PersistenceManager pm3 = PMF.get().getPersistenceManager(); |
+ String query2 = "select from " + RegisterFeature.class.getName() + " where feature_type=='Frontend'"; |
+ List<RegisterFeature> feature_list = (List<RegisterFeature>) pm3.newQuery(query2).execute(); |
+ |
+ |
+ PersistenceManager pm = PMF.get().getPersistenceManager(); |
+ String query = "select from " + MacTestStatus.class.getName() + " where build_number=='" + request.getParameter("buildn") +"'" ; |
+ List<MacTestStatus> mac_status = (List<MacTestStatus>) pm.newQuery(query).execute(); |
+ |
+ |
+%> |
+ |
+<% if (mac_status.isEmpty()) { %> |
+<p>No Status.</p> |
+<script> |
+var objSelect = document.getElementById("bld_val"); |
+var strSelect = objSelect.options[objSelect.selectedIndex].text; |
+var s = "/SubmitStatus-Mac.jsp?update=" + strSelect ; |
+window.location= s; |
+</script> |
+<% }%> |
+ |
+<table class="mytable" style="table-layout: fixed;" id="old_build" style="display:none" align=center> |
+<tr><td><H3><br>Frontend:</H3></td></tr> |
+<tr> |
+<th ><b>Feature name</b></th> |
+<th ><b>Leopard</b></th> |
+<th><b>Snow Leopard</b></th> |
+<th><b>Bugs Found</b></th> |
+ <% for (RegisterFeature f_list : feature_list) { |
+ int found = 0; |
+ for (MacTestStatus mac_update_status : mac_status) { |
+ if ((mac_update_status.getFeatureName()).equals(f_list.getFeatureName())) {%> |
+ <tr class ="fitrow" style="border:1px solid #CCC; Color: black; padding: 2px"> |
+ <td> <input type="text" name="feature_name" value='<%= f_list.getFeatureName() %>'></td> |
+ |
+ |
+ <% if (mac_update_status.getStatusLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_lp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ |
+ |
+ |
+ |
+ <% if (mac_update_status.getStatusSLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_slp"> |
+ <option value="Not Started"> Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_slp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ |
+ <td> <input type="text" name="notes" value='<%= mac_update_status.getNotes()%>'></td> |
+ </tr> |
+ <% found=1; |
+ break; |
+ } |
+ } |
+ } |
+ |
+ |
+ pm.close(); |
+ |
+%> |
+</table> |
+<% |
+ PersistenceManager pm_backend = PMF.get().getPersistenceManager(); |
+ String query_backend = "select from " + RegisterFeature.class.getName() + " where feature_type=='Backend'"; |
+ List<RegisterFeature> backend_feature_list = (List<RegisterFeature>) pm_backend.newQuery(query_backend).execute(); |
+ %> |
+<table class="mytable" style="table-layout: fixed;" id="old_build" style="display:none" align=center> |
+<tr><td><H3><br>Backend:</H3></td></tr> |
+<tr> |
+<th ><b>Leopard</b></th> |
+<th><b>Snow Leopard</b></th> |
+<th><b>Bugs Found</b></th> |
+ <% for (RegisterFeature f_list : backend_feature_list) { |
+ int found = 0; |
+ for (MacTestStatus mac_update_status : mac_status) { |
+ if ((mac_update_status.getFeatureName()).equals(f_list.getFeatureName())) {%> |
+ <tr class ="fitrow" style="border:1px solid #CCC; Color: black; padding: 2px"> |
+ <td> <input type="text" name="feature_name" value='<%= f_list.getFeatureName() %>'></td> |
+ |
+ |
+ <% if (mac_update_status.getStatusLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_lp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ |
+ |
+ |
+ |
+ <% if (mac_update_status.getStatusSLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_slp"> |
+ <option value="Not Started"> Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_slp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ <td> <input type="text" name="notes" value='<%= mac_update_status.getNotes()%>'></td> |
+ </tr> |
+ <% found=1; |
+ break; |
+ } |
+ } |
+ |
+ |
+ } |
+ |
+ pm_backend.close(); |
+ |
+%> |
+</table> |
+ |
+<% |
+ PersistenceManager pm_compat = PMF.get().getPersistenceManager(); |
+ String query_compat = "select from " + RegisterFeature.class.getName() + " where feature_type=='Compat'"; |
+ List<RegisterFeature> compat_feature_list = (List<RegisterFeature>) pm_compat.newQuery(query_compat).execute(); |
+ %> |
+<table class="mytable" style="table-layout: fixed;" id="old_build" style="display:none" align=center> |
+<tr><td><H3><br>Compat:</H3></td></tr> |
+<tr> |
+<th ><b>Leopard</b></th> |
+<th><b>Snow Leopard</b></th> |
+<th><b>Bugs Found</b></th> |
+ <% for (RegisterFeature f_list : compat_feature_list) { |
+ int found = 0; |
+ for (MacTestStatus mac_update_status : mac_status) { |
+ if ((mac_update_status.getFeatureName()).equals(f_list.getFeatureName())) {%> |
+ <tr class ="fitrow" style="border:1px solid #CCC; Color: black; padding: 2px"> |
+ <td> <input type="text" name="feature_name" value='<%= f_list.getFeatureName() %>'></td> |
+ |
+ |
+ <% if (mac_update_status.getStatusLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ |
+ <% } else if (mac_update_status.getStatusLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_lp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_lp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ |
+ |
+ |
+ |
+ <% if (mac_update_status.getStatusSLP().equals("Buggy")) {%> |
+ <td align=center><select style="background-color:#FF0000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy" selected>Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("InProgress")) { %> |
+ <td align=center><select style="background-color:#FFFF00" name="test_status_slp"> |
+ <option value="Not Started"> Not Started |
+ <option value="InProgress" selected>InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <% } else if (mac_update_status.getStatusSLP().equals("Finished")) { %> |
+ <td align=center ><select style="background-color:#008000" name="test_status_slp"> |
+ <option value="Not Started" >Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished"selected>Finished |
+ </select> |
+ </td> |
+ <% } else{ %> |
+ <td align=center><select style="background-color:#FFA500" name="test_status_slp"> |
+ <option value="Not Started" selected>Not Started |
+ <option value="InProgress" >InProgress |
+ <option value="Buggy">Buggy |
+ <option value="Finished">Finished |
+ </select> |
+ </td> |
+ <%}%> |
+ |
+ <td> <input type="text" name="notes" value='<%= mac_update_status.getNotes()%>'></td> |
+ </tr> |
+ <% found=1; |
+ break; |
+ } |
+ } |
+ |
+ |
+} |
+ |
+ pm_compat.close(); |
+ |
+%> |
+</table> |
+ |
+</div> |
+<br> |
+<div><input type="submit" value="Update Status" /></div> |
+</form> |
+</body> |
+</html> |