1911 |
19 Mar 13 |
nicklas |
1 |
<%@ page |
1911 |
19 Mar 13 |
nicklas |
2 |
pageEncoding="UTF-8" |
1911 |
19 Mar 13 |
nicklas |
3 |
session="false" |
1911 |
19 Mar 13 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
1911 |
19 Mar 13 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
1911 |
19 Mar 13 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
1911 |
19 Mar 13 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
1911 |
19 Mar 13 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
1911 |
19 Mar 13 |
nicklas |
9 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
1911 |
19 Mar 13 |
nicklas |
10 |
%> |
1911 |
19 Mar 13 |
nicklas |
11 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
1911 |
19 Mar 13 |
nicklas |
12 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
1911 |
19 Mar 13 |
nicklas |
13 |
<% |
3976 |
26 May 16 |
nicklas |
14 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
1911 |
19 Mar 13 |
nicklas |
15 |
final String ID = sc.getId(); |
1911 |
19 Mar 13 |
nicklas |
16 |
final float scale = Base.getScale(sc); |
1911 |
19 Mar 13 |
nicklas |
17 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
1911 |
19 Mar 13 |
nicklas |
18 |
DbControl dc = null; |
1911 |
19 Mar 13 |
nicklas |
19 |
try |
1911 |
19 Mar 13 |
nicklas |
20 |
{ |
1911 |
19 Mar 13 |
nicklas |
21 |
dc = sc.newDbControl(); |
1911 |
19 Mar 13 |
nicklas |
22 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
1911 |
19 Mar 13 |
nicklas |
23 |
%> |
1911 |
19 Mar 13 |
nicklas |
24 |
<base:page type="default" > |
2662 |
12 Sep 14 |
nicklas |
25 |
<base:head |
2662 |
12 Sep 14 |
nicklas |
26 |
scripts="~../reggie-2.js,~pool_protocol.js" |
2662 |
12 Sep 14 |
nicklas |
27 |
styles="path.css,~../css/reggie-2.css" |
2662 |
12 Sep 14 |
nicklas |
28 |
/> |
2662 |
12 Sep 14 |
nicklas |
29 |
<base:body> |
1911 |
19 Mar 13 |
nicklas |
30 |
|
1911 |
19 Mar 13 |
nicklas |
31 |
<p:path><p:pathelement |
1911 |
19 Mar 13 |
nicklas |
32 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
1911 |
19 Mar 13 |
nicklas |
33 |
/><p:pathelement title="Lab protocols for library pooling" |
1911 |
19 Mar 13 |
nicklas |
34 |
/></p:path> |
1911 |
19 Mar 13 |
nicklas |
35 |
|
1911 |
19 Mar 13 |
nicklas |
36 |
<div class="content"> |
1911 |
19 Mar 13 |
nicklas |
37 |
|
2662 |
12 Sep 14 |
nicklas |
38 |
<form name="reggie" action="pool_protocol2.jsp" method="post" target="_blank" id="wizard" class="wizard"> |
1911 |
19 Mar 13 |
nicklas |
39 |
<input type="hidden" name="ID" value="<%=ID%>"> |
1911 |
19 Mar 13 |
nicklas |
40 |
<input type="hidden" name="view" value="list"> |
1911 |
19 Mar 13 |
nicklas |
41 |
|
2662 |
12 Sep 14 |
nicklas |
42 |
<div class="step auto-hide" id="step-1"> |
2662 |
12 Sep 14 |
nicklas |
43 |
<div class="step-no">1</div> |
2662 |
12 Sep 14 |
nicklas |
44 |
<div class="step-title">Select pools</div> |
2662 |
12 Sep 14 |
nicklas |
45 |
<div class="step-content"> |
2662 |
12 Sep 14 |
nicklas |
46 |
<table class="step-form"> |
2662 |
12 Sep 14 |
nicklas |
47 |
<tr> |
1959 |
03 May 13 |
nicklas |
48 |
<td class="prompt">Library plate</td> |
1959 |
03 May 13 |
nicklas |
49 |
<td class="input"> |
2662 |
12 Sep 14 |
nicklas |
50 |
<select name="bioplate" id="bioplate"> |
2141 |
18 Nov 13 |
nicklas |
51 |
<option value="0">- manual pools - |
1959 |
03 May 13 |
nicklas |
52 |
</select> |
1911 |
19 Mar 13 |
nicklas |
53 |
</td> |
1911 |
19 Mar 13 |
nicklas |
54 |
<td class="status" id="bioplate.status"></td> |
2662 |
12 Sep 14 |
nicklas |
55 |
<td class="help"> |
2662 |
12 Sep 14 |
nicklas |
56 |
<span id="bioplate.message" class="message"></span> |
1959 |
03 May 13 |
nicklas |
57 |
Select the library bioplate that should be pooled in this step. The list contains |
1959 |
03 May 13 |
nicklas |
58 |
all plates with pools that has not yet been created (determined by abscense of creation date). |
2141 |
18 Nov 13 |
nicklas |
59 |
Use the <b>manual pools</b> option to select pools that has been manually created. |
1911 |
19 Mar 13 |
nicklas |
60 |
</td> |
1911 |
19 Mar 13 |
nicklas |
61 |
</tr> |
2662 |
12 Sep 14 |
nicklas |
62 |
<tr class="align-top"> |
1959 |
03 May 13 |
nicklas |
63 |
<td class="prompt">Pools</td> |
2662 |
12 Sep 14 |
nicklas |
64 |
<td class="input"> |
2662 |
12 Sep 14 |
nicklas |
65 |
<select name="pools" id="pools" size="6" multiple></select> |
1959 |
03 May 13 |
nicklas |
66 |
</td> |
1959 |
03 May 13 |
nicklas |
67 |
<td class="status" id="pools.status"></td> |
2662 |
12 Sep 14 |
nicklas |
68 |
<td class="help"> |
2662 |
12 Sep 14 |
nicklas |
69 |
<span id="pools.message" class="message"></span> |
1965 |
07 May 13 |
nicklas |
70 |
Select the pools to work with. If a plate has been selected no changes can be made. |
1959 |
03 May 13 |
nicklas |
71 |
</td> |
1911 |
19 Mar 13 |
nicklas |
72 |
</tr> |
2662 |
12 Sep 14 |
nicklas |
73 |
<tr class="align-top"> |
1911 |
19 Mar 13 |
nicklas |
74 |
<td class="prompt">Lab protocols</td> |
2662 |
12 Sep 14 |
nicklas |
75 |
<td class="input"> |
2662 |
12 Sep 14 |
nicklas |
76 |
<span id="listview" class="link" data-protocol-type="list"><img src="../images/listview.png"> List layout</span><br> |
2662 |
12 Sep 14 |
nicklas |
77 |
<span id="plateview" class="link" data-protocol-type="plate"><img src="../images/plateview.png"> Plate layout</span><br> |
1911 |
19 Mar 13 |
nicklas |
78 |
</td> |
1911 |
19 Mar 13 |
nicklas |
79 |
<td class="status" id="protocol.status"></td> |
2662 |
12 Sep 14 |
nicklas |
80 |
<td class="help"> |
2662 |
12 Sep 14 |
nicklas |
81 |
<span id="protocol.message" class="message"></span> |
1911 |
19 Mar 13 |
nicklas |
82 |
The 'list layout' generates a table with one row for each well on the work plate. |
1911 |
19 Mar 13 |
nicklas |
83 |
The 'plate layout' generates a grid with wells arranged according to row and column coordinates. |
1911 |
19 Mar 13 |
nicklas |
84 |
</td> |
1911 |
19 Mar 13 |
nicklas |
85 |
</tr> |
1959 |
03 May 13 |
nicklas |
86 |
</table> |
2662 |
12 Sep 14 |
nicklas |
87 |
</div> |
1973 |
14 May 13 |
nicklas |
88 |
</div> |
1911 |
19 Mar 13 |
nicklas |
89 |
|
2662 |
12 Sep 14 |
nicklas |
90 |
<div id="wizard-status"></div> |
1911 |
19 Mar 13 |
nicklas |
91 |
|
1911 |
19 Mar 13 |
nicklas |
92 |
</form> |
1911 |
19 Mar 13 |
nicklas |
93 |
</div> |
1911 |
19 Mar 13 |
nicklas |
94 |
|
1911 |
19 Mar 13 |
nicklas |
95 |
</base:body> |
1911 |
19 Mar 13 |
nicklas |
96 |
</base:page> |
1911 |
19 Mar 13 |
nicklas |
97 |
<% |
1911 |
19 Mar 13 |
nicklas |
98 |
} |
1911 |
19 Mar 13 |
nicklas |
99 |
finally |
1911 |
19 Mar 13 |
nicklas |
100 |
{ |
1911 |
19 Mar 13 |
nicklas |
101 |
if (dc != null) dc.close(); |
1911 |
19 Mar 13 |
nicklas |
102 |
} |
1911 |
19 Mar 13 |
nicklas |
103 |
%> |