Changeset 1919
- Timestamp:
- Apr 10, 2013, 11:05:19 AM (10 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk/resources/libprep
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/mrna_protocol.jsp
r1892 r1919 49 49 Main.show('gocreate'); 50 50 bioPlateOnChange(); 51 loadStratageneConc(); 51 52 } 52 53 else … … 86 87 function viewProtocol(type) 87 88 { 89 saveStratageneConc(); 90 88 91 var frm = document.forms['reggie']; 89 92 if (frm.bioplate && !frm.bioplate.disabled) … … 109 112 setInnerHTML('comments', bioplate.comments); 110 113 frm.poolSchema.value = bioplate.poolSchema; 114 } 115 116 function saveStratageneConc() 117 { 118 if (!window.localStorage) return; 119 120 var frm = document.forms['reggie']; 121 var stratageneInfo = new Object(); 122 stratageneInfo.conc = frm.stratageneConc.value; 123 window.localStorage.setItem('reggie.stratagene-info', JSON.stringify(stratageneInfo)); 124 } 125 126 function loadStratageneConc() 127 { 128 if (!window.localStorage) return; 129 var frm = document.forms['reggie']; 130 131 var stratageneInfo = JSON.parse(window.localStorage.getItem('reggie.stratagene-info')); 132 if (stratageneInfo) 133 { 134 frm.stratageneConc.value = stratageneInfo.conc; 135 } 111 136 } 112 137 </script> … … 133 158 %> 134 159 135 <form name="reggie" onsubmit="return false;" action="mrna_protocol2.jsp" method="post" target="_ new">160 <form name="reggie" onsubmit="return false;" action="mrna_protocol2.jsp" method="post" target="_blank"> 136 161 <input type="hidden" name="ID" value="<%=ID%>"> 137 162 <input type="hidden" name="view" value="list"> -
extensions/net.sf.basedb.reggie/trunk/resources/libprep/mrna_protocol2.jsp
r1916 r1919 121 121 c += ' ' + WELL_ALPHA[well.row] + (well.column+1); 122 122 } 123 else 124 { 125 c = ' '; 126 } 123 127 return c; 124 128 } … … 244 248 if (rna.qc) cls += ' qc'; 245 249 if (rna.external) cls += ' external'; 246 if (rna.stratagene) cls += ' stratagene';250 if (rna.stratagene) cls += ' stratagene'; 247 251 } 248 252 return cls; … … 264 268 if (rna.volume && rna.water) 265 269 { 266 text += '<div><span class="volume">'+Numbers.formatNumber(rna.volume, 1)+' </span>';267 text += ' + <span class="water">'+Numbers.formatNumber(rna.water, 1)+'</span>µl</div>';270 text += '<div><span class="volume">'+Numbers.formatNumber(rna.volume, 1)+'µl</span>'; 271 text += '<span class="water">'+Numbers.formatNumber(rna.water, 1)+'µl</span></div>'; 268 272 } 269 273 text += '<div class="remarks">'+ rna.remarks.join('; ') + '</div>'; … … 353 357 } 354 358 355 .external .rna:before , .stratagene .rna:before359 .external .rna:before 356 360 { 357 361 content: '['; 358 362 } 359 .external .rna:after , .stratagene .rna:after363 .external .rna:after 360 364 { 361 365 content: ']'; … … 410 414 max-width: 8.2%; 411 415 min-width: 8.2%; 416 background-color: #FFFFFF; 417 padding: 4px; 418 } 419 420 #plateview .well:hover 421 { 422 padding: 3px; 412 423 } 413 424 … … 420 431 { 421 432 font-weight: bold; 433 margin-bottom: 0.25em; 434 } 435 #plateview .box 436 { 437 margin-bottom: 0.25em; 422 438 } 423 439 #plateview .ndconc … … 436 452 { 437 453 color: #0000C8; 454 float: right; 438 455 } 439 456 #plateview .remarks … … 504 521 <th class="rna"></th> 505 522 <th class="box">Storage</th> 506 <th class="workplate">Work</th>507 523 <th>NDConc</th> 508 524 <th>Remain</th> 525 <th class="workplate">Work</th> 509 526 <th colspan="2">Volume</th> 510 527 <th></th> … … 514 531 <th class="rna">RNA</th> 515 532 <th class="box">box</th> 516 <th class="workplate">plate</th>517 533 <th>(ng/µl)</th> 518 534 <th>(µg)</th> 535 <th class="workplate">plate</th> 519 536 <th>(µl)</th> 520 537 <th>H<sub>2</sub>O</th> … … 546 563 <td class="rna" id="rna.<%=idSuffix%>">empty</td> 547 564 <td class="box" id="box.<%=idSuffix%>"></td> 548 <td class="workplate"><%=rowF.format(r)+colF.format(c)%></td>549 565 <td class="ndconc" id="ndconc.<%=idSuffix%>"></td> 550 566 <td class="remain" id="remain.<%=idSuffix%>"></td> 567 <td class="workplate"><%=rowF.format(r)+colF.format(c)%></td> 551 568 <td class="volume" id="volume.<%=idSuffix%>"></td> 552 569 <td class="water" id="water.<%=idSuffix%>"></td>
Note: See TracChangeset
for help on using the changeset viewer.