Changeset 2201
- Timestamp:
- Jan 20, 2014, 9:24:40 AM (9 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk/resources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/index.jsp
r2199 r2201 649 649 650 650 <li><span class="require-permission" data-role="LibraryPrep" data-link="libprep/flowcell_protocol.jsp?ID=<%=ID%>" 651 >Lab protocol for clustering and sequencing startup</span> <span class="counter" id="count.flow-cells.1" title="Counting..."><img src="images/loading-small.gif"></span>651 >Lab protocol for clustering and sequencing</span> <span class="counter" id="count.flow-cells.1" title="Counting..."><img src="images/loading-small.gif"></span> 652 652 653 653 <li><span class="require-permission" data-role="LibraryPrep" data-link="libprep/flowcell_registration.jsp?ID=<%=ID%>" -
extensions/net.sf.basedb.reggie/trunk/resources/libprep/flowcell_protocol.jsp
r2094 r2201 233 233 <p:path><p:pathelement 234 234 title="Reggie" href="<%="../index.jsp?ID="+ID%>" 235 /><p:pathelement title="Lab protocol for clustering and sequencing startup"235 /><p:pathelement title="Lab protocol for clustering and sequencing" 236 236 /></p:path> 237 237 -
extensions/net.sf.basedb.reggie/trunk/resources/libprep/flowcell_protocol2.jsp
r2112 r2201 57 57 <html> 58 58 <head> 59 <title id="pageTitle">Lab protocol for flow cells></title>59 <title id="pageTitle">Lab protocol for clustering and sequencing</title> 60 60 <link rel="SHORTCUT ICON" href="<%=home%>/images/flowcell.png"> 61 61 <link rel="stylesheet" type="text/css" href="<%=home %>/css/reggie.css"> … … 120 120 var flowCellNo = -1; 121 121 var flowCellNameList = ''; 122 var poolColors = [];122 var allColors = []; 123 123 var useDarker = false; 124 var numPools = 0;125 var poolsRow = document.getElementById('all-pools');126 124 for (var index in flowCellInfoArray) 127 125 { 126 var poolColors = []; 127 var poolsRow = document.getElementById('all-pools-'+index); 128 128 flowCellNo++; 129 129 var flowCell = flowCellInfoArray[index]; … … 134 134 } 135 135 flowCellNameList += flowCellName; 136 setInnerHTML('flowCellName.'+flowCellNo, flowCellName); 137 setInnerHTML('flowCellName2.'+flowCellNo, flowCellName); 138 setInnerHTML('flowCellDescription.'+flowCellNo, flowCell.description); 136 setInnerHTML('flowCellName.'+flowCellNo, flowCellName); 137 setInnerHTML('flowCellDescription.'+flowCellNo, flowCell.description || '<i style="color: #999999;">Clustering comments</i>'); 139 138 setInnerHTML('sequencingCycles.'+flowCellNo, flowCell.SequencingCycles); 140 139 setInnerHTML('flowCellId.'+flowCellNo, flowCell.externalId); … … 146 145 if (!color) 147 146 { 148 numPools++; 149 color = COLORS[nextColor] + (useDarker ? ' darker' : ''); 147 color = allColors[poolName]; 148 if (!color) 149 { 150 color = COLORS[nextColor] + (useDarker ? ' darker' : ''); 151 allColors[poolName] = color; 152 nextColor++; 153 if (nextColor == COLORS.length) 154 { 155 nextColor = 0; 156 useDarker = !useDarker; 157 } 158 } 150 159 poolColors[poolName] = color; 151 160 var td = document.createElement('td'); … … 153 162 td.innerHTML = poolName; 154 163 poolsRow.appendChild(td); 155 nextColor++;156 if (nextColor == COLORS.length)157 {158 nextColor = 0;159 useDarker = !useDarker;160 }161 164 } 162 165 var row = laneKey - 1; … … 165 168 setInnerHTML('fcPoolName.'+idSuffix, poolName); 166 169 } 170 171 if (poolColors.length <= 6) 172 { 173 // White-space at end to avoid pools getting to wide 174 var td = document.createElement('td'); 175 td.innerHTML = ''; 176 poolsRow.appendChild(td); 177 } 167 178 } 168 179 169 if (numPools <= 6)170 {171 var td = document.createElement('td');172 td.innerHTML = '';173 poolsRow.appendChild(td);174 }175 180 176 181 var pageTitle = 'Lab protocol for ' + flowCellNameList; … … 181 186 </script> 182 187 <style> 188 189 h1 190 { 191 margin-top: 1em; 192 } 183 193 184 194 h2 … … 208 218 max-height: 2.5em; 209 219 border-bottom: 1px solid #000000; 220 border-top: 1px solid #000000; 210 221 } 211 222 … … 236 247 { 237 248 display: inline-block; 238 width: 0. 8em;239 height: 0. 8em;249 width: 0.75em; 250 height: 0.75em; 240 251 border: 1px solid #000000; 241 margin-left: 1em;252 margin-left: 0em; 242 253 margin-right: 0.5em; 243 254 } … … 343 354 </div> 344 355 345 <h1>Lab protocol for clustering and sequencing startup <span class="reggie">Reggie <%=reggie.getAbout().getVersion() %></span></h1>346 347 356 <input type="hidden" name="fcIdList" value="<%=flowCellIdList%>"> 348 357 … … 351 360 <div id="listviewcontainer" style="display: none;"> 352 361 353 <table class="protocolheader">354 <tr id="all-pools">355 <th style="width: 15%;">Used pools</th>356 </tr>357 </table>358 359 <h2>1. Clustering</h2>360 362 <% 361 363 // Note: Variable 'c' here indicates a flow cell, not a table column … … 364 366 { 365 367 %> 368 <h1>Lab protocol for clustering and sequencing <span class="reggie">Reggie <%=reggie.getAbout().getVersion() %></span></h1> 369 370 <table class="protocolheader"> 371 <tr id="all-pools-<%=c%>"> 372 <th style="width: 15%;">Used pools</th> 373 </tr> 374 </table> 375 376 <h2>1. Clustering</h2> 366 377 <table style="width: 100%;" class="protocolheader flowcell"> 367 <tr >378 <tr style=""> 368 379 <th style="width: 15%;">Flow cell</th> 369 380 <td style="width: 35%;"><div id="flowCellName.<%=c%>" >Flow cell name <%=c%></div></td> … … 392 403 </tbody> 393 404 </table> 394 395 396 405 </td> 397 406 </tr> … … 414 423 415 424 <tr style="max-height: 100%; height: auto; vertical-align: top;"> 416 <td colspan="2" id="flowCellDescription.<%=c%>"> </td>425 <td colspan="2" id="flowCellDescription.<%=c%>">Clustering comments</td> 417 426 </tr> 418 427 </table> 428 429 430 <h2>2. Sequencing</h2> 431 432 <table class="protocolheader"> 433 <tr> 434 <th style="width: 25%;">Start date</th> 435 <td style="width: 75%;" colspan="2"></td> 436 </tr> 437 <tr> 438 <th>Operator</th> 439 <td colspan="2"></td> 440 </tr> 441 442 <tr> 443 <th>Sequencing machine</th> 444 <td colspan="2"></td> 445 </tr> 446 447 <tr> 448 <th>HiSeq position</th> 449 <td colspan="2"><b><div class="colorbox"></div>A <div class="colorbox" style="margin-left: 2em;"></div>B</b></td> 450 </tr> 451 452 <tr> 453 <th>Sequencing cycles</th> 454 <td id="sequencingCycles.<%=c%>" style="width: 30%;"></td> 455 <th>(Read 1 - Index - Read 2)</th> 456 </tr> 457 458 <tr> 459 <th>First base report</th> 460 <td colspan="2"><b><div class="colorbox"></div>Ok <div class="colorbox" style="margin-left: 2em;"></div>Not ok</b></td> 461 </tr> 462 463 <tr> 464 <th style="width: 25%;">Turn-around date+time</th> 465 <td style="width: 75%;" colspan="2"></td> 466 </tr> 467 468 <tr> 469 <th style="width: 25%;">End date+time</th> 470 <td style="width: 75%;" colspan="2"></td> 471 </tr> 472 473 <tr style="height: 10em; vertical-align: top;"> 474 <th>Comments</th> 475 <td colspan="2"></td> 476 </tr> 477 </table> 478 <div class="pagebreak"></div> 419 479 <% 420 480 } 421 481 %> 422 482 423 <h2>2. Sequencing startup</h2>424 425 <table class="protocolheader">426 <tr>427 <th style="width: 25%;">Sequencing machine</th>428 <td style="width: 75%;" colspan="2"></td>429 </tr>430 <tr>431 <th>Date</th>432 <td colspan="2"></td>433 </tr>434 <tr>435 <th>Operator</th>436 <td colspan="2"></td>437 </tr>438 439 <tr>440 <th></th>441 <th style="width: 20%; border-right: 0;">HiSeq position</th>442 <th>Sequencing cycles (Read 1 - Index - Read 2)</th>443 </tr>444 445 <%446 // Note: Variable 'c' here indicates a flow cell, not a table column447 // Each flow cell is shown in its own table448 for (int c = 0; c < nFlowCells; ++c)449 {450 %>451 <tr>452 <th id="flowCellName2.<%=c%>" class="subprompt">Flowcell<%=c %></th>453 <td><b><div class="colorbox"></div>A <div class="colorbox"></div>B</b></td>454 <td><div id="sequencingCycles.<%=c%>"></div></td>455 </tr>456 <%457 }458 %>459 <tr style="height: 7em; vertical-align: top;">460 <th>Comments</th>461 <td colspan="2"></td>462 </tr>463 </table>464 483 </div> 465 484 </form>
Note: See TracChangeset
for help on using the changeset viewer.