Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(911)

Side by Side Diff: chrome_release_test_status/war/UpdateStatus-Linux.jsp

Issue 2831022: The following java and jsp files will collect the Chrome release testing stat... Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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.LinuxTestStatus" %>
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-Linux.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-Linux.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)},50);
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 <%
287 PersistenceManager pm1 = PMF.get().getPersistenceManager();
288 String query1 = "select from " + BuildInfo.class.getName();
289 List<BuildInfo> build_val = (List<BuildInfo>) pm1.newQuery(query1).execute() ;
290 %>
291
292 <div style="position:relative; width:100%; height:20px"></div>
293 <form id='mainForm1' action="/updatelinux" method="post" align=center>
294
295 <%if (build_val.isEmpty()) { %>
296 <b>Pick a build:</b> <select name="buildn" id="bld_val" onChange="addRow(thi s.options[selectedIndex].text);">
297 <option value="Pick a build" selected>Pick a build
298 <option value="New Build">New Build
299 </select>
300
301 <% }
302 else {
303 %>
304
305
306
307 <div style="font-family:BOOK ANTIQUA" align=center><b>Pick a build:</b><select name="buildn" id="bld_val" onChange="addRow(this.options[selectedIndex].text); ">
308 <option value=<%= request.getParameter("buildn") %> selected><%= request.getPa rameter("buildn") %>
309 <% for (BuildInfo g : build_val) { %>
310 <option value=<%= g.getBuildNumber() %>><%= g.getBuildNumber() %>
311 <% } %>
312 <option value="New Build">New Build
313 </select>
314
315 <%
316 }
317 pm1.close();
318 %>
319 </div>
320
321 <div id='beforeThisRow'></div>
322
323
324 <b> Tester Name: </b><input type='text' name="user_name">
325
326 <div id="status" >
327 <%
328 PersistenceManager pm3 = PMF.get().getPersistenceManager();
329 String query2 = "select from " + RegisterFeature.class.getName() + " where f eature_type=='Frontend'";
330 List<RegisterFeature> feature_list = (List<RegisterFeature>) pm3.newQuery(qu ery2).execute();
331
332
333 PersistenceManager pm = PMF.get().getPersistenceManager();
334 String query = "select from " + LinuxTestStatus.class.getName() + " where bu ild_number=='" + request.getParameter("buildn") +"'" ;
335 List<LinuxTestStatus> linux_status = (List<LinuxTestStatus>) pm.newQuery(que ry).execute();
336
337
338 %>
339
340 <% if (linux_status.isEmpty()) { %>
341 <p>No Status.</p>
342 <script>
343 var objSelect = document.getElementById("bld_val");
344 var strSelect = objSelect.options[objSelect.selectedIndex].text;
345 var s = "/SubmitStatus-Linux.jsp?update=" + strSelect ;
346 window.location= s;
347 </script>
348 <% }%>
349
350 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa y:none" align=center>
351 <tr><td><H3><br>Frontend:</H3></td></tr>
352 <tr>
353 <th ><b>Goobuntu</b></th>
354 <th><b>Ubuntu</b></th>
355 <th ><b>OpenSuSe</b></th>
356 <th><b>Fedora</b></th>
357 <th><b>Bugs Found</b></th>
358 <% for (RegisterFeature f_list : feature_list) {
359 int found = 0;
360 for (LinuxTestStatus linx_status : linux_status) {
361 if ((linx_status.getFeatureName()).equals(f_list.get FeatureName())) {%>
362 <tr class ="fitrow" style="border:1px solid #CCC; Color: b lack; padding: 2px">
363 <td> <input type="text" name="feature_name" value='<% = f_list.getFeatureName() %>'></td>
364
365
366 <% if (linx_status.getStatusGB( ).equals("Buggy")) {%>
367 <td align=center><select styl e="background-color:#FF0000" name="test_status_gb">
368 <option value="Not Started" >Not Started
369 <option value= "InProgress" >InProgress
370 <option value= "Buggy" selected>Buggy
371 <option value= "Finished">Finished
372 </select>
373 </td>
374
375 <% } else if (linx_sta tus.getStatusGB().equals("InProgress")) { %>
376 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_gb">
377 <option value="Not Started" >Not Started
378 <option value= "InProgress" selected>InProgress
379 <option value= "Buggy">Buggy
380 <option value= "Finished">Finished
381 </select>
382 </td>
383
384 <% } else if (linx_status.getStatusGB().equals("Fini shed")) { %>
385 <td align=center ><select style="background-c olor:#008000" name="test_status_gb">
386 <option value="Not Started" >Not Started
387 <option value= "InProgress" >InProgress
388 <option value= "Buggy">Buggy
389 <option value= "Finished"selected>Finished
390 </select>
391 </td>
392 <% } else{ %>
393 <td align=center><s elect style="background-color:#FFA500" name="test_status_gb">
394 <option value="Not Started" selected>Not Start ed
395 <option value= "InProgress" >InProgress
396 <option value= "Buggy">Buggy
397 <option value= "Finished">Finished
398 </select>
399 </td>
400 <%}%>
401
402
403
404
405 <% if (linx_status.getStatusUB ().equals("Buggy")) {%>
406 <td align=center><select styl e="background-color:#FF0000" name="test_status_ub">
407 <option value="Not Started" >Not Started
408 <option value= "InProgress" >InProgress
409 <option value= "Buggy" selected>Buggy
410 <option value= "Finished">Finished
411 </select>
412 </td>
413 <% } else if (linx_sta tus.getStatusUB().equals("InProgress")) { %>
414 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_ub">
415 <option value="Not Started"> Not Started
416 <option value= "InProgress" selected>InProgress
417 <option value= "Buggy">Buggy
418 <option value= "Finished">Finished
419 </select>
420 </td>
421 <% } else if (linx_status.getStatusUB().equals("Fini shed")) { %>
422 <td align=center ><select style="background- color:#008000" name="test_status_ub">
423 <option value="Not Started" >Not Started
424 <option value= "InProgress" >InProgress
425 <option value= "Buggy">Buggy
426 <option value= "Finished"selected>Finished
427 </select>
428 </td>
429 <% } else{ %>
430 <td align=center><se lect style="background-color:#FFA500" name="test_status_ub">
431 <option value="Not Started" selected>Not Start ed
432 <option value= "InProgress" >InProgress
433 <option value= "Buggy">Buggy
434 <option value= "Finished">Finished
435 </select>
436 </td>
437 <%}%>
438
439
440
441 <% if (linx_status.getStatusOS ().equals("Buggy")) {%>
442 <td align=center><select sty le="background-color:#FF0000" name="test_status_os">
443 <option value="Not Started" >Not Started
444 <option value= "InProgress" >InProgress
445 <option value= "Buggy" selected>Buggy
446 <option value= "Finished">Finished
447 </select>
448 </td>
449 <% } else if (linx_sta tus.getStatusOS().equals("InProgress")) { %>
450 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_os">
451 <option value="Not Started" >Not Started
452 <option value= "InProgress" selected>InProgress
453 <option value= "Buggy">Buggy
454 <option value= "Finished">Finished
455 </select>
456 </td>
457 <% } else if (linx_status.getStatusOS().equals("Fini shed")) { %>
458 <td align=center ><select style="background- color:#008000" name="test_status_os">
459 <option value="Not Started" >Not Started
460 <option value= "InProgress" >InProgress
461 <option value= "Buggy">Buggy
462 <option value= "Finished"selected>Finished
463 </select>
464 </td>
465 <% } else{ %>
466 <td align=center>< select style="background-color:#FFA500" name="test_status_os">
467 <option value="Not Started" selected>Not Start ed
468 <option value= "InProgress" >InProgress
469 <option value= "Buggy">Buggy
470 <option value= "Finished">Finished
471 </select>
472 </td>
473
474 <%}%>
475
476
477 <% if (linx_status.getStatusFD ().equals("Buggy")) {%>
478 <td align=center><select sty le="background-color:#FF0000" name="test_status_fd">
479 <option value="Not Started" >Not Started
480 <option value= "InProgress" >InProgress
481 <option value= "Buggy" selected>Buggy
482 <option value= "Finished">Finished
483 </select>
484 </td>
485 <% } else if (linx_sta tus.getStatusFD().equals("InProgress")) { %>
486 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_fd">
487 <option value="Not Started" >Not Started
488 <option value= "InProgress" selected>InProgress
489 <option value= "Buggy">Buggy
490 <option value= "Finished">Finished
491 </select>
492 </td>
493 <% } else if (linx_status.getStatusFD().equals("Fini shed")) { %>
494 <td align=center ><select style="background- color:#008000" name="test_status_fd">
495 <option value="Not Started" >Not Started
496 <option value= "InProgress" >InProgress
497 <option value= "Buggy">Buggy
498 <option value= "Finished"selected>Finished
499 </select>
500 </td>
501 <% } else{ %>
502 <td align=center>< select style="background-color:#FFA500" name="test_status_fd">
503 <option value="Not Started" selected>Not Start ed
504 <option value= "InProgress" >InProgress
505 <option value= "Buggy">Buggy
506 <option value= "Finished">Finished
507 </select>
508 </td>
509
510 <%}%>
511
512 <td> <input type="text" name= "notes" value='<%= linx_status.getNotes()%>'></td>
513 </tr>
514 <% found=1;
515 break;
516 }
517 }
518 }
519
520
521 pm.close();
522
523 %>
524 </table>
525 <%
526 PersistenceManager pm_backend = PMF.get().getPersistenceManager();
527 String query_backend = "select from " + RegisterFeature.class.getName() + " where feature_type=='Backend'";
528 List<RegisterFeature> backend_feature_list = (List<RegisterFeature>) pm_back end.newQuery(query_backend).execute();
529 %>
530 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa y:none" align=center>
531 <tr><td><H3><br>Backend:</H3></td></tr>
532 <tr>
533 <th ><b>Goobuntu</b></th>
534 <th><b>Ubuntu</b></th>
535 <th ><b>OpenSuSe</b></th>
536 <th><b>Fedora</b></th>
537 <th><b>Bugs Found</b></th>
538 <% for (RegisterFeature f_list : backend_feature_list) {
539 int found = 0;
540 for (LinuxTestStatus linx_status : linux_status) {
541 if ((linx_status.getFeatureName()).equals(f_list.get FeatureName())) {%>
542 <tr class ="fitrow" style="border:1px solid #CCC; Color: b lack; padding: 2px">
543 <td> <input type="text" name="feature_name" value='<%= f_list.getFeatureName() %>'></td>
544
545
546 <% if (linx_status.getStatusGB( ).equals("Buggy")) {%>
547 <td align=center><select styl e="background-color:#FF0000" name="test_status_gb">
548 <option value="Not Started" >Not Started
549 <option value= "InProgress" >InProgress
550 <option value= "Buggy" selected>Buggy
551 <option value= "Finished">Finished
552 </select>
553 </td>
554
555 <% } else if (linx_sta tus.getStatusGB().equals("InProgress")) { %>
556 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_gb">
557 <option value="Not Started" >Not Started
558 <option value= "InProgress" selected>InProgress
559 <option value= "Buggy">Buggy
560 <option value= "Finished">Finished
561 </select>
562 </td>
563
564 <% } else if (linx_status.getStatusGB().equals("Fini shed")) { %>
565 <td align=center ><select style="bac kground-color:#008000" name="test_status_gb">
566 <option value="Not Started" >Not Started
567 <option value= "InProgress" >InProgress
568 <option value= "Buggy">Buggy
569 <option value= "Finished"selected>Finished
570 </select>
571 </td>
572 <option value="Not Started" >Not Started
573 <option value= "InProgress" >InProgress
574 <option value= "Buggy">Buggy
575 <option value= "Finished"selected>Finished
576 </select>
577 </td>
578 <% } else{ %>
579 <td align=center><s elect style="background-color:#FFA500" name="test_status_gb">
580 <option value="Not Started" selected>Not Start ed
581 <option value= "InProgress" >InProgress
582 <option value= "Buggy">Buggy
583 <option value= "Finished">Finished
584 </select>
585 </td>
586 <%}%>
587
588
589
590
591 <% if (linx_status.getStatusUB ().equals("Buggy")) {%>
592 <td align=center><select styl e="background-color:#FF0000" name="test_status_ub">
593 <option value="Not Started" >Not Started
594 <option value= "InProgress" >InProgress
595 <option value= "Buggy" selected>Buggy
596 <option value= "Finished">Finished
597 </select>
598 </td>
599 <% } else if (linx_sta tus.getStatusUB().equals("InProgress")) { %>
600 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_ub">
601 <option value="Not Started"> Not Started
602 <option value= "InProgress" selected>InProgress
603 <option value= "Buggy">Buggy
604 <option value= "Finished">Finished
605 </select>
606 </td>
607 <% } else if (linx_status.getStatusUB().equals("Fini shed")) { %>
608 <td align=center ><select style="background- color:#008000" name="test_status_ub">
609 <option value="Not Started" >Not Started
610 <option value= "InProgress" >InProgress
611 <option value= "Buggy">Buggy
612 <option value= "Finished"selected>Finished
613 </select>
614 </td>
615 <% } else{ %>
616 <td align=center><se lect style="background-color:#FFA500" name="test_status_ub">
617 <option value="Not Started" selected>Not Start ed
618 <option value= "InProgress" >InProgress
619 <option value= "Buggy">Buggy
620 <option value= "Finished">Finished
621 </select>
622 </td>
623 <%}%>
624
625
626
627 <% if (linx_status.getStatusOS ().equals("Buggy")) {%>
628 <td align=center><select sty le="background-color:#FF0000" name="test_status_os">
629 <option value="Not Started" >Not Started
630 <option value= "InProgress" >InProgress
631 <option value= "Buggy" selected>Buggy
632 <option value= "Finished">Finished
633 </select>
634 </td>
635 <% } else if (linx_sta tus.getStatusOS().equals("InProgress")) { %>
636 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_os">
637 <option value="Not Started" >Not Started
638 <option value= "InProgress" selected>InProgress
639 <option value= "Buggy">Buggy
640 <option value= "Finished">Finished
641 </select>
642 </td>
643 <% } else if (linx_status.getStatusOS().equals("Fini shed")) { %>
644 <td align=center ><select style="background- color:#008000" name="test_status_os">
645 <option value="Not Started" >Not Started
646 <option value= "InProgress" >InProgress
647 <option value= "Buggy">Buggy
648 <option value= "Finished"selected>Finished
649 </select>
650 </td>
651 <% } else{ %>
652 <td align=center>< select style="background-color:#FFA500" name="test_status_os">
653 <option value="Not Started" selected>Not Start ed
654 <option value= "InProgress" >InProgress
655 <option value= "Buggy">Buggy
656 <option value= "Finished">Finished
657 </select>
658 </td>
659
660 <%}%>
661
662 <% if (linx_status.getS tatusFD().equals("Buggy")) {%>
663 <td align=center><select sty le="background-color:#FF0000" name="test_status_fd">
664 <option value="Not Started" >Not Started
665 <option value= "InProgress" >InProgress
666 <option value= "Buggy" selected>Buggy
667 <option value= "Finished">Finished
668 </select>
669 </td>
670 <% } else if (linx_sta tus.getStatusFD().equals("InProgress")) { %>
671 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_fd">
672 <option value="Not Started" >Not Started
673 <option value= "InProgress" selected>InProgress
674 <option value= "Buggy">Buggy
675 <option value= "Finished">Finished
676 </select>
677 </td>
678 <% } else if (linx_status.getStatusFD().equals("Fini shed")) { %>
679 <td align=center ><select style="background- color:#008000" name="test_status_fd">
680 <option value="Not Started" >Not Started
681 <option value= "InProgress" >InProgress
682 <option value= "Buggy">Buggy
683 <option value= "Finished"selected>Finished
684 </select>
685 </td>
686 <% } else{ %>
687 <td align=center>< select style="background-color:#FFA500" name="test_status_fd">
688 <option value="Not Started" selected>Not Start ed
689 <option value= "InProgress" >InProgress
690 <option value= "Buggy">Buggy
691 <option value= "Finished">Finished
692 </select>
693 </td>
694
695 <%}%>
696
697 <td> <input type="text" name= "notes" value='<%= linx_status.getNotes()%>'></td>
698 </tr>
699 <% found=1;
700 break;
701 }
702 }
703
704
705 }
706
707 pm_backend.close();
708
709 %>
710 </table>
711
712 <%
713 PersistenceManager pm_compat = PMF.get().getPersistenceManager();
714 String query_compat = "select from " + RegisterFeature.class.getName() + " w here feature_type=='Compat'";
715 List<RegisterFeature> compat_feature_list = (List<RegisterFeature>) pm_compa t.newQuery(query_compat).execute();
716 %>
717 <table class="mytable" style="table-layout: fixed;" id="old_build" style="displa y:none" align=center>
718 <tr><td><H3><br>Compat:</H3></td></tr>
719 <tr>
720 <th ><b>Goobuntu</b></th>
721 <th><b>Ubuntu</b></th>
722 <th ><b>OpenSuSe</b></th>
723 <th><b>Fedora</b></th>
724 <th><b>Bugs Found</b></th>
725 <% for (RegisterFeature f_list : compat_feature_list) {
726 int found = 0;
727 for (LinuxTestStatus linx_status : linux_status) {
728 if ((linx_status.getFeatureName()).equals(f_list.get FeatureName())) {%>
729 <tr class ="fitrow" style="border:1px solid #CCC; Color: b lack; padding: 2px">
730 <td> <input type="text" name="feature_name" value='<%= f _list.getFeatureName() %>'></td>
731
732
733 <% if (linx_status.getStatusGB( ).equals("Buggy")) {%>
734 <td align=center><select styl e="background-color:#FF0000" name="test_status_gb">
735 <option value="Not Started" >Not Started
736 <option value= "InProgress" >InProgress
737 <option value= "Buggy" selected>Buggy
738 <option value= "Finished">Finished
739 </select>
740 </td>
741
742 <% } else if (linx_sta tus.getStatusGB().equals("InProgress")) { %>
743 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_gb">
744 <option value="Not Started" >Not Started
745 <option value= "InProgress" selected>InProgress
746 <option value= "Buggy">Buggy
747 <option value= "Finished">Finished
748 </select>
749 </td>
750
751 <% } else if (linx_status.getStatusGB().equals("Fini shed")) { %>
752 <td align=center ><select style="background- color:#008000" name="test_status_gb">
753 <option value="Not Started" >Not Started
754 <option value= "InProgress" >InProgress
755 <option value= "Buggy">Buggy
756 <option value= "Finished"selected>Finished
757 </select>
758 </td>
759 <% } else{ %>
760 <td align=center><s elect style="background-color:#FFA500" name="test_status_gb">
761 <option value="Not Started" selected>Not Start ed
762 <option value= "InProgress" >InProgress
763 <option value= "Buggy">Buggy
764 <option value= "Finished">Finished
765 </select>
766 </td>
767 <%}%>
768
769
770
771
772 <% if (linx_status.getStatusUB ().equals("Buggy")) {%>
773 <td align=center><select styl e="background-color:#FF0000" name="test_status_ub">
774 <option value="Not Started" >Not Started
775 <option value= "InProgress" >InProgress
776 <option value= "Buggy" selected>Buggy
777 <option value= "Finished">Finished
778 </select>
779 </td>
780 <% } else if (linx_sta tus.getStatusUB().equals("InProgress")) { %>
781 <td align=center><sel ect style="background-color:#FFFF00" name="test_status_ub">
782 <option value="Not Started"> Not Started
783 <option value= "InProgress" selected>InProgress
784 <option value= "Buggy">Buggy
785 <option value= "Finished">Finished
786 </select>
787 </td>
788 <% } else if (linx_status.getStatusUB().equals("Fini shed")) { %>
789 <td align=center ><select style="background- color:#008000" name="test_status_ub">
790 <option value="Not Started" >Not Started
791 <option value= "InProgress" >InProgress
792 <option value= "Buggy">Buggy
793 <option value= "Finished"selected>Finished
794 </select>
795 </td>
796 <% } else{ %>
797 <td align=center><se lect style="background-color:#FFA500" name="test_status_ub">
798 <option value="Not Started" selected>Not Start ed
799 <option value= "InProgress" >InProgress
800 <option value= "Buggy">Buggy
801 <option value= "Finished">Finished
802 </select>
803 </td>
804 <%}%>
805
806
807
808 <% if (linx_status.getStatusOS ().equals("Buggy")) {%>
809 <td align=center><select sty le="background-color:#FF0000" name="test_status_os">
810 <option value="Not Started" >Not Started
811 <option value= "InProgress" >InProgress
812 <option value= "Buggy" selected>Buggy
813 <option value= "Finished">Finished
814 </select>
815 </td>
816 <% } else if (linx_sta tus.getStatusOS().equals("InProgress")) { %>
817 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_os">
818 <option value="Not Started" >Not Started
819 <option value= "InProgress" selected>InProgress
820 <option value= "Buggy">Buggy
821 <option value= "Finished">Finished
822 </select>
823 </td>
824 <% } else if (linx_status.getStatusOS().equals("Fini shed")) { %>
825
826 <td align=center ><se lect style="background-color:#008000" name="test_status_os">
827 <option value="Not Started" >Not Started
828 <option value= "InProgress" >InProgress
829 <option value= "Buggy">Buggy
830 <option value= "Finished"selected>Finished
831 </select>
832 </td>
833 <% } else{ %>
834 <td align=center>< select style="background-color:#FFA500" name="test_status_os">
835 <option value="Not Started" selected>Not Start ed
836 <option value= "InProgress" >InProgress
837 <option value= "Buggy">Buggy
838 <option value= "Finished">Finished
839 </select>
840 </td>
841
842 <%}%>
843
844 <% if (linx_status.getSt atusFD().equals("Buggy")) {%>
845 <td align=center><select sty le="background-color:#FF0000" name="test_status_fd">
846 <option value="Not Started" >Not Started
847 <option value= "InProgress" >InProgress
848 <option value= "Buggy" selected>Buggy
849 <option value= "Finished">Finished
850 </select>
851 </td>
852 <% } else if (linx_sta tus.getStatusFD().equals("InProgress")) { %>
853 <td align=center><sele ct style="background-color:#FFFF00" name="test_status_fd">
854 <option value="Not Started" >Not Started
855 <option value= "InProgress" selected>InProgress
856 <option value= "Buggy">Buggy
857 <option value= "Finished">Finished
858 </select>
859 </td>
860 <% } else if (linx_status.getStatusFD().equals("Fini shed")) { %>
861
862 <td align=center ><se lect style="background-color:#008000" name="test_status_fd">
863 <option value="Not Started" >Not Started
864 <option value= "InProgress" >InProgress
865 <option value= "Buggy">Buggy
866 <option value= "Finished"selected>Finished
867 </select>
868 </td>
869 <% } else{ %>
870 <td align=center>< select style="background-color:#FFA500" name="test_status_fd">
871 <option value="Not Started" selected>Not Start ed
872 <option value= "InProgress" >InProgress
873 <option value= "Buggy">Buggy
874 <option value= "Finished">Finished
875 </select>
876 </td>
877
878 <%}%>
879 <td> <input type="text" name=" notes" value='<%= linx_status.getNotes()%>'></td>
880 </tr>
881 <% found=1;
882 break;
883 }
884 }
885
886
887 }
888
889 pm_compat.close();
890
891 %>
892 </table>
893
894 </div>
895 <br>
896 <div><input type="submit" value="Update Status" /></div>
897 </form>
898 </body>
899 </html>
OLDNEW
« no previous file with comments | « chrome_release_test_status/war/TestingStatus-query-Mac.jsp ('k') | chrome_release_test_status/war/UpdateStatus-Mac.jsp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698