Changeset 2093


Ignore:
Timestamp:
Oct 21, 2013, 1:33:16 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #502: Design flow cells

Only display pool name (not libplate names) in the layout section in the second step.
Rearranged the input fields for sequencing cycles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/create_flowcells.jsp

    r2090 r2093  
    8383      var option = new Option(name, pool.id, poolNo < 4);
    8484      option.title = title;
     85      option.pool = pool;
    8586     
    8687      poolsList[poolsList.length] = option;
     
    229230
    230231  var option = new Option(name, id, true, true);
     232  option.pool = {'id': id, 'name': name };
    231233  poolsList[poolsList.length] = option;
    232234  poolsOnChange();
     
    275277    if (frm.pools[i].selected)
    276278    {
    277       var pool = {};
    278       pool.id = parseInt(frm.pools[i].value, 10);
    279       pool.name = frm.pools[i].text;
     279      var pool = frm.pools[i].pool;
    280280      var index = selectedPools.length;
    281281      selectedPools[index] = pool;
     
    576576}
    577577
    578 .plate .header th.lane
    579 {
    580   padding: 0.5em;
    581 }
    582 
    583578.well
    584579{
     
    597592{
    598593  border-right: 1px solid #A0A0A0;
     594  width: 3em;
    599595}
    600596
     
    729725    <td class="stepfields">
    730726
    731       <table>
     727      <table style="border-collapse: collapse;">
    732728      <tr valign="top">
    733729        <td class="prompt">Sequencing cycles</td>
    734         <td class="input">(planned)</td>
    735         <td class="status"></td>
    736         <td class="help" rowspan="4">
     730        <td colspan="2">Read 1</td>
     731        <td colspan="2">Index</td>
     732        <td colspan="2">Read 2</td>
     733        <td class="help" rowspan="3">
    737734          Planned number of sequencing cycles. The actual numbers used may be changed in the
    738           registration wizard.<br>
     735          registration wizard.
    739736        </td>
    740737      </tr>
    741738      <tr valign="top">
    742         <td class="subprompt">Read 1</td>
    743         <td class="input">
     739        <td class="subprompt"></td>
     740        <td>
    744741          <input type="text" class="required" name="read1" value="<%=DEFAULT_READ_1 %>"
    745             size="10" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_1 %>)">
    746             <span id="read1.message" class="message" style="display: none;"></span>
     742            size="8" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_1 %>)">
    747743        </td>
    748744        <td class="status" id="read1.status"></td>
    749       </tr>
    750       <tr valign="top">
    751         <td class="subprompt">Index read</td>
    752         <td class="input">
     745        <td>
    753746          <input type="text" class="required" name="indexRead" value="<%=DEFAULT_READ_INDEX %>"
    754             size="10" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_INDEX %>)">
    755             <span id="indexRead.message" class="message" style="display: none;"></span>
     747            size="8" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_INDEX %>)">
    756748        </td>
    757749        <td class="status" id="indexRead.status"></td>
    758       </tr>
    759       <tr valign="top">
    760         <td class="subprompt">Read 2</td>
    761         <td class="input">
     750        <td>
    762751          <input type="text" class="required" name="read2" value="<%=DEFAULT_READ_2 %>"
    763             size="10" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_2 %>)">
    764             <span id="read2.message" class="message" style="display: none;"></span>
     752            size="8" onkeypress="return Numbers.integerOnly(event)" onblur="readOnBlur(this.name, <%=DEFAULT_READ_2 %>)">
     753           
    765754        </td>
    766755        <td class="status" id="read2.status"></td>
    767756      </tr>
    768757      <tr valign="top">
     758        <td class="prompt"></td>
     759        <td colspan="2"><span id="read1.message" class="message" style="display: none;"></span></td>
     760        <td colspan="2"><span id="indexRead.message" class="message" style="display: none;"></span></td>
     761        <td colspan="2"><span id="read2.message" class="message" style="display: none;"></span></td>
     762      </tr>
     763      <tr valign="top" style="border-top: 1em solid transparent;">
    769764        <td class="prompt">Flow cell layout</td>
    770         <td class="input">
    771           <table class="plate" id="plate" style="margin: 1em 0 1em 0;">
     765        <td class="input" colspan="5">
     766          <table class="plate" id="plate" style="margin-bottom: 1em;">
    772767          <thead>
    773768          <tr class="header">
     
    814809      <tr valign="top">
    815810        <td class="prompt">Comments</td>
    816         <td class="input"></td>
     811        <td class="input" colspan="5"></td>
    817812        <td class="status" id="comments.status"></td>
    818813        <td class="help"><span id="comments.message" class="message" style="display: none;"></span>Comments about the flow cells.</td>
     
    825820          <tr valign="top" id="comments.<%=fcNo%>">
    826821          <td class="subprompt" id="comments.<%=fcNo%>.name">FlowCell<%=fcNo%></td>
    827           <td class="input"><textarea rows="3" cols="50" style="width: 90%;" name="comments.<%=fcNo%>" value=""></textarea></td>
     822          <td class="input" colspan="5"><textarea rows="3" cols="50" style="width: 90%;" name="comments.<%=fcNo%>" value=""></textarea></td>
    828823          <td class="status"></td>
    829824          <td class="help"></td>
Note: See TracChangeset for help on using the changeset viewer.