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.core.Extract" |
1911 |
19 Mar 13 |
nicklas |
9 |
import="net.sf.basedb.core.BioMaterial" |
1911 |
19 Mar 13 |
nicklas |
10 |
import="net.sf.basedb.core.MeasuredBioMaterial" |
1911 |
19 Mar 13 |
nicklas |
11 |
import="net.sf.basedb.core.BioMaterialEventSource" |
1911 |
19 Mar 13 |
nicklas |
12 |
import="net.sf.basedb.core.BioPlate" |
1911 |
19 Mar 13 |
nicklas |
13 |
import="net.sf.basedb.core.BioWell" |
1911 |
19 Mar 13 |
nicklas |
14 |
import="net.sf.basedb.core.PermissionDeniedException" |
1911 |
19 Mar 13 |
nicklas |
15 |
import="net.sf.basedb.core.ItemQuery" |
1911 |
19 Mar 13 |
nicklas |
16 |
import="net.sf.basedb.core.query.Restrictions" |
1911 |
19 Mar 13 |
nicklas |
17 |
import="net.sf.basedb.core.query.Hql" |
1959 |
03 May 13 |
nicklas |
18 |
import="net.sf.basedb.core.query.Orders" |
1911 |
19 Mar 13 |
nicklas |
19 |
import="net.sf.basedb.util.Values" |
1911 |
19 Mar 13 |
nicklas |
20 |
import="net.sf.basedb.util.formatter.WellCoordinateFormatter" |
1911 |
19 Mar 13 |
nicklas |
21 |
import="net.sf.basedb.util.extensions.Extension" |
1911 |
19 Mar 13 |
nicklas |
22 |
import="net.sf.basedb.clients.web.Base" |
1911 |
19 Mar 13 |
nicklas |
23 |
import="net.sf.basedb.clients.web.util.HTML" |
1911 |
19 Mar 13 |
nicklas |
24 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
2662 |
12 Sep 14 |
nicklas |
25 |
import="java.util.Arrays" |
1911 |
19 Mar 13 |
nicklas |
26 |
%> |
2662 |
12 Sep 14 |
nicklas |
27 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
1911 |
19 Mar 13 |
nicklas |
28 |
<% |
3976 |
26 May 16 |
nicklas |
29 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
1911 |
19 Mar 13 |
nicklas |
30 |
final String ID = sc.getId(); |
1911 |
19 Mar 13 |
nicklas |
31 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
1911 |
19 Mar 13 |
nicklas |
32 |
final String root = request.getContextPath(); |
1911 |
19 Mar 13 |
nicklas |
33 |
DbControl dc = null; |
1911 |
19 Mar 13 |
nicklas |
34 |
try |
1911 |
19 Mar 13 |
nicklas |
35 |
{ |
1911 |
19 Mar 13 |
nicklas |
36 |
dc = sc.newDbControl(); |
1911 |
19 Mar 13 |
nicklas |
37 |
final Extension reggie = ExtensionsControl.get(dc).getExtension("net.sf.basedb.reggie"); |
1911 |
19 Mar 13 |
nicklas |
38 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
1959 |
03 May 13 |
nicklas |
39 |
|
1959 |
03 May 13 |
nicklas |
40 |
Integer[] pools = Values.getInt(request.getParameterValues("pools")); |
1959 |
03 May 13 |
nicklas |
41 |
|
1911 |
19 Mar 13 |
nicklas |
42 |
int libPlateId = Values.getInt(request.getParameter("bioplate")); |
1959 |
03 May 13 |
nicklas |
43 |
BioPlate libPlate = libPlateId == 0 ? null : BioPlate.getById(dc, libPlateId); |
1911 |
19 Mar 13 |
nicklas |
44 |
String view = Values.getString(request.getParameter("view"), "list"); |
2662 |
12 Sep 14 |
nicklas |
45 |
|
2662 |
12 Sep 14 |
nicklas |
46 |
String title; |
1965 |
07 May 13 |
nicklas |
47 |
if (libPlate != null) |
1965 |
07 May 13 |
nicklas |
48 |
{ |
2662 |
12 Sep 14 |
nicklas |
49 |
title = "Lab protocol for pooling "+ HTML.encodeTags(libPlate.getName()) + " - " + view; |
1965 |
07 May 13 |
nicklas |
50 |
} |
1965 |
07 May 13 |
nicklas |
51 |
else |
1965 |
07 May 13 |
nicklas |
52 |
{ |
2662 |
12 Sep 14 |
nicklas |
53 |
title = "Lab protocol for pooling - " + view; |
1965 |
07 May 13 |
nicklas |
54 |
} |
1911 |
19 Mar 13 |
nicklas |
55 |
|
2662 |
12 Sep 14 |
nicklas |
56 |
%> |
3026 |
11 Dec 14 |
nicklas |
57 |
<base:page id="protocol" type="iframe" favicon="<%=home+"/images/flowcell.png"%>" title="<%=title%>" noskin="true"> |
2662 |
12 Sep 14 |
nicklas |
58 |
<base:head |
2662 |
12 Sep 14 |
nicklas |
59 |
scripts="~../reggie-2.js,~pools.js,~plate.js,~pool_protocol.js" |
2662 |
12 Sep 14 |
nicklas |
60 |
styles="~../css/reggie-2.css,~../css/printable.css,~../css/plate.css" |
2662 |
12 Sep 14 |
nicklas |
61 |
> |
1911 |
19 Mar 13 |
nicklas |
62 |
<style> |
1911 |
19 Mar 13 |
nicklas |
63 |
table.protocolheader |
1911 |
19 Mar 13 |
nicklas |
64 |
{ |
1911 |
19 Mar 13 |
nicklas |
65 |
width: 100%; |
2003 |
29 May 13 |
nicklas |
66 |
border: 1px solid #000000; |
2003 |
29 May 13 |
nicklas |
67 |
margin-bottom: 1em; |
2003 |
29 May 13 |
nicklas |
68 |
border-collapse: collapse; |
1911 |
19 Mar 13 |
nicklas |
69 |
} |
1911 |
19 Mar 13 |
nicklas |
70 |
|
1911 |
19 Mar 13 |
nicklas |
71 |
table.protocolheader > tbody > tr |
1911 |
19 Mar 13 |
nicklas |
72 |
{ |
2003 |
29 May 13 |
nicklas |
73 |
vertical-align: top; |
1911 |
19 Mar 13 |
nicklas |
74 |
height: 1.25em; |
1911 |
19 Mar 13 |
nicklas |
75 |
} |
1911 |
19 Mar 13 |
nicklas |
76 |
|
1911 |
19 Mar 13 |
nicklas |
77 |
table.protocolheader > tbody > tr > th |
1911 |
19 Mar 13 |
nicklas |
78 |
{ |
1911 |
19 Mar 13 |
nicklas |
79 |
text-align: left; |
1911 |
19 Mar 13 |
nicklas |
80 |
font-size: 1em; |
2003 |
29 May 13 |
nicklas |
81 |
background-color: #F0F0F0; |
2003 |
29 May 13 |
nicklas |
82 |
padding: 2px; |
1911 |
19 Mar 13 |
nicklas |
83 |
} |
2003 |
29 May 13 |
nicklas |
84 |
|
2003 |
29 May 13 |
nicklas |
85 |
table.protocolheader > tbody > tr > td |
2003 |
29 May 13 |
nicklas |
86 |
{ |
2003 |
29 May 13 |
nicklas |
87 |
text-align: left; |
2003 |
29 May 13 |
nicklas |
88 |
font-size: 1em; |
2003 |
29 May 13 |
nicklas |
89 |
padding: 2px; |
2003 |
29 May 13 |
nicklas |
90 |
} |
1959 |
03 May 13 |
nicklas |
91 |
|
1965 |
07 May 13 |
nicklas |
92 |
.pool-section |
1965 |
07 May 13 |
nicklas |
93 |
{ |
1965 |
07 May 13 |
nicklas |
94 |
page-break-inside: avoid; |
1965 |
07 May 13 |
nicklas |
95 |
} |
1965 |
07 May 13 |
nicklas |
96 |
|
1959 |
03 May 13 |
nicklas |
97 |
table.poolheader |
1959 |
03 May 13 |
nicklas |
98 |
{ |
1959 |
03 May 13 |
nicklas |
99 |
margin-top: 1em; |
1959 |
03 May 13 |
nicklas |
100 |
width: 100%; |
1965 |
07 May 13 |
nicklas |
101 |
border: 1px solid #000000; |
1965 |
07 May 13 |
nicklas |
102 |
border-bottom: 0px; |
1965 |
07 May 13 |
nicklas |
103 |
border-collapse: collapse; |
1959 |
03 May 13 |
nicklas |
104 |
} |
1959 |
03 May 13 |
nicklas |
105 |
|
1959 |
03 May 13 |
nicklas |
106 |
table.poolheader > tbody > tr |
1959 |
03 May 13 |
nicklas |
107 |
{ |
1959 |
03 May 13 |
nicklas |
108 |
height: 1.25em; |
1959 |
03 May 13 |
nicklas |
109 |
} |
1959 |
03 May 13 |
nicklas |
110 |
|
1959 |
03 May 13 |
nicklas |
111 |
table.poolheader > tbody > tr > th |
1959 |
03 May 13 |
nicklas |
112 |
{ |
1959 |
03 May 13 |
nicklas |
113 |
text-align: left; |
2053 |
09 Oct 13 |
nicklas |
114 |
font-size: 1.25em; |
1965 |
07 May 13 |
nicklas |
115 |
padding: 1px; |
1959 |
03 May 13 |
nicklas |
116 |
} |
1911 |
19 Mar 13 |
nicklas |
117 |
|
1959 |
03 May 13 |
nicklas |
118 |
.listview |
1911 |
19 Mar 13 |
nicklas |
119 |
{ |
1911 |
19 Mar 13 |
nicklas |
120 |
width: 100%; |
1911 |
19 Mar 13 |
nicklas |
121 |
font-size: 85%; |
1911 |
19 Mar 13 |
nicklas |
122 |
border-collapse: collapse; |
1911 |
19 Mar 13 |
nicklas |
123 |
border: 1px solid #000000; |
1911 |
19 Mar 13 |
nicklas |
124 |
} |
1911 |
19 Mar 13 |
nicklas |
125 |
|
1959 |
03 May 13 |
nicklas |
126 |
.listview tr.oddcol |
1911 |
19 Mar 13 |
nicklas |
127 |
{ |
1911 |
19 Mar 13 |
nicklas |
128 |
background-color: #F0F0F0; |
1911 |
19 Mar 13 |
nicklas |
129 |
} |
1911 |
19 Mar 13 |
nicklas |
130 |
|
1959 |
03 May 13 |
nicklas |
131 |
.listview thead |
1911 |
19 Mar 13 |
nicklas |
132 |
{ |
1911 |
19 Mar 13 |
nicklas |
133 |
border: 1px solid #000000; |
1911 |
19 Mar 13 |
nicklas |
134 |
background-color: #F0F0F0; |
1911 |
19 Mar 13 |
nicklas |
135 |
} |
1911 |
19 Mar 13 |
nicklas |
136 |
|
1959 |
03 May 13 |
nicklas |
137 |
.listview th |
1911 |
19 Mar 13 |
nicklas |
138 |
{ |
1911 |
19 Mar 13 |
nicklas |
139 |
border-left: 1px solid #000000; |
1911 |
19 Mar 13 |
nicklas |
140 |
} |
1911 |
19 Mar 13 |
nicklas |
141 |
|
1959 |
03 May 13 |
nicklas |
142 |
.listview td |
1911 |
19 Mar 13 |
nicklas |
143 |
{ |
1911 |
19 Mar 13 |
nicklas |
144 |
border-left: 1px solid #000000; |
1911 |
19 Mar 13 |
nicklas |
145 |
border-top: 1px dotted #666666; |
1911 |
19 Mar 13 |
nicklas |
146 |
vertical-align: middle; |
2053 |
09 Oct 13 |
nicklas |
147 |
padding: 2px; |
1911 |
19 Mar 13 |
nicklas |
148 |
} |
1911 |
19 Mar 13 |
nicklas |
149 |
|
2040 |
03 Oct 13 |
nicklas |
150 |
.listview .summary |
2040 |
03 Oct 13 |
nicklas |
151 |
{ |
2040 |
03 Oct 13 |
nicklas |
152 |
border-top: 1px solid #000000; |
2040 |
03 Oct 13 |
nicklas |
153 |
} |
2040 |
03 Oct 13 |
nicklas |
154 |
|
1959 |
03 May 13 |
nicklas |
155 |
.listview .col-num |
1911 |
19 Mar 13 |
nicklas |
156 |
{ |
1911 |
19 Mar 13 |
nicklas |
157 |
width: 1.75em; |
1911 |
19 Mar 13 |
nicklas |
158 |
text-align: center; |
1911 |
19 Mar 13 |
nicklas |
159 |
font-size: 125%; |
1911 |
19 Mar 13 |
nicklas |
160 |
font-weight: bold; |
1911 |
19 Mar 13 |
nicklas |
161 |
vertical-align: top; |
1911 |
19 Mar 13 |
nicklas |
162 |
} |
1911 |
19 Mar 13 |
nicklas |
163 |
|
1959 |
03 May 13 |
nicklas |
164 |
.listview .lib |
1911 |
19 Mar 13 |
nicklas |
165 |
{ |
1911 |
19 Mar 13 |
nicklas |
166 |
width: 15em; |
1911 |
19 Mar 13 |
nicklas |
167 |
text-align: center; |
1911 |
19 Mar 13 |
nicklas |
168 |
} |
1911 |
19 Mar 13 |
nicklas |
169 |
|
1959 |
03 May 13 |
nicklas |
170 |
.listview .empty .lib |
1911 |
19 Mar 13 |
nicklas |
171 |
{ |
1911 |
19 Mar 13 |
nicklas |
172 |
font-style: italic; |
1911 |
19 Mar 13 |
nicklas |
173 |
color: #666666; |
1911 |
19 Mar 13 |
nicklas |
174 |
text-align: center; |
1911 |
19 Mar 13 |
nicklas |
175 |
} |
1911 |
19 Mar 13 |
nicklas |
176 |
|
1959 |
03 May 13 |
nicklas |
177 |
.listview .workplate |
1911 |
19 Mar 13 |
nicklas |
178 |
{ |
1959 |
03 May 13 |
nicklas |
179 |
|
1959 |
03 May 13 |
nicklas |
180 |
width: <%=libPlate==null ? "14em" : "7em"%>; |
1911 |
19 Mar 13 |
nicklas |
181 |
text-align: center; |
1911 |
19 Mar 13 |
nicklas |
182 |
} |
1911 |
19 Mar 13 |
nicklas |
183 |
|
1959 |
03 May 13 |
nicklas |
184 |
.listview .pool |
1911 |
19 Mar 13 |
nicklas |
185 |
{ |
1911 |
19 Mar 13 |
nicklas |
186 |
width: 7em; |
1911 |
19 Mar 13 |
nicklas |
187 |
text-align: center; |
1911 |
19 Mar 13 |
nicklas |
188 |
} |
1911 |
19 Mar 13 |
nicklas |
189 |
|
1959 |
03 May 13 |
nicklas |
190 |
.listview .remain, .listview .molarity |
1911 |
19 Mar 13 |
nicklas |
191 |
{ |
1911 |
19 Mar 13 |
nicklas |
192 |
width: 4.5em; |
1911 |
19 Mar 13 |
nicklas |
193 |
padding-right: 0.5em; |
1911 |
19 Mar 13 |
nicklas |
194 |
text-align: right; |
1911 |
19 Mar 13 |
nicklas |
195 |
} |
1911 |
19 Mar 13 |
nicklas |
196 |
|
1975 |
15 May 13 |
nicklas |
197 |
.listview .volume |
1911 |
19 Mar 13 |
nicklas |
198 |
{ |
1975 |
15 May 13 |
nicklas |
199 |
width: 3.5em; |
1911 |
19 Mar 13 |
nicklas |
200 |
padding-right: 0.5em; |
1911 |
19 Mar 13 |
nicklas |
201 |
text-align: right; |
1911 |
19 Mar 13 |
nicklas |
202 |
color: #C80000; |
1911 |
19 Mar 13 |
nicklas |
203 |
} |
1911 |
19 Mar 13 |
nicklas |
204 |
|
1959 |
03 May 13 |
nicklas |
205 |
.listview .eb |
1911 |
19 Mar 13 |
nicklas |
206 |
{ |
1975 |
15 May 13 |
nicklas |
207 |
width: 3.5em; |
1975 |
15 May 13 |
nicklas |
208 |
padding-right: 0.5em; |
1975 |
15 May 13 |
nicklas |
209 |
text-align: right; |
1911 |
19 Mar 13 |
nicklas |
210 |
color: #0000C8; |
1911 |
19 Mar 13 |
nicklas |
211 |
} |
1911 |
19 Mar 13 |
nicklas |
212 |
|
1959 |
03 May 13 |
nicklas |
213 |
.listview .remarks |
1911 |
19 Mar 13 |
nicklas |
214 |
{ |
1911 |
19 Mar 13 |
nicklas |
215 |
vertical-align: top; |
1911 |
19 Mar 13 |
nicklas |
216 |
padding-left: 0.25em; |
1911 |
19 Mar 13 |
nicklas |
217 |
} |
1911 |
19 Mar 13 |
nicklas |
218 |
|
2053 |
09 Oct 13 |
nicklas |
219 |
.mix-remark .volume, .mix-remark .eb |
2053 |
09 Oct 13 |
nicklas |
220 |
{ |
2053 |
09 Oct 13 |
nicklas |
221 |
padding: 0; |
2053 |
09 Oct 13 |
nicklas |
222 |
text-align: inherit; |
2053 |
09 Oct 13 |
nicklas |
223 |
width: inherit; |
2053 |
09 Oct 13 |
nicklas |
224 |
font-weight: bold; |
2053 |
09 Oct 13 |
nicklas |
225 |
} |
2053 |
09 Oct 13 |
nicklas |
226 |
|
1911 |
19 Mar 13 |
nicklas |
227 |
#plateview .well |
1911 |
19 Mar 13 |
nicklas |
228 |
{ |
3310 |
07 May 15 |
nicklas |
229 |
width: auto; |
3310 |
07 May 15 |
nicklas |
230 |
xwidth: 8.2%; |
3310 |
07 May 15 |
nicklas |
231 |
xmax-width: 8.2%; |
3310 |
07 May 15 |
nicklas |
232 |
xmin-width: 8.2%; |
1925 |
11 Apr 13 |
nicklas |
233 |
padding: 4px; |
1911 |
19 Mar 13 |
nicklas |
234 |
} |
1925 |
11 Apr 13 |
nicklas |
235 |
|
1925 |
11 Apr 13 |
nicklas |
236 |
#plateview .well:hover |
1925 |
11 Apr 13 |
nicklas |
237 |
{ |
1925 |
11 Apr 13 |
nicklas |
238 |
padding: 3px; |
1925 |
11 Apr 13 |
nicklas |
239 |
} |
1925 |
11 Apr 13 |
nicklas |
240 |
|
1911 |
19 Mar 13 |
nicklas |
241 |
#plateview .rowheader |
1911 |
19 Mar 13 |
nicklas |
242 |
{ |
1911 |
19 Mar 13 |
nicklas |
243 |
width: 2em; |
1911 |
19 Mar 13 |
nicklas |
244 |
} |
1911 |
19 Mar 13 |
nicklas |
245 |
|
1911 |
19 Mar 13 |
nicklas |
246 |
#plateview .lib |
1911 |
19 Mar 13 |
nicklas |
247 |
{ |
1911 |
19 Mar 13 |
nicklas |
248 |
font-weight: bold; |
1925 |
11 Apr 13 |
nicklas |
249 |
margin-bottom: 0.25em; |
1911 |
19 Mar 13 |
nicklas |
250 |
} |
1911 |
19 Mar 13 |
nicklas |
251 |
#plateview .volume |
1911 |
19 Mar 13 |
nicklas |
252 |
{ |
1911 |
19 Mar 13 |
nicklas |
253 |
color: #C80000; |
1911 |
19 Mar 13 |
nicklas |
254 |
} |
1911 |
19 Mar 13 |
nicklas |
255 |
#plateview .eb |
1911 |
19 Mar 13 |
nicklas |
256 |
{ |
1911 |
19 Mar 13 |
nicklas |
257 |
color: #0000C8; |
1925 |
11 Apr 13 |
nicklas |
258 |
float: right; |
1911 |
19 Mar 13 |
nicklas |
259 |
} |
1911 |
19 Mar 13 |
nicklas |
260 |
|
1911 |
19 Mar 13 |
nicklas |
261 |
#plateview .remarks |
1911 |
19 Mar 13 |
nicklas |
262 |
{ |
1911 |
19 Mar 13 |
nicklas |
263 |
color: #C80000; |
1911 |
19 Mar 13 |
nicklas |
264 |
font-style: italic; |
1911 |
19 Mar 13 |
nicklas |
265 |
} |
2040 |
03 Oct 13 |
nicklas |
266 |
|
2053 |
09 Oct 13 |
nicklas |
267 |
#plateview .mix-remark |
2053 |
09 Oct 13 |
nicklas |
268 |
{ |
2053 |
09 Oct 13 |
nicklas |
269 |
display: none; |
2053 |
09 Oct 13 |
nicklas |
270 |
} |
2053 |
09 Oct 13 |
nicklas |
271 |
|
2053 |
09 Oct 13 |
nicklas |
272 |
.pool-eb |
2053 |
09 Oct 13 |
nicklas |
273 |
{ |
2053 |
09 Oct 13 |
nicklas |
274 |
color: #0000C8; |
2053 |
09 Oct 13 |
nicklas |
275 |
} |
2053 |
09 Oct 13 |
nicklas |
276 |
|
2184 |
09 Jan 14 |
nicklas |
277 |
#pool-row th |
2040 |
03 Oct 13 |
nicklas |
278 |
{ |
2184 |
09 Jan 14 |
nicklas |
279 |
border-top: 0; |
2184 |
09 Jan 14 |
nicklas |
280 |
border-bottom: 1px solid #808080; |
2040 |
03 Oct 13 |
nicklas |
281 |
vertical-align: top; |
2184 |
09 Jan 14 |
nicklas |
282 |
padding: 0; |
2040 |
03 Oct 13 |
nicklas |
283 |
} |
2040 |
03 Oct 13 |
nicklas |
284 |
|
1975 |
15 May 13 |
nicklas |
285 |
#plateview .pool-data |
1975 |
15 May 13 |
nicklas |
286 |
{ |
1975 |
15 May 13 |
nicklas |
287 |
font-weight: normal; |
1975 |
15 May 13 |
nicklas |
288 |
} |
2040 |
03 Oct 13 |
nicklas |
289 |
#plateview .comments |
2040 |
03 Oct 13 |
nicklas |
290 |
{ |
2040 |
03 Oct 13 |
nicklas |
291 |
font-style: italic; |
2040 |
03 Oct 13 |
nicklas |
292 |
} |
2040 |
03 Oct 13 |
nicklas |
293 |
|
3762 |
19 Feb 16 |
nicklas |
294 |
.yellow-specimen .if-yellow |
3762 |
19 Feb 16 |
nicklas |
295 |
{ |
3762 |
19 Feb 16 |
nicklas |
296 |
background-image: url('../images/yellow-label-small.png'); |
3762 |
19 Feb 16 |
nicklas |
297 |
background-position: 1px 50%; |
3762 |
19 Feb 16 |
nicklas |
298 |
background-repeat: no-repeat; |
3762 |
19 Feb 16 |
nicklas |
299 |
/* Grow background without shifting text position veritcally, move to right to make room for icon*/ |
3762 |
19 Feb 16 |
nicklas |
300 |
padding: 4px 4px 3px 14px; |
3762 |
19 Feb 16 |
nicklas |
301 |
margin: -4px -4px -1px -4px; |
3762 |
19 Feb 16 |
nicklas |
302 |
} |
3762 |
19 Feb 16 |
nicklas |
303 |
|
1911 |
19 Mar 13 |
nicklas |
304 |
</style> |
2662 |
12 Sep 14 |
nicklas |
305 |
</base:head> |
2662 |
12 Sep 14 |
nicklas |
306 |
<base:body> |
2662 |
12 Sep 14 |
nicklas |
307 |
|
1911 |
19 Mar 13 |
nicklas |
308 |
<div class="paper <%=view.equals("list") ? "" : "landscape"%>"> |
2662 |
12 Sep 14 |
nicklas |
309 |
|
2662 |
12 Sep 14 |
nicklas |
310 |
<form name="reggie" id="wizard"> |
2662 |
12 Sep 14 |
nicklas |
311 |
|
2662 |
12 Sep 14 |
nicklas |
312 |
<div id="page-data" class="datacontainer" |
2662 |
12 Sep 14 |
nicklas |
313 |
data-libplate="<%=libPlateId%>" |
2662 |
12 Sep 14 |
nicklas |
314 |
data-pools="<%=Values.getString(Arrays.asList(pools), ",", true)%>" |
2662 |
12 Sep 14 |
nicklas |
315 |
data-view="<%=view%>" |
3762 |
19 Feb 16 |
nicklas |
316 |
data-home-url="<%=home%>" |
2662 |
12 Sep 14 |
nicklas |
317 |
></div> |
2662 |
12 Sep 14 |
nicklas |
318 |
|
2662 |
12 Sep 14 |
nicklas |
319 |
<div id="wizard-status"></div> |
2662 |
12 Sep 14 |
nicklas |
320 |
|
2662 |
12 Sep 14 |
nicklas |
321 |
<div id="all-protocol" style="display: none;"> |
2662 |
12 Sep 14 |
nicklas |
322 |
<div id="print-instructions" class="noprint fullwidth"> |
2970 |
24 Nov 14 |
nicklas |
323 |
<base:button id="print-button" image="<%=home+"/images/print.png"%>" title="Print…" /> |
2970 |
24 Nov 14 |
nicklas |
324 |
<span id="printNote"> |
1911 |
19 Mar 13 |
nicklas |
325 |
<b>Note!</b> |
1911 |
19 Mar 13 |
nicklas |
326 |
<% |
1911 |
19 Mar 13 |
nicklas |
327 |
if (view.equals("list")) |
1911 |
19 Mar 13 |
nicklas |
328 |
{ |
1911 |
19 Mar 13 |
nicklas |
329 |
%> |
1911 |
19 Mar 13 |
nicklas |
330 |
For better printing reduce margins to about <i>5mm</i> and set page orientation |
1911 |
19 Mar 13 |
nicklas |
331 |
to <i>portrait</i>. To fit everything on a single page, scale down to <i>60-70%</i>. |
1911 |
19 Mar 13 |
nicklas |
332 |
<% |
1911 |
19 Mar 13 |
nicklas |
333 |
} |
1911 |
19 Mar 13 |
nicklas |
334 |
else |
1911 |
19 Mar 13 |
nicklas |
335 |
{ |
1911 |
19 Mar 13 |
nicklas |
336 |
%> |
1911 |
19 Mar 13 |
nicklas |
337 |
For better printing reduce margins to about <i>5mm</i> and set page orientation |
1911 |
19 Mar 13 |
nicklas |
338 |
to <i>landscape</i>. The recommended scale is <i>100%</i>. |
1911 |
19 Mar 13 |
nicklas |
339 |
<% |
1911 |
19 Mar 13 |
nicklas |
340 |
} |
1911 |
19 Mar 13 |
nicklas |
341 |
%> |
2970 |
24 Nov 14 |
nicklas |
342 |
</span> |
1911 |
19 Mar 13 |
nicklas |
343 |
<br clear="all"> |
1911 |
19 Mar 13 |
nicklas |
344 |
</div> |
1911 |
19 Mar 13 |
nicklas |
345 |
|
1911 |
19 Mar 13 |
nicklas |
346 |
<h1>Lab protocol for library pooling <span class="reggie">Reggie <%=reggie.getAbout().getVersion() %></span></h1> |
1911 |
19 Mar 13 |
nicklas |
347 |
|
2003 |
29 May 13 |
nicklas |
348 |
<table style="width: 100%;" class="protocolheader"> |
2003 |
29 May 13 |
nicklas |
349 |
<tr style="border-bottom: 1px solid #000000;"> |
2003 |
29 May 13 |
nicklas |
350 |
<th style="width: 15%;">Library plate</th> |
2003 |
29 May 13 |
nicklas |
351 |
<td style="width: 30%; border-right: 1px solid #000000;"><%=libPlate == null ? "Multiple" : HTML.encodeTags(libPlate.getName())%></td> |
2003 |
29 May 13 |
nicklas |
352 |
<th style="width: 15%;"></th> |
2003 |
29 May 13 |
nicklas |
353 |
<th style="width: 20%;">Date</th> |
2003 |
29 May 13 |
nicklas |
354 |
<th style="width: 20%;">Operator</th> |
2003 |
29 May 13 |
nicklas |
355 |
</tr> |
2003 |
29 May 13 |
nicklas |
356 |
<tr> |
2003 |
29 May 13 |
nicklas |
357 |
<td rowspan="1" colspan="2" style="width: 50%; border-right: 1px solid #000000;"><%=libPlate != null ? HTML.niceFormat(libPlate.getDescription()) : ""%></td> |
2003 |
29 May 13 |
nicklas |
358 |
<td style="border-right: 1px solid #000000;">Pooling</td> |
2003 |
29 May 13 |
nicklas |
359 |
<td style="border-right: 1px solid #000000;"></td> |
1959 |
03 May 13 |
nicklas |
360 |
<td></td> |
1911 |
19 Mar 13 |
nicklas |
361 |
</tr> |
1911 |
19 Mar 13 |
nicklas |
362 |
</table> |
1911 |
19 Mar 13 |
nicklas |
363 |
|
1911 |
19 Mar 13 |
nicklas |
364 |
<% |
1911 |
19 Mar 13 |
nicklas |
365 |
if (view.equals("list")) |
1911 |
19 Mar 13 |
nicklas |
366 |
{ |
1959 |
03 May 13 |
nicklas |
367 |
for (Integer poolId :pools) |
1959 |
03 May 13 |
nicklas |
368 |
{ |
1959 |
03 May 13 |
nicklas |
369 |
Extract pool = Extract.getById(dc, poolId); |
1959 |
03 May 13 |
nicklas |
370 |
%> |
1965 |
07 May 13 |
nicklas |
371 |
<div id="pool.<%=poolId%>" style="display: none;" class="pool-section"> |
1965 |
07 May 13 |
nicklas |
372 |
<table style="width: 100%;" class="poolheader"> |
1959 |
03 May 13 |
nicklas |
373 |
<tr valign="top"> |
2040 |
03 Oct 13 |
nicklas |
374 |
<th style="width: 25%;"><%=HTML.encodeTags(pool.getName())%></th> |
2040 |
03 Oct 13 |
nicklas |
375 |
<th style="width: 75%; border-left: 1px solid #000000;">Comments:</th> |
1911 |
19 Mar 13 |
nicklas |
376 |
</tr> |
1959 |
03 May 13 |
nicklas |
377 |
<tr valign="top"> |
2040 |
03 Oct 13 |
nicklas |
378 |
<td style="width: 25%;"><span id="molarity.<%=poolId%>"></span></td> |
2040 |
03 Oct 13 |
nicklas |
379 |
<td style="border-left: 1px solid #000000;"><%=HTML.niceFormat(pool.getDescription()) %></td> |
1911 |
19 Mar 13 |
nicklas |
380 |
</tr> |
1959 |
03 May 13 |
nicklas |
381 |
</table> |
1959 |
03 May 13 |
nicklas |
382 |
<table style="width: 100%;" class="listview" id="listview.<%=poolId%>"> |
1959 |
03 May 13 |
nicklas |
383 |
<thead> |
1959 |
03 May 13 |
nicklas |
384 |
<tr class="toprow"> |
1959 |
03 May 13 |
nicklas |
385 |
<th class="lib"></th> |
1959 |
03 May 13 |
nicklas |
386 |
<th>Remain</th> |
1959 |
03 May 13 |
nicklas |
387 |
<th>DNA</th> |
1959 |
03 May 13 |
nicklas |
388 |
<th class="workplate">Work</th> |
2027 |
30 Sep 13 |
nicklas |
389 |
<th>Lib</th> |
2027 |
30 Sep 13 |
nicklas |
390 |
<th>EB</th> |
1959 |
03 May 13 |
nicklas |
391 |
<th></th> |
1911 |
19 Mar 13 |
nicklas |
392 |
</tr> |
1959 |
03 May 13 |
nicklas |
393 |
<tr> |
1959 |
03 May 13 |
nicklas |
394 |
<th class="lib">Library</th> |
2140 |
18 Nov 13 |
nicklas |
395 |
<th>(µl)</th> |
1959 |
03 May 13 |
nicklas |
396 |
<th>(nM)</th> |
1959 |
03 May 13 |
nicklas |
397 |
<th class="workplate">plate</th> |
1959 |
03 May 13 |
nicklas |
398 |
<th>(µl)</th> |
2027 |
30 Sep 13 |
nicklas |
399 |
<th>(µl)</th> |
1959 |
03 May 13 |
nicklas |
400 |
<th>Remarks</th> |
1959 |
03 May 13 |
nicklas |
401 |
</tr> |
1959 |
03 May 13 |
nicklas |
402 |
</thead> |
1959 |
03 May 13 |
nicklas |
403 |
<tbody id="listview.<%=poolId%>.body"> |
1911 |
19 Mar 13 |
nicklas |
404 |
</tbody> |
2040 |
03 Oct 13 |
nicklas |
405 |
<tbody> |
2040 |
03 Oct 13 |
nicklas |
406 |
<tr class="summary"> |
2053 |
09 Oct 13 |
nicklas |
407 |
<td colspan="5" style="text-align: right; font-weight: bold; padding-right: 0.5em; font-size: 120%;">EB volume to add</td> |
2053 |
09 Oct 13 |
nicklas |
408 |
<td id="eb-volume.<%=poolId%>" class="eb">eb</td> |
2040 |
03 Oct 13 |
nicklas |
409 |
<td></td> |
2040 |
03 Oct 13 |
nicklas |
410 |
</tr> |
2040 |
03 Oct 13 |
nicklas |
411 |
</tbody> |
1959 |
03 May 13 |
nicklas |
412 |
</table> |
1959 |
03 May 13 |
nicklas |
413 |
</div> |
1911 |
19 Mar 13 |
nicklas |
414 |
<% |
1911 |
19 Mar 13 |
nicklas |
415 |
} |
1911 |
19 Mar 13 |
nicklas |
416 |
} |
1959 |
03 May 13 |
nicklas |
417 |
%> |
1959 |
03 May 13 |
nicklas |
418 |
<% |
1959 |
03 May 13 |
nicklas |
419 |
if (view.equals("plate")) |
1911 |
19 Mar 13 |
nicklas |
420 |
{ |
1911 |
19 Mar 13 |
nicklas |
421 |
%> |
3310 |
07 May 15 |
nicklas |
422 |
<table class="plate" style="margin: 1em auto 1em auto;" id="plateview"> |
1911 |
19 Mar 13 |
nicklas |
423 |
</table> |
2053 |
09 Oct 13 |
nicklas |
424 |
<div style="margin: 1em;"> |
2053 |
09 Oct 13 |
nicklas |
425 |
For each pool: <i>Number of libraries</i> • <i>Final molarity</i> • <i>Total volume</i> • <i>EB volume (dynamic mixing only)</i> |
2053 |
09 Oct 13 |
nicklas |
426 |
</div> |
1911 |
19 Mar 13 |
nicklas |
427 |
<% |
1911 |
19 Mar 13 |
nicklas |
428 |
} |
1911 |
19 Mar 13 |
nicklas |
429 |
%> |
1911 |
19 Mar 13 |
nicklas |
430 |
</div> |
2662 |
12 Sep 14 |
nicklas |
431 |
</form> |
2662 |
12 Sep 14 |
nicklas |
432 |
</div> |
2662 |
12 Sep 14 |
nicklas |
433 |
|
2662 |
12 Sep 14 |
nicklas |
434 |
</base:body> |
2662 |
12 Sep 14 |
nicklas |
435 |
</base:page> |
1911 |
19 Mar 13 |
nicklas |
436 |
<% |
1911 |
19 Mar 13 |
nicklas |
437 |
} |
1911 |
19 Mar 13 |
nicklas |
438 |
finally |
1911 |
19 Mar 13 |
nicklas |
439 |
{ |
1911 |
19 Mar 13 |
nicklas |
440 |
if (dc != null) dc.close(); |
1911 |
19 Mar 13 |
nicklas |
441 |
} |
1911 |
19 Mar 13 |
nicklas |
442 |
%> |