extensions/net.sf.basedb.reggie/trunk/resources/libprep/mrna_protocol.jsp

Code
Comments
Other
Rev Date Author Line
1745 27 Nov 12 nicklas 1 <%@ page
1745 27 Nov 12 nicklas 2   pageEncoding="UTF-8"
1745 27 Nov 12 nicklas 3   session="false"
1745 27 Nov 12 nicklas 4   import="net.sf.basedb.core.User"
1745 27 Nov 12 nicklas 5   import="net.sf.basedb.core.DbControl"
1745 27 Nov 12 nicklas 6   import="net.sf.basedb.core.SessionControl"
1745 27 Nov 12 nicklas 7   import="net.sf.basedb.core.Application"
1745 27 Nov 12 nicklas 8   import="net.sf.basedb.clients.web.Base"  
1745 27 Nov 12 nicklas 9   import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
1745 27 Nov 12 nicklas 10 %>
1745 27 Nov 12 nicklas 11 <%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
1745 27 Nov 12 nicklas 12 <%@ taglib prefix="p" uri="/WEB-INF/path.tld" %>
1745 27 Nov 12 nicklas 13 <%
3976 26 May 16 nicklas 14 final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true);
1745 27 Nov 12 nicklas 15 final String ID = sc.getId();
1745 27 Nov 12 nicklas 16 final float scale = Base.getScale(sc);
1745 27 Nov 12 nicklas 17 final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie");
1745 27 Nov 12 nicklas 18 DbControl dc = null;
1745 27 Nov 12 nicklas 19 try
1745 27 Nov 12 nicklas 20 {
1745 27 Nov 12 nicklas 21   dc = sc.newDbControl();
1745 27 Nov 12 nicklas 22   final User user = User.getById(dc, sc.getLoggedInUserId());
1745 27 Nov 12 nicklas 23 %>
1745 27 Nov 12 nicklas 24 <base:page type="default" >
2668 15 Sep 14 nicklas 25 <base:head 
2668 15 Sep 14 nicklas 26   scripts="~../reggie-2.js,~mrna_protocol.js" 
2668 15 Sep 14 nicklas 27   styles="path.css,~../css/reggie-2.css"
2672 16 Sep 14 nicklas 28 />
2668 15 Sep 14 nicklas 29 <base:body>
1745 27 Nov 12 nicklas 30
1745 27 Nov 12 nicklas 31   <p:path><p:pathelement 
1745 27 Nov 12 nicklas 32     title="Reggie" href="<%="../index.jsp?ID="+ID%>" 
1891 01 Mar 13 nicklas 33     /><p:pathelement title="Lab protocols for mRNA and cDNA preparation" 
1745 27 Nov 12 nicklas 34     /></p:path>
1745 27 Nov 12 nicklas 35
1745 27 Nov 12 nicklas 36   <div class="content">
1745 27 Nov 12 nicklas 37
2673 16 Sep 14 nicklas 38   <form name="reggie" action="mrna_protocol2.jsp" method="post" target="_blank" id="wizard" class="wizard">
1745 27 Nov 12 nicklas 39   <input type="hidden" name="ID" value="<%=ID%>">
1745 27 Nov 12 nicklas 40   <input type="hidden" name="view" value="list">
1807 23 Jan 13 nicklas 41   <input type="hidden" name="poolSchema" value="5by24">
1745 27 Nov 12 nicklas 42   
2668 15 Sep 14 nicklas 43   <div class="step" id="step-1">
2668 15 Sep 14 nicklas 44     <div class="step-no">1</div>
2668 15 Sep 14 nicklas 45     <div class="step-title">Select mRNA bioplate</div>
2668 15 Sep 14 nicklas 46     <div class="step-content">
2668 15 Sep 14 nicklas 47
2668 15 Sep 14 nicklas 48       <table class="step-form">
2668 15 Sep 14 nicklas 49       <tr>
1745 27 Nov 12 nicklas 50         <td class="prompt">mRNA bioplate</td>
2668 15 Sep 14 nicklas 51         <td class="input">
2668 15 Sep 14 nicklas 52           <select name="bioplate" id="bioplate"></select>
1745 27 Nov 12 nicklas 53         </td>
1745 27 Nov 12 nicklas 54         <td class="status" id="bioplate.status"></td>
2668 15 Sep 14 nicklas 55         <td class="help" rowspan="2">
2668 15 Sep 14 nicklas 56           <span id="bioplate.message" class="message"></span>
1745 27 Nov 12 nicklas 57           Select an existing mRNA bioplate. The list contain all mRNA bioplates that
1745 27 Nov 12 nicklas 58           has not yet been processed (determined by the absence of a 'creation' date).
1745 27 Nov 12 nicklas 59         </td>
1745 27 Nov 12 nicklas 60       </tr>
2668 15 Sep 14 nicklas 61       <tbody class="info-section">
2668 15 Sep 14 nicklas 62       <tr>
2668 15 Sep 14 nicklas 63         <td class="prompt">Comments</td>
2668 15 Sep 14 nicklas 64         <td class="info" id="comments"></td>
2668 15 Sep 14 nicklas 65         <td class="status"></td>
2668 15 Sep 14 nicklas 66         <td class="help"></td>
1792 17 Dec 12 nicklas 67       </tr>
2668 15 Sep 14 nicklas 68       </tbody>
2668 15 Sep 14 nicklas 69       <tr>
1794 18 Dec 12 nicklas 70         <td class="prompt">Stratagene conc.</td>
1794 18 Dec 12 nicklas 71         <td class="input">
2668 15 Sep 14 nicklas 72           <input type="text" name="stratageneConc" id="stratageneConc"
2842 20 Oct 14 nicklas 73             style="width: 10em;" maxlength="8"> (ng/µl)
1794 18 Dec 12 nicklas 74         </td>
1794 18 Dec 12 nicklas 75         <td class="status" id="stratagene.status"></td>
2668 15 Sep 14 nicklas 76         <td class="help">
2668 15 Sep 14 nicklas 77           <span id="stratagene.message" class="message"></span>
1794 18 Dec 12 nicklas 78           If the current Stratagene concentration is given, the wizard will calculate volumes
1794 18 Dec 12 nicklas 79           to use automatically.
1794 18 Dec 12 nicklas 80         </td>
1794 18 Dec 12 nicklas 81       </tr>
2668 15 Sep 14 nicklas 82       <tr class="align-top">
1759 30 Nov 12 nicklas 83         <td class="prompt">Lab protocols</td>
2668 15 Sep 14 nicklas 84         <td class="input">
2668 15 Sep 14 nicklas 85           <span id="listview" class="link" data-protocol-type="list"><img src="../images/listview.png">&nbsp;List layout</span><br>
2668 15 Sep 14 nicklas 86           <span id="plateview" class="link" data-protocol-type="plate"><img src="../images/plateview.png">&nbsp;Plate layout</span><br>
1745 27 Nov 12 nicklas 87         </td>
1745 27 Nov 12 nicklas 88         <td class="status" id="protocol.status"></td>
2668 15 Sep 14 nicklas 89         <td class="help">
2668 15 Sep 14 nicklas 90           <span id="protocol.message" class="message"></span>
1745 27 Nov 12 nicklas 91           The 'list layout' generates a table with one row for each well on the work plate.
1745 27 Nov 12 nicklas 92           The 'plate layout' generates a grid with wells arranged according to row and column coordinates.
1745 27 Nov 12 nicklas 93         </td>
1745 27 Nov 12 nicklas 94       </tr>
1745 27 Nov 12 nicklas 95       </table>
2668 15 Sep 14 nicklas 96     </div>
2668 15 Sep 14 nicklas 97   </div>
1745 27 Nov 12 nicklas 98   
2668 15 Sep 14 nicklas 99   <div id="wizard-status"></div>
1745 27 Nov 12 nicklas 100   
1745 27 Nov 12 nicklas 101   </form>
1745 27 Nov 12 nicklas 102   </div>
1745 27 Nov 12 nicklas 103   
1745 27 Nov 12 nicklas 104 </base:body>
1745 27 Nov 12 nicklas 105 </base:page>
1745 27 Nov 12 nicklas 106 <%
1745 27 Nov 12 nicklas 107 }
1745 27 Nov 12 nicklas 108 finally
1745 27 Nov 12 nicklas 109 {
1745 27 Nov 12 nicklas 110   if (dc != null) dc.close();
1745 27 Nov 12 nicklas 111 }
1745 27 Nov 12 nicklas 112 %>