OLD | NEW |
(Empty) | |
| 1 <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
| 2 <%@ page import="java.util.List" %> |
| 3 <%@ page import="javax.jdo.PersistenceManager" %> |
| 4 <%@ page import="com.google.appengine.api.users.User" %> |
| 5 <%@ page import="com.google.appengine.api.users.UserService" %> |
| 6 <%@ page import="com.google.appengine.api.users.UserServiceFactory" %> |
| 7 <%@ page import="mydemo.BuildInfo" %> |
| 8 <%@ page import="mydemo.TestStatus" %> |
| 9 <%@ page import="mydemo.RegisterFeature" %> |
| 10 <%@ page import="mydemo.PMF" %> |
| 11 |
| 12 <html> |
| 13 <Head> |
| 14 <style> |
| 15 |
| 16 |
| 17 .fitrow { |
| 18 background-color:ffffff; |
| 19 height:20px; |
| 20 } |
| 21 </style> |
| 22 <script language="JavaScript"> |
| 23 var g_rowNo = 0; |
| 24 function addRow(selected_val) { |
| 25 |
| 26 if (selected_val == "New Build") { |
| 27 |
| 28 var div, br |
| 29 br = document.createElement("BR"); |
| 30 div = document.createElement("DIV"); |
| 31 text = document.createTextNode("Enter New Build Number: "); |
| 32 div.appendChild(text); |
| 33 var tbox; |
| 34 tbox=document.createElement('input'); |
| 35 tbox.type = 'text'; |
| 36 tbox.id = 'new_build_number'; |
| 37 tbox.name = 'build_number'; |
| 38 div.appendChild(tbox); |
| 39 |
| 40 var s = "/SubmitStatus-Windows.jsp"; |
| 41 window.location= s; |
| 42 document.getElementById('mainForm1').insertBefore(div, document.getElementById
('beforeThisRow')); |
| 43 document.getElementById("new_build").style.display="block"; |
| 44 document.getElementById("old_build").style.display="none"; |
| 45 } else{ |
| 46 var s = "/UpdateStatus-exp-query.jsp?buildn=" + selected_val ; |
| 47 window.location= s; |
| 48 } |
| 49 } |
| 50 </script> |
| 51 |
| 52 |
| 53 <style> |
| 54 |
| 55 |
| 56 ul#list-nav li { |
| 57 display:inline; |
| 58 } |
| 59 |
| 60 ul#list-nav li a { |
| 61 text-decoration:none; |
| 62 padding:5px 5px 5px 5px; |
| 63 background:9966ff; |
| 64 color:#eee; |
| 65 float:left; |
| 66 text-align:center; |
| 67 border-left:1px solid #fff; |
| 68 } |
| 69 |
| 70 ul#list-nav li a:hover { |
| 71 background:9999ff; |
| 72 color:#000 |
| 73 } |
| 74 |
| 75 |
| 76 </style> |
| 77 <script> |
| 78 |
| 79 var DDSPEED = 10; |
| 80 var DDTIMER = 15; |
| 81 |
| 82 // main function to handle the mouse events // |
| 83 function ddMenu(id,d){ |
| 84 var h = document.getElementById(id + '-ddheader'); |
| 85 var c = document.getElementById(id + '-ddcontent'); |
| 86 clearInterval(c.timer); |
| 87 if(d == 1){ |
| 88 clearTimeout(h.timer); |
| 89 if(c.maxh && c.maxh <= c.offsetHeight){return} |
| 90 else if(!c.maxh){ |
| 91 c.style.display = 'block'; |
| 92 c.style.height = 'auto'; |
| 93 c.maxh = c.offsetHeight; |
| 94 c.style.height = '0px'; |
| 95 } |
| 96 c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER); |
| 97 }else{ |
| 98 h.timer = setTimeout(function(){ddCollapse(c)},100); |
| 99 } |
| 100 } |
| 101 |
| 102 // collapse the menu // |
| 103 function ddCollapse(c){ |
| 104 c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER); |
| 105 } |
| 106 |
| 107 // cancel the collapse if a user rolls over the dropdown // |
| 108 function cancelHide(id){ |
| 109 var h = document.getElementById(id + '-ddheader'); |
| 110 var c = document.getElementById(id + '-ddcontent'); |
| 111 clearTimeout(h.timer); |
| 112 clearInterval(c.timer); |
| 113 if(c.offsetHeight < c.maxh){ |
| 114 c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER); |
| 115 } |
| 116 } |
| 117 |
| 118 // incrementally expand/contract the dropdown and change the opacity // |
| 119 function ddSlide(c,d){ |
| 120 var currh = c.offsetHeight; |
| 121 var dist; |
| 122 if(d == 1){ |
| 123 dist = (Math.round((c.maxh - currh) / DDSPEED)); |
| 124 }else{ |
| 125 dist = (Math.round(currh / DDSPEED)); |
| 126 } |
| 127 if(dist <= 1 && d == 1){ |
| 128 dist = 1; |
| 129 } |
| 130 c.style.height = currh + (dist * d) + 'px'; |
| 131 c.style.opacity = currh / c.maxh; |
| 132 c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')'; |
| 133 if((currh < 2 && d != 1) || (currh > (c.maxh - 2) && d == 1)){ |
| 134 clearInterval(c.timer); |
| 135 } |
| 136 } |
| 137 |
| 138 </script> |
| 139 |
| 140 <style> |
| 141 .menu{ |
| 142 width:717px; |
| 143 height:65px; |
| 144 |
| 145 } |
| 146 .links div{ |
| 147 float:left;} |
| 148 .dropdown { |
| 149 |
| 150 background:9966ff; |
| 151 color:#eee; |
| 152 border-left:1px solid #fff; |
| 153 font-family:BOOK ANTIQUA; |
| 154 font-size:14px; |
| 155 margin: 0; |
| 156 padding:0px;} |
| 157 |
| 158 .dropdown dt:hover { |
| 159 background:9999ff; |
| 160 } |
| 161 |
| 162 .dropdown dt { |
| 163 |
| 164 cursor:pointer;} |
| 165 .dropdown dd { |
| 166 position:absolute; |
| 167 overflow:hidden; |
| 168 display:none; |
| 169 background:9966ff; |
| 170 z-index:1000; |
| 171 opacity:.5; |
| 172 margin:0 0 0 20px; |
| 173 border-left:2px solid #620000; |
| 174 border-right:2px solid #620000} |
| 175 |
| 176 .dropdown ul { |
| 177 width:100px; |
| 178 list-style:none; |
| 179 margin:0; |
| 180 padding: 0; |
| 181 z-index:900;} |
| 182 .dropdown li { |
| 183 display:block; |
| 184 width: 100px; |
| 185 margin: 0; |
| 186 padding: 5px; |
| 187 border-bottom:2px solid #620000;} |
| 188 .dropdown li a{ |
| 189 float:none; |
| 190 width:auto; |
| 191 padding: 0; |
| 192 width:100px} |
| 193 |
| 194 .dropdown a:hover { |
| 195 color:#FFFF00;} |
| 196 |
| 197 a{ |
| 198 color:blue; |
| 199 font-family:BOOK ANTIQUA; |
| 200 font-size:15px; |
| 201 text-decoration: none; |
| 202 padding-left:23px; |
| 203 padding-right:23px; |
| 204 } |
| 205 a:hover { |
| 206 background:9999ff; |
| 207 color:#000 |
| 208 } |
| 209 </style> |
| 210 |
| 211 <body> |
| 212 <div align=center class="headerMembers"> |
| 213 <!-- menu starts here --> |
| 214 <div class="menu"> |
| 215 <div class="links"> |
| 216 <body> |
| 217 <H2 align=center><font color="background:9900CC"> Chrome Release testing dashboa
rd </font></h2> |
| 218 |
| 219 <div> |
| 220 <dl class="dropdown"> |
| 221 <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu
('one',-1)"><a>Register new feature</a></dt> |
| 222 <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddM
enu('one',-1)"> |
| 223 <ul> |
| 224 <li><a href="registerfeature.jsp">Chrome</a></li> |
| 225 <li><a href="">Chrome Frame</a></li> |
| 226 </ul> |
| 227 </dd> |
| 228 </dl> |
| 229 </div> |
| 230 |
| 231 |
| 232 <div> |
| 233 <dl class="dropdown"> |
| 234 <dt id="two-ddheader" onmouseover="ddMenu('two',1)" onmouseout="ddMenu
('two',-1)"><a>Submit Status</a></dt> |
| 235 <dd id="two-ddcontent" onmouseover="cancelHide('two')" onmouseout="ddM
enu('two',-1)"> |
| 236 <ul> |
| 237 <li><a href="SubmitStatus-Windows.jsp">Windows</a></li> |
| 238 <li><a href="SubmitStatus-Mac.jsp">Mac</a></li> |
| 239 <li><a href="SubmitStatus-Linux.jsp">Linux</a></li> |
| 240 <li><a href="">Chrome Frame </a></li> |
| 241 </ul> |
| 242 </dd> |
| 243 </dl> |
| 244 </div> |
| 245 |
| 246 <div> |
| 247 <dl class="dropdown"> |
| 248 <dt id="three-ddheader" onmouseover="ddMenu('three',1)" onmouseout="dd
Menu('three',-1)"><a>View Status</a></dt> |
| 249 <dd id="three-ddcontent" onmouseover="cancelHide('three')" onmouseout=
"ddMenu('three',-1)"> |
| 250 <ul> |
| 251 <li><a href="TestingStatus-query.jsp">Windows</a></li> |
| 252 <li><a href="TestingStatus-query-Mac.jsp">Mac</a></li> |
| 253 <li><a href="TestingStatus-query-Linux.jsp">Linux</a></li> |
| 254 <li><a href="">Chrome Frame </a></li> |
| 255 </ul> |
| 256 </dd> |
| 257 </dl> |
| 258 </div> |
| 259 |
| 260 <div> |
| 261 <dl class="dropdown"> |
| 262 <dt id="four-ddheader" onmouseover="ddMenu('four',1)" onmouseout="ddMe
nu('four',-1)"><a>Release Blockers</a></dt> |
| 263 <dd id="four-ddcontent" onmouseover="cancelHide('four')" onmouseout="d
dMenu('four',-1)"> |
| 264 <ul> |
| 265 <li><a href="Release-blockers.jsp?channel=Dev">Dev</a></li> |
| 266 <li><a href="Release-blockers.jsp?channel=Beta">Beta</a></li> |
| 267 <li><a href="Release-blockers.jsp?channel=Stable">Stable</a></
li> |
| 268 <li><a href="">ChromeFrame-Dev</a></li> |
| 269 <li><a href="">ChromeFrame-Beta</a></li> |
| 270 </ul> |
| 271 </dd> |
| 272 </dl> |
| 273 </div> |
| 274 <div style="background:9966ff;border-left:1px solid #fff;"><a href="calendar.jsp
">Calendar</a></div> |
| 275 |
| 276 </body> |
| 277 </div> |
| 278 </div> |
| 279 </div> |
| 280 </html> |
| 281 |
| 282 <BODY style="background:CCCCFF; font-family:BOOK ANTIQUA"> |
| 283 |
| 284 |
| 285 <% |
| 286 PersistenceManager pm1 = PMF.get().getPersistenceManager(); |
| 287 String query1 = "select from " + BuildInfo.class.getName(); |
| 288 List<BuildInfo> build_val = (List<BuildInfo>) pm1.newQuery(query1).execute()
; |
| 289 %> |
| 290 |
| 291 <div style="position:relative; width:100%; height:20px"></div> |
| 292 <form id='mainForm1' action="/update" method="post" align=center> |
| 293 |
| 294 <%if (build_val.isEmpty()) { %> |
| 295 <b>Pick a build:</b> <select name="buildn" id="bld_val" onChange="addRow(this
.options[selectedIndex].text);"> |
| 296 <option value="Pick a build" selected>Pick a build |
| 297 <option value="New Build">New Build |
| 298 </select> |
| 299 |
| 300 <% } |
| 301 else { |
| 302 %> |
| 303 |
| 304 |
| 305 |
| 306 <div style="font-family:BOOK ANTIQUA"><b>Pick a build:</b><select name="buildn
" id="bld_val" onChange="addRow(this.options[selectedIndex].text);"> |
| 307 <option value=<%= request.getParameter("buildn") %> selected><%= request.getPa
rameter("buildn") %> |
| 308 <% for (BuildInfo g : build_val) { %> |
| 309 <option value=<%= g.getBuildNumber() %>><%= g.getBuildNumber() %> |
| 310 <% } %> |
| 311 <option value="New Build">New Build |
| 312 </select> |
| 313 |
| 314 <% |
| 315 } |
| 316 pm1.close(); |
| 317 %> |
| 318 </div> |
| 319 |
| 320 <div id='beforeThisRow'></div> |
| 321 |
| 322 |
| 323 <b> Tester Name: </b><input type='text' name="user_name"> |
| 324 |
| 325 <div id="status" > |
| 326 <% |
| 327 PersistenceManager pm3 = PMF.get().getPersistenceManager(); |
| 328 String query2 = "select from " + RegisterFeature.class.getName() + " where f
eature_type=='Frontend'"; |
| 329 List<RegisterFeature> feature_list = (List<RegisterFeature>) pm3.newQuery(qu
ery2).execute(); |
| 330 |
| 331 |
| 332 PersistenceManager pm = PMF.get().getPersistenceManager(); |
| 333 String query = "select from " + TestStatus.class.getName() + " where build_n
umber=='" + request.getParameter("buildn") +"'" ; |
| 334 List<TestStatus> windows = (List<TestStatus>) pm.newQuery(query).execute(); |
| 335 |
| 336 |
| 337 %> |
| 338 |
| 339 |
| 340 |
| 341 <% if (windows.isEmpty()) { %> |
| 342 <p>No Status.</p> |
| 343 <script> |
| 344 |
| 345 var objSelect = document.getElementById("bld_val"); |
| 346 var strSelect = objSelect.options[objSelect.selectedIndex].text; |
| 347 var s = "/SubmitStatus-Windows.jsp?update=" + strSelect ; |
| 348 window.location= s; |
| 349 </script> |
| 350 <% }%> |
| 351 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa
y:none" align=center> |
| 352 <tr><td><H3><br>Frontend:</H3></td></tr> |
| 353 <tr> |
| 354 <th ><b>Feature name</b></th> |
| 355 <th><b>XP</b></th> |
| 356 <th ><b>Vista</b></th> |
| 357 <th><b>Win7</b></th> |
| 358 <th><b>Bugs Found</b></th> |
| 359 <% for (RegisterFeature f_list : feature_list) { |
| 360 int found = 0; |
| 361 for (TestStatus win_status : windows) { %> |
| 362 |
| 363 <% if ((win_status.getFeatureName()).equals(f_list.getF
eatureName())) {%> |
| 364 <tr class ="fitrow" style="border:1px solid #CCC; Color: b
lack; padding: 2px"> |
| 365 <td> <input type="text" name="feature_name" value='<%
= f_list.getFeatureName() %>'></td> |
| 366 |
| 367 |
| 368 <% if (win_status.getStatusXP()
.equals("Buggy")) {%> |
| 369 <td align=center><select styl
e="background-color:#FF0000" name="test_status_xp"> |
| 370 <option value="Not Started" >Not Started |
| 371 <option value=
"InProgress" >InProgress |
| 372 <option value=
"Buggy" selected>Buggy |
| 373 <option value=
"Finished">Finished |
| 374 </select> |
| 375 </td> |
| 376 |
| 377 <% } else if (win_stat
us.getStatusXP().equals("InProgress")) { %> |
| 378 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_xp"> |
| 379 <option value="Not Started" >Not Started |
| 380 <option value=
"InProgress" selected>InProgress |
| 381 <option value=
"Buggy">Buggy |
| 382 <option value=
"Finished">Finished |
| 383 </select> |
| 384 </td> |
| 385 |
| 386 <% } else if (win_status.getStatusXP().equals("Finis
hed")) { %> |
| 387 <td align=center ><select style="background-
color:#008000" name="test_status_xp"> |
| 388 <option value="Not Started" >Not Started |
| 389 <option value=
"InProgress" >InProgress |
| 390 <option value=
"Buggy">Buggy |
| 391 <option value=
"Finished"selected>Finished |
| 392 </select> |
| 393 </td> |
| 394 <% } else{ %> |
| 395 <td align=center><s
elect style="background-color:#FFA500" name="test_status_xp"> |
| 396 <option value="Not Started" selected>Not Start
ed |
| 397 <option value=
"InProgress" >InProgress |
| 398 <option value=
"Buggy">Buggy |
| 399 <option value=
"Finished">Finished |
| 400 </select> |
| 401 </td> |
| 402 <%}%> |
| 403 |
| 404 |
| 405 |
| 406 <% if (win_status.getStatusVis
ta().equals("Buggy")) {%> |
| 407 <td align=center><select styl
e="background-color:#FF0000" name="test_status_vista"> |
| 408 <option value="Not Started" >Not Started |
| 409 <option value=
"InProgress" >InProgress |
| 410 <option value=
"Buggy" selected>Buggy |
| 411 <option value=
"Finished">Finished |
| 412 </select> |
| 413 </td> |
| 414 <% } else if (win_stat
us.getStatusVista().equals("InProgress")) { %> |
| 415 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_vista"> |
| 416 <option value="Not Started"> Not Started |
| 417 <option value=
"InProgress" selected>InProgress |
| 418 <option value=
"Buggy">Buggy |
| 419 <option value=
"Finished">Finished |
| 420 </select> |
| 421 </td> |
| 422 <% } else if (win_status.getStatusVista().equals("Fi
nished")) { %> |
| 423 <td align=center ><select style="background-
color:#008000" name="test_status_vista"> |
| 424 <option value="Not Started" >Not Started |
| 425 <option value=
"InProgress" >InProgress |
| 426 <option value=
"Buggy">Buggy |
| 427 <option value=
"Finished"selected>Finished |
| 428 </select> |
| 429 </td> |
| 430 <% } else{ %> |
| 431 <td align=center><se
lect style="background-color:#FFA500" name="test_status_vista"> |
| 432 <option value="Not Started" selected>Not Start
ed |
| 433 <option value=
"InProgress" >InProgress |
| 434 <option value=
"Buggy">Buggy |
| 435 <option value=
"Finished">Finished |
| 436 </select> |
| 437 </td> |
| 438 <%}%> |
| 439 |
| 440 |
| 441 |
| 442 <% if (win_status.getStatusWin
7().equals("Buggy")) {%> |
| 443 <td align=center><select sty
le="background-color:#FF0000" name="test_status_win7"> |
| 444 <option value="Not Started" >Not Started |
| 445 <option value=
"InProgress" >InProgress |
| 446 <option value=
"Buggy" selected>Buggy |
| 447 <option value=
"Finished">Finished |
| 448 </select> |
| 449 </td> |
| 450 <% } else if (win_stat
us.getStatusWin7().equals("InProgress")) { %> |
| 451 <td align=center><sele
ct style="background-color:#FFFF00" name="test_status_win7"> |
| 452 <option value="Not Started" >Not Started |
| 453 <option value=
"InProgress" selected>InProgress |
| 454 <option value=
"Buggy">Buggy |
| 455 <option value=
"Finished">Finished |
| 456 </select> |
| 457 </td> |
| 458 <% } else if (win_status.getStatusWin7().equals("Fin
ished")) { %> |
| 459 <td align=center ><select style="background
-color:#008000" name="test_status_win7"> |
| 460 <option value="Not Started" >Not Started |
| 461 <option value=
"InProgress" >InProgress |
| 462 <option value=
"Buggy">Buggy |
| 463 <option value=
"Finished"selected>Finished |
| 464 </select> |
| 465 </td> |
| 466 <% } else{ %> |
| 467 <td align=center><
select style="background-color:#FFA500" name="test_status_win7"> |
| 468 <option value="Not Started" selected>Not Start
ed |
| 469 <option value=
"InProgress" >InProgress |
| 470 <option value=
"Buggy">Buggy |
| 471 <option value=
"Finished">Finished |
| 472 </select> |
| 473 </td>
|
| 474 <%}%> |
| 475 <td> <input t
ype="text" name="notes" value='<%= win_status.getNotes()%>'></td> |
| 476 |
| 477 </tr> |
| 478 <% found=1; |
| 479 break; |
| 480 } |
| 481 |
| 482 } |
| 483 } |
| 484 |
| 485 |
| 486 pm.close(); |
| 487 |
| 488 %> |
| 489 </table> |
| 490 <% |
| 491 PersistenceManager pm_backend = PMF.get().getPersistenceManager(); |
| 492 String query_backend = "select from " + RegisterFeature.class.getName() + "
where feature_type=='Backend'"; |
| 493 List<RegisterFeature> backend_feature_list = (List<RegisterFeature>) pm_back
end.newQuery(query_backend).execute(); |
| 494 %> |
| 495 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa
y:none" align=center> |
| 496 <tr><td><H3><br>Backend:</H3></td></tr> |
| 497 <tr> |
| 498 <th ><b>Feature name</b></th> |
| 499 <th><b>XP</b></th> |
| 500 <th ><b>Vista</b></th> |
| 501 <th><b>Win7</b></th> |
| 502 <th><b>Bugs Found</b></th> |
| 503 <% for (RegisterFeature f_list : backend_feature_list) { |
| 504 int found = 0; |
| 505 for (TestStatus win_status : windows) { |
| 506 if ((win_status.getFeatureName()).equals(f_list.getF
eatureName())) {%> |
| 507 <tr class ="fitrow" style="border:1px solid #CCC; Color: b
lack; padding: 2px"> |
| 508 <td> <input type="text" name="feature_name" value='<%=
f_list.getFeatureName() %>'></td> |
| 509 |
| 510 |
| 511 <% if (win_status.getStatusXP()
.equals("Buggy")) {%> |
| 512 <td align=center><select styl
e="background-color:#FF0000" name="test_status_xp"> |
| 513 <option value="Not Started" >Not Started |
| 514 <option value=
"InProgress" >InProgress |
| 515 <option value=
"Buggy" selected>Buggy |
| 516 <option value=
"Finished">Finished |
| 517 </select> |
| 518 </td> |
| 519 |
| 520 <% } else if (win_stat
us.getStatusXP().equals("InProgress")) { %> |
| 521 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_xp"> |
| 522 <option value="Not Started" >Not Started |
| 523 <option value=
"InProgress" selected>InProgress |
| 524 <option value=
"Buggy">Buggy |
| 525 <option value=
"Finished">Finished |
| 526 </select> |
| 527 </td> |
| 528 |
| 529 <% } else if (win_status.getStatusXP().equals("Finis
hed")) { %> |
| 530 <td align=center ><select style="bac
kground-color:#008000" name="test_status_xp"> |
| 531 <option value="Not Started" >Not Started |
| 532 <option value=
"InProgress" >InProgress |
| 533 <option value=
"Buggy">Buggy |
| 534 <option value=
"Finished"selected>Finished |
| 535 </select> |
| 536 </td> |
| 537 |
| 538 <% } else{ %> |
| 539 <td align=center><s
elect style="background-color:#FFA500" name="test_status_xp"> |
| 540 <option value="Not Started" selected>Not Start
ed |
| 541 <option value=
"InProgress" >InProgress |
| 542 <option value=
"Buggy">Buggy |
| 543 <option value=
"Finished">Finished |
| 544 </select> |
| 545 </td> |
| 546 <%}%> |
| 547 |
| 548 |
| 549 |
| 550 |
| 551 <% if (win_status.getStatusVis
ta().equals("Buggy")) {%> |
| 552 <td align=center><select styl
e="background-color:#FF0000" name="test_status_vista"> |
| 553 <option value="Not Started" >Not Started |
| 554 <option value=
"InProgress" >InProgress |
| 555 <option value=
"Buggy" selected>Buggy |
| 556 <option value=
"Finished">Finished |
| 557 </select> |
| 558 </td> |
| 559 <% } else if (win_stat
us.getStatusVista().equals("InProgress")) { %> |
| 560 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_vista"> |
| 561 <option value="Not Started"> Not Started |
| 562 <option value=
"InProgress" selected>InProgress |
| 563 <option value=
"Buggy">Buggy |
| 564 <option value=
"Finished">Finished |
| 565 </select> |
| 566 </td> |
| 567 <% } else if (win_status.getStatusVista().equals("Fi
nished")) { %> |
| 568 <td align=center ><select style="background-
color:#008000" name="test_status_vista"> |
| 569 <option value="Not Started" >Not Started |
| 570 <option value=
"InProgress" >InProgress |
| 571 <option value=
"Buggy">Buggy |
| 572 <option value=
"Finished"selected>Finished |
| 573 </select> |
| 574 </td> |
| 575 <% } else{ %> |
| 576 <td align=center><se
lect style="background-color:#FFA500" name="test_status_vista"> |
| 577 <option value="Not Started" selected>Not Start
ed |
| 578 <option value=
"InProgress" >InProgress |
| 579 <option value=
"Buggy">Buggy |
| 580 <option value=
"Finished">Finished |
| 581 </select> |
| 582 </td> |
| 583 <%}%> |
| 584 |
| 585 |
| 586 |
| 587 <% if (win_status.getStatusWin
7().equals("Buggy")) {%> |
| 588 <td align=center><select sty
le="background-color:#FF0000" name="test_status_win7"> |
| 589 <option value="Not Started" >Not Started |
| 590 <option value=
"InProgress" >InProgress |
| 591 <option value=
"Buggy" selected>Buggy |
| 592 <option value=
"Finished">Finished |
| 593 </select> |
| 594 </td> |
| 595 <% } else if (win_stat
us.getStatusWin7().equals("InProgress")) { %> |
| 596 <td align=center><sele
ct style="background-color:#FFFF00" name="test_status_win7"> |
| 597 <option value="Not Started" >Not Started |
| 598 <option value=
"InProgress" selected>InProgress |
| 599 <option value=
"Buggy">Buggy |
| 600 <option value=
"Finished">Finished |
| 601 </select> |
| 602 </td> |
| 603 <% } else if (win_status.getStatusWin7().equals("Fin
ished")) { %> |
| 604 <td align=center ><select style="background-
color:#008000" name="test_status_win7"> |
| 605 <option value="Not Started" >Not Started |
| 606 <option value=
"InProgress" >InProgress |
| 607 <option value=
"Buggy">Buggy |
| 608 <option value=
"Finished"selected>Finished |
| 609 </select> |
| 610 </td> |
| 611 <% } else{ %> |
| 612 <td align=center><
select style="background-color:#FFA500" name="test_status_win7"> |
| 613 <option value="Not Started" selected>Not Start
ed |
| 614 <option value=
"InProgress" >InProgress |
| 615 <option value=
"Buggy">Buggy |
| 616 <option value=
"Finished">Finished |
| 617 </select> |
| 618 </td> |
| 619 |
| 620 <%}%> |
| 621 <td> <input type="text" name=
"notes" value='<%= win_status.getNotes()%>'></td> |
| 622 </tr> |
| 623 <% found=1; |
| 624 break; |
| 625 } |
| 626 } |
| 627 |
| 628 |
| 629 } |
| 630 |
| 631 pm_backend.close(); |
| 632 |
| 633 %> |
| 634 </table> |
| 635 |
| 636 <% |
| 637 PersistenceManager pm_compat = PMF.get().getPersistenceManager(); |
| 638 String query_compat = "select from " + RegisterFeature.class.getName() + " w
here feature_type=='Compat'"; |
| 639 List<RegisterFeature> compat_feature_list = (List<RegisterFeature>) pm_compa
t.newQuery(query_compat).execute(); |
| 640 %> |
| 641 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa
y:none" align=center> |
| 642 <tr><td><H3><br>Compat:</H3></td></tr> |
| 643 <tr> |
| 644 <th ><b>Feature name</b></th> |
| 645 <th><b>XP</b></th> |
| 646 <th ><b>Vista</b></th> |
| 647 <th><b>Win7</b></th> |
| 648 <th><b>Bugs Found</b></th> |
| 649 <% for (RegisterFeature f_list : compat_feature_list) { |
| 650 int found = 0; |
| 651 for (TestStatus win_status : windows) { |
| 652 if ((win_status.getFeatureName()).equals(f_list.getF
eatureName())) {%> |
| 653 <tr class ="fitrow" style="border:1px solid #CCC; Color: b
lack; padding: 2px"> |
| 654 <td> <input type="text" name="feature_name" value='<%= f
_list.getFeatureName() %>'></td> |
| 655 |
| 656 |
| 657 <% if (win_status.getStatusXP()
.equals("Buggy")) {%> |
| 658 <td align=center><select styl
e="background-color:#FF0000" name="test_status_xp"> |
| 659 <option value="Not Started" >Not Started |
| 660 <option value=
"InProgress" >InProgress |
| 661 <option value=
"Buggy" selected>Buggy |
| 662 <option value=
"Finished">Finished |
| 663 </select> |
| 664 </td> |
| 665 |
| 666 <% } else if (win_stat
us.getStatusXP().equals("InProgress")) { %> |
| 667 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_xp"> |
| 668 <option value="Not Started" >Not Started |
| 669 <option value=
"InProgress" selected>InProgress |
| 670 <option value=
"Buggy">Buggy |
| 671 <option value=
"Finished">Finished |
| 672 </select> |
| 673 </td> |
| 674 |
| 675 <% } else if (win_status.getStatusXP().equals("Finis
hed")) { %> |
| 676 <td align=center ><select style="background-
color:#008000" name="test_status_xp"> |
| 677 <option value="Not Started" >Not Started |
| 678 <option value=
"InProgress" >InProgress |
| 679 <option value=
"Buggy">Buggy |
| 680 <option value=
"Finished"selected>Finished |
| 681 </select> |
| 682 </td> |
| 683 <% } else{ %> |
| 684 <td align=center><s
elect style="background-color:#FFA500" name="test_status_xp"> |
| 685 <option value="Not Started" selected>Not Start
ed |
| 686 <option value=
"InProgress" >InProgress |
| 687 <option value=
"Buggy">Buggy |
| 688 <option value=
"Finished">Finished |
| 689 </select> |
| 690 </td> |
| 691 <%}%> |
| 692 |
| 693 |
| 694 |
| 695 |
| 696 <% if (win_status.getStatusVis
ta().equals("Buggy")) {%> |
| 697 <td align=center><select styl
e="background-color:#FF0000" name="test_status_vista"> |
| 698 <option value="Not Started" >Not Started |
| 699 <option value=
"InProgress" >InProgress |
| 700 <option value=
"Buggy" selected>Buggy |
| 701 <option value=
"Finished">Finished |
| 702 </select> |
| 703 </td> |
| 704 <% } else if (win_stat
us.getStatusVista().equals("InProgress")) { %> |
| 705 <td align=center><sel
ect style="background-color:#FFFF00" name="test_status_vista"> |
| 706 <option value="Not Started"> Not Started |
| 707 <option value=
"InProgress" selected>InProgress |
| 708 <option value=
"Buggy">Buggy |
| 709 <option value=
"Finished">Finished |
| 710 </select> |
| 711 </td> |
| 712 <% } else if (win_status.getStatusVista().equals("Fi
nished")) { %> |
| 713 <td align=center ><select style="background-
color:#008000" name="test_status_vista"> |
| 714 <option value="Not Started" >Not Started |
| 715 <option value=
"InProgress" >InProgress |
| 716 <option value=
"Buggy">Buggy |
| 717 <option value=
"Finished"selected>Finished |
| 718 </select> |
| 719 </td> |
| 720 <% } else{ %> |
| 721 <td align=center><se
lect style="background-color:#FFA500" name="test_status_vista"> |
| 722 <option value="Not Started" selected>Not Start
ed |
| 723 <option value=
"InProgress" >InProgress |
| 724 <option value=
"Buggy">Buggy |
| 725 <option value=
"Finished">Finished |
| 726 </select> |
| 727 </td> |
| 728 <%}%> |
| 729 |
| 730 |
| 731 |
| 732 <% if (win_status.getStatusWin
7().equals("Buggy")) {%> |
| 733 <td align=center><select sty
le="background-color:#FF0000" name="test_status_win7"> |
| 734 <option value="Not Started" >Not Started |
| 735 <option value=
"InProgress" >InProgress |
| 736 <option value=
"Buggy" selected>Buggy |
| 737 <option value=
"Finished">Finished |
| 738 </select> |
| 739 </td> |
| 740 <% } else if (win_stat
us.getStatusWin7().equals("InProgress")) { %> |
| 741 <td align=center><sele
ct style="background-color:#FFFF00" name="test_status_win7"> |
| 742 <option value="Not Started" >Not Started |
| 743 <option value=
"InProgress" selected>InProgress |
| 744 <option value=
"Buggy">Buggy |
| 745 <option value=
"Finished">Finished |
| 746 </select> |
| 747 </td> |
| 748 <% } else if (win_status.getStatusWin7().equals("Fin
ished")) { %> |
| 749 |
| 750 <td align=center><sel
ect style="background-color:#008000" name="test_status_win7"> |
| 751 <option value="Not Started" >Not Started |
| 752 <option value=
"InProgress" >InProgress |
| 753 <option value=
"Buggy">Buggy |
| 754 <option value=
"Finished"selected>Finished |
| 755 </select> |
| 756 </td> |
| 757 <% } else{ %> |
| 758 <td align=center><
select style="background-color:#FFA500" name="test_status_win7"> |
| 759 <option value="Not Started" selected>Not Start
ed |
| 760 <option value=
"InProgress" >InProgress |
| 761 <option value=
"Buggy">Buggy |
| 762 <option value=
"Finished">Finished |
| 763 </select> |
| 764 </td> |
| 765 |
| 766 <%}%> |
| 767 <td> <input type="text" name=
"notes" value='<%= win_status.getNotes()%>'></td> |
| 768 </tr> |
| 769 <% found=1; |
| 770 break; |
| 771 } |
| 772 } |
| 773 |
| 774 |
| 775 } |
| 776 |
| 777 pm_compat.close(); |
| 778 |
| 779 %> |
| 780 </table> |
| 781 |
| 782 </div> |
| 783 <br> |
| 784 <div><input type="submit" value="Update Status" /></div> |
| 785 </form> |
| 786 </body> |
| 787 </html> |
OLD | NEW |