1931 |
16 Apr 13 |
nicklas |
1 |
<%@ page |
1931 |
16 Apr 13 |
nicklas |
2 |
pageEncoding="UTF-8" |
1931 |
16 Apr 13 |
nicklas |
3 |
session="false" |
1931 |
16 Apr 13 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
1931 |
16 Apr 13 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
1931 |
16 Apr 13 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
1931 |
16 Apr 13 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
1931 |
16 Apr 13 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
1931 |
16 Apr 13 |
nicklas |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
1931 |
16 Apr 13 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
1931 |
16 Apr 13 |
nicklas |
11 |
%> |
1931 |
16 Apr 13 |
nicklas |
12 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
1931 |
16 Apr 13 |
nicklas |
13 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
1931 |
16 Apr 13 |
nicklas |
14 |
<% |
3976 |
26 May 16 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
1931 |
16 Apr 13 |
nicklas |
16 |
final String ID = sc.getId(); |
1931 |
16 Apr 13 |
nicklas |
17 |
final float scale = Base.getScale(sc); |
1931 |
16 Apr 13 |
nicklas |
18 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
1931 |
16 Apr 13 |
nicklas |
19 |
DbControl dc = null; |
1931 |
16 Apr 13 |
nicklas |
20 |
try |
1931 |
16 Apr 13 |
nicklas |
21 |
{ |
1931 |
16 Apr 13 |
nicklas |
22 |
dc = sc.newDbControl(); |
1931 |
16 Apr 13 |
nicklas |
23 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
1931 |
16 Apr 13 |
nicklas |
24 |
%> |
1931 |
16 Apr 13 |
nicklas |
25 |
<base:page type="default" > |
2669 |
15 Sep 14 |
nicklas |
26 |
<base:head |
2669 |
15 Sep 14 |
nicklas |
27 |
scripts="~../reggie-2.js,~libqc_registration.js" |
2669 |
15 Sep 14 |
nicklas |
28 |
styles="path.css,~../css/reggie-2.css" |
2669 |
15 Sep 14 |
nicklas |
29 |
/> |
2669 |
15 Sep 14 |
nicklas |
30 |
<base:body> |
1931 |
16 Apr 13 |
nicklas |
31 |
|
1931 |
16 Apr 13 |
nicklas |
32 |
<p:path><p:pathelement |
1931 |
16 Apr 13 |
nicklas |
33 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
1931 |
16 Apr 13 |
nicklas |
34 |
/><p:pathelement title="Register quality control results" |
1931 |
16 Apr 13 |
nicklas |
35 |
/></p:path> |
1931 |
16 Apr 13 |
nicklas |
36 |
|
1931 |
16 Apr 13 |
nicklas |
37 |
<div class="content"> |
1931 |
16 Apr 13 |
nicklas |
38 |
|
2669 |
15 Sep 14 |
nicklas |
39 |
<form name="reggie" id="wizard" class="wizard"> |
2669 |
15 Sep 14 |
nicklas |
40 |
|
2669 |
15 Sep 14 |
nicklas |
41 |
<div class="step" id="step-1"> |
2669 |
15 Sep 14 |
nicklas |
42 |
<div class="step-no">1</div> |
2669 |
15 Sep 14 |
nicklas |
43 |
<div class="step-title">Select Library bioplate</div> |
2669 |
15 Sep 14 |
nicklas |
44 |
<div class="step-content"> |
1931 |
16 Apr 13 |
nicklas |
45 |
|
2669 |
15 Sep 14 |
nicklas |
46 |
<table class="step-form"> |
2669 |
15 Sep 14 |
nicklas |
47 |
<tr> |
1931 |
16 Apr 13 |
nicklas |
48 |
<td class="prompt">Library bioplate</td> |
2669 |
15 Sep 14 |
nicklas |
49 |
<td class="input"> |
2669 |
15 Sep 14 |
nicklas |
50 |
<select class="required" name="bioplate" id="bioplate"></select> |
1986 |
21 May 13 |
nicklas |
51 |
|
1986 |
21 May 13 |
nicklas |
52 |
<base:buttongroup style="margin-top: 0.5em;"> |
2669 |
15 Sep 14 |
nicklas |
53 |
<base:button title="Select manually…" id="btnSelectLibPlate" /> |
1986 |
21 May 13 |
nicklas |
54 |
</base:buttongroup> |
1931 |
16 Apr 13 |
nicklas |
55 |
</td> |
1931 |
16 Apr 13 |
nicklas |
56 |
<td class="status" id="bioplate.status"></td> |
2669 |
15 Sep 14 |
nicklas |
57 |
<td class="help"> |
2669 |
15 Sep 14 |
nicklas |
58 |
<span id="bioplate.message" class="message"></span> |
1931 |
16 Apr 13 |
nicklas |
59 |
Select an existing Library bioplate. The list contain all Library bioplates that |
1931 |
16 Apr 13 |
nicklas |
60 |
has not yet been processed (determined by the absence of a 'creation' date). |
2005 |
29 May 13 |
nicklas |
61 |
Use the <b>Select manually</b> button to add more files to already completed plates. |
1931 |
16 Apr 13 |
nicklas |
62 |
</td> |
1931 |
16 Apr 13 |
nicklas |
63 |
</tr> |
1931 |
16 Apr 13 |
nicklas |
64 |
</table> |
2669 |
15 Sep 14 |
nicklas |
65 |
</div> |
1931 |
16 Apr 13 |
nicklas |
66 |
</div> |
1931 |
16 Apr 13 |
nicklas |
67 |
|
2669 |
15 Sep 14 |
nicklas |
68 |
<div class="step" id="step-2"> |
2669 |
15 Sep 14 |
nicklas |
69 |
<div class="step-no">2</div> |
2669 |
15 Sep 14 |
nicklas |
70 |
<div class="step-title" id="step-2-title">Quality control results</div> |
2669 |
15 Sep 14 |
nicklas |
71 |
<div class="step-content"> |
2669 |
15 Sep 14 |
nicklas |
72 |
|
2669 |
15 Sep 14 |
nicklas |
73 |
<table class="step-form"> |
2669 |
15 Sep 14 |
nicklas |
74 |
<tr> |
1931 |
16 Apr 13 |
nicklas |
75 |
<td class="prompt">Date</td> |
1931 |
16 Apr 13 |
nicklas |
76 |
<td class="input"> |
2669 |
15 Sep 14 |
nicklas |
77 |
<input type="text" name="qcDate" id="qcDate" |
2669 |
15 Sep 14 |
nicklas |
78 |
class="required auto-init" data-auto-init="focus-on-enter" data-next-focus="pdfqc" |
2669 |
15 Sep 14 |
nicklas |
79 |
style="width: 12em;" maxlength="10"> |
2669 |
15 Sep 14 |
nicklas |
80 |
<base:icon |
2669 |
15 Sep 14 |
nicklas |
81 |
id="qcDateCalendar" |
2669 |
15 Sep 14 |
nicklas |
82 |
subclass="auto-init" |
2669 |
15 Sep 14 |
nicklas |
83 |
data-auto-init="calendar" |
2669 |
15 Sep 14 |
nicklas |
84 |
data-textarea-id="qcDate" |
2669 |
15 Sep 14 |
nicklas |
85 |
data-date-format="yyyyMMdd" |
2669 |
15 Sep 14 |
nicklas |
86 |
data-title="Date" |
2669 |
15 Sep 14 |
nicklas |
87 |
image="calendar.png" |
2669 |
15 Sep 14 |
nicklas |
88 |
tooltip="Select a date from a calendar" |
2669 |
15 Sep 14 |
nicklas |
89 |
tabindex="-1" |
2669 |
15 Sep 14 |
nicklas |
90 |
/> |
1931 |
16 Apr 13 |
nicklas |
91 |
</td> |
1931 |
16 Apr 13 |
nicklas |
92 |
<td class="status" id="qcDate.status"></td> |
1931 |
16 Apr 13 |
nicklas |
93 |
<td class="help"> |
2669 |
15 Sep 14 |
nicklas |
94 |
<span id="qcDate.message" class="message"></span> |
2669 |
15 Sep 14 |
nicklas |
95 |
(YYYYMMDD or MMDD) |
1931 |
16 Apr 13 |
nicklas |
96 |
</td> |
1931 |
16 Apr 13 |
nicklas |
97 |
</tr> |
2669 |
15 Sep 14 |
nicklas |
98 |
<tr class="align-top"> |
1931 |
16 Apr 13 |
nicklas |
99 |
<td class="prompt">PDF file</td> |
1931 |
16 Apr 13 |
nicklas |
100 |
<td class="input"> |
2669 |
15 Sep 14 |
nicklas |
101 |
<table style="width: 100%;"> |
1931 |
16 Apr 13 |
nicklas |
102 |
<tr> |
2669 |
15 Sep 14 |
nicklas |
103 |
<td> |
2669 |
15 Sep 14 |
nicklas |
104 |
<input class="text required" type="text" name="pdfqc" id="pdfqc" |
2669 |
15 Sep 14 |
nicklas |
105 |
data-subtype="BIOANALYZER_PDF" data-name-filter="%.pdf" |
2669 |
15 Sep 14 |
nicklas |
106 |
data-directory="/home/SCANB/LibPlateQC" |
2669 |
15 Sep 14 |
nicklas |
107 |
> |
2669 |
15 Sep 14 |
nicklas |
108 |
</td> |
2669 |
15 Sep 14 |
nicklas |
109 |
<td style="padding-left: 4px; width: 7em;"> |
2669 |
15 Sep 14 |
nicklas |
110 |
<base:button |
1931 |
16 Apr 13 |
nicklas |
111 |
title="Browse…" |
2669 |
15 Sep 14 |
nicklas |
112 |
id="pdfqc.btn" |
2669 |
15 Sep 14 |
nicklas |
113 |
/> |
1931 |
16 Apr 13 |
nicklas |
114 |
</td> |
1931 |
16 Apr 13 |
nicklas |
115 |
</tr> |
1931 |
16 Apr 13 |
nicklas |
116 |
</table> |
1931 |
16 Apr 13 |
nicklas |
117 |
</td> |
1931 |
16 Apr 13 |
nicklas |
118 |
<td class="status" id="pdfqc.status"></td> |
2669 |
15 Sep 14 |
nicklas |
119 |
<td class="help"><span id="pdfqc.message" class="message"></span> |
1931 |
16 Apr 13 |
nicklas |
120 |
Select the PDF file that contains a printout with diagrams and other |
1931 |
16 Apr 13 |
nicklas |
121 |
useful documentation. |
1931 |
16 Apr 13 |
nicklas |
122 |
</td> |
1931 |
16 Apr 13 |
nicklas |
123 |
</tr> |
2669 |
15 Sep 14 |
nicklas |
124 |
<tr class="align-top"> |
1931 |
16 Apr 13 |
nicklas |
125 |
<td class="prompt">Comments</td> |
2669 |
15 Sep 14 |
nicklas |
126 |
<td class="input"> |
2669 |
15 Sep 14 |
nicklas |
127 |
<textarea class="required" rows="4" name="qccomments" id="qccomments"></textarea> |
2669 |
15 Sep 14 |
nicklas |
128 |
</td> |
1931 |
16 Apr 13 |
nicklas |
129 |
<td class="status" id="qccomments.status"></td> |
2669 |
15 Sep 14 |
nicklas |
130 |
<td class="help"> |
2669 |
15 Sep 14 |
nicklas |
131 |
<span id="qccomments.message" class="message"></span> |
2669 |
15 Sep 14 |
nicklas |
132 |
Comments about the quality control results. |
2669 |
15 Sep 14 |
nicklas |
133 |
</td> |
1931 |
16 Apr 13 |
nicklas |
134 |
</tr> |
1931 |
16 Apr 13 |
nicklas |
135 |
</table> |
2669 |
15 Sep 14 |
nicklas |
136 |
</div> |
1931 |
16 Apr 13 |
nicklas |
137 |
</div> |
1931 |
16 Apr 13 |
nicklas |
138 |
|
2669 |
15 Sep 14 |
nicklas |
139 |
<div id="wizard-status"></div> |
1931 |
16 Apr 13 |
nicklas |
140 |
|
2669 |
15 Sep 14 |
nicklas |
141 |
<table class="navigation" id="navigation"> |
2669 |
15 Sep 14 |
nicklas |
142 |
<tr> |
2669 |
15 Sep 14 |
nicklas |
143 |
<td><base:button id="gocancel" title="Cancel" /></td> |
2669 |
15 Sep 14 |
nicklas |
144 |
<td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" /></td> |
2669 |
15 Sep 14 |
nicklas |
145 |
<td><base:button id="goregister" title="Register" image="<%=home+"/images/import.png"%>" /></td> |
2669 |
15 Sep 14 |
nicklas |
146 |
<td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" /></td> |
2669 |
15 Sep 14 |
nicklas |
147 |
<td id="gonext-message" class="message"></td> |
2669 |
15 Sep 14 |
nicklas |
148 |
</tr> |
1931 |
16 Apr 13 |
nicklas |
149 |
</table> |
1931 |
16 Apr 13 |
nicklas |
150 |
|
1931 |
16 Apr 13 |
nicklas |
151 |
</form> |
1931 |
16 Apr 13 |
nicklas |
152 |
</div> |
1931 |
16 Apr 13 |
nicklas |
153 |
|
1931 |
16 Apr 13 |
nicklas |
154 |
</base:body> |
1931 |
16 Apr 13 |
nicklas |
155 |
</base:page> |
1931 |
16 Apr 13 |
nicklas |
156 |
<% |
1931 |
16 Apr 13 |
nicklas |
157 |
} |
1931 |
16 Apr 13 |
nicklas |
158 |
finally |
1931 |
16 Apr 13 |
nicklas |
159 |
{ |
1931 |
16 Apr 13 |
nicklas |
160 |
if (dc != null) dc.close(); |
1931 |
16 Apr 13 |
nicklas |
161 |
} |
1931 |
16 Apr 13 |
nicklas |
162 |
%> |