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