Ignore:
Timestamp:
Sep 13, 2013, 11:13:42 AM (8 years ago)
Author:
Nicklas Nordborg
Message:

References #481: Register prepared flow cells

Preliminary wizards for flow cell creation and registration.

File:
1 edited

Legend:

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

    r1983 r2020  
    140140      url = 'Pool.servlet?ID=<%=ID%>&cmd=CountLibraryPlatesForPooling';
    141141    }
    142     else if (what == 'pools')
     142    else if (what == 'unregistered-pools')
    143143    {
    144144      url = 'Pool.servlet?ID=<%=ID%>&cmd=CountUnprocessedPools';
     145    }
     146    else if (what == 'unused-pools')
     147    {
     148      url = 'FlowCell.servlet?ID=<%=ID%>&cmd=CountUnusedPools';
     149    }
     150    else if (what == 'unregistered-flow-cells')
     151    {
     152      url = 'FlowCell.servlet?ID=<%=ID%>&cmd=CountUnprocessedFlowCells';
    145153    }
    146154   
     
    266274      var count = error ? -1 : response.count;
    267275      setCount('count.lib-plates-for-pooling', count, 'Lib plates', msg);
    268       startCounting('pools');
    269     }
    270     else if (currentCount == 'pools')
     276      startCounting('unregistered-pools');
     277    }
     278    else if (currentCount == 'unregistered-pools')
    271279    {
    272280      var msg = error || 'Number of pools waiting for registration';
     
    274282      setCount('count.pools.1', count, 'pools', msg);
    275283      setCount('count.pools.2', count, 'pools', msg);
     284      startCounting('unused-pools');
     285    }
     286    else if (currentCount == 'unused-pools')
     287    {
     288      var msg = error || 'Number of pools waiting for sequencing';
     289      var count = error ? -1 : response.count;
     290      setCount('count.pools.3', count, 'pools', msg);
     291      startCounting('unregistered-flow-cells');
     292    }
     293    else if (currentCount == 'unregistered-flow-cells')
     294    {
     295      var msg = error || 'Number of flow cells waiting for registration';
     296      var count = error ? -1 : response.count;
     297      setCount('count.flow-cells', count, 'flow cells', msg);
    276298    }
    277299   
     
    481503            <li><a href="libprep/pool_protocol.jsp?ID=<%=ID%>">Lab protocols for pooling</a> <span class="counter" id="count.pools.1" title="Counting..."><img src="images/loading-small.gif"></span>
    482504            <li><a href="libprep/pool_registration.jsp?ID=<%=ID%>">Register pooled libraries</a> <span class="counter" id="count.pools.2" title="Counting..."><img src="images/loading-small.gif"></span>
    483             <li><a href="libprep/flowcell_registration.jsp?ID=<%=ID%>" class="not-implemented">Register flow cells</a>
     505            <li><a href="libprep/create_flowcells.jsp?ID=<%=ID%>">Create flow cells</a> <span class="counter" id="count.pools.3" title="Counting..."><img src="images/loading-small.gif"></span>
     506            <li><a href="libprep/flowcell_registration.jsp?ID=<%=ID%>">Register flow cells</a> <span class="counter" id="count.flow-cells" title="Counting..."><img src="images/loading-small.gif"></span>
    484507            </ul>
    485508          </dd>
Note: See TracChangeset for help on using the changeset viewer.