3558 |
21 Oct 15 |
nicklas |
1 |
<%@ page |
3558 |
21 Oct 15 |
nicklas |
2 |
pageEncoding="UTF-8" |
3558 |
21 Oct 15 |
nicklas |
3 |
session="false" |
3558 |
21 Oct 15 |
nicklas |
4 |
import="net.sf.basedb.core.Application" |
3558 |
21 Oct 15 |
nicklas |
5 |
import="net.sf.basedb.core.User" |
3558 |
21 Oct 15 |
nicklas |
6 |
import="net.sf.basedb.core.DbControl" |
3558 |
21 Oct 15 |
nicklas |
7 |
import="net.sf.basedb.core.SessionControl" |
3558 |
21 Oct 15 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
3558 |
21 Oct 15 |
nicklas |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
3558 |
21 Oct 15 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
3558 |
21 Oct 15 |
nicklas |
11 |
import="net.sf.basedb.util.Values" |
3558 |
21 Oct 15 |
nicklas |
12 |
%> |
3558 |
21 Oct 15 |
nicklas |
13 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
3558 |
21 Oct 15 |
nicklas |
14 |
<%@ taglib prefix="t" uri="/WEB-INF/tab.tld" %> |
3558 |
21 Oct 15 |
nicklas |
15 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
3558 |
21 Oct 15 |
nicklas |
16 |
<% |
3976 |
26 May 16 |
nicklas |
17 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
3558 |
21 Oct 15 |
nicklas |
18 |
final String ID = sc.getId(); |
3558 |
21 Oct 15 |
nicklas |
19 |
final float scale = Base.getScale(sc); |
3558 |
21 Oct 15 |
nicklas |
20 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
3558 |
21 Oct 15 |
nicklas |
21 |
DbControl dc = null; |
3558 |
21 Oct 15 |
nicklas |
22 |
try |
3558 |
21 Oct 15 |
nicklas |
23 |
{ |
3558 |
21 Oct 15 |
nicklas |
24 |
dc = sc.newDbControl(); |
3558 |
21 Oct 15 |
nicklas |
25 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
3558 |
21 Oct 15 |
nicklas |
26 |
final String rnaQcName = HTML.encodeTags(request.getParameter("rnaqc")); |
3558 |
21 Oct 15 |
nicklas |
27 |
final int wellId = Values.getInt(request.getParameter("well")); |
3558 |
21 Oct 15 |
nicklas |
28 |
final String title = "Register extra aliquot from " + rnaQcName; |
3558 |
21 Oct 15 |
nicklas |
29 |
%> |
3558 |
21 Oct 15 |
nicklas |
30 |
<base:page type="popup" title="<%=title %>"> |
3558 |
21 Oct 15 |
nicklas |
31 |
<base:head |
3558 |
21 Oct 15 |
nicklas |
32 |
scripts="~rnaqc_extra_aliquot.js,~../reggie-2.js" |
3558 |
21 Oct 15 |
nicklas |
33 |
/> |
3558 |
21 Oct 15 |
nicklas |
34 |
<base:body> |
3558 |
21 Oct 15 |
nicklas |
35 |
<h1><%=title %></h1> |
3558 |
21 Oct 15 |
nicklas |
36 |
|
3558 |
21 Oct 15 |
nicklas |
37 |
<div id="page-data" |
3558 |
21 Oct 15 |
nicklas |
38 |
data-well-id="<%=wellId%>" |
3558 |
21 Oct 15 |
nicklas |
39 |
></div> |
3558 |
21 Oct 15 |
nicklas |
40 |
|
3558 |
21 Oct 15 |
nicklas |
41 |
<form name="details"> |
3558 |
21 Oct 15 |
nicklas |
42 |
|
3558 |
21 Oct 15 |
nicklas |
43 |
<div class="content bottomborder"> |
3558 |
21 Oct 15 |
nicklas |
44 |
<table class="fullform input100"> |
3558 |
21 Oct 15 |
nicklas |
45 |
<tr> |
3558 |
21 Oct 15 |
nicklas |
46 |
<th>RNA QC</th> |
3558 |
21 Oct 15 |
nicklas |
47 |
<td> |
3558 |
21 Oct 15 |
nicklas |
48 |
<%=rnaQcName%> |
3558 |
21 Oct 15 |
nicklas |
49 |
</td> |
3558 |
21 Oct 15 |
nicklas |
50 |
</tr> |
3558 |
21 Oct 15 |
nicklas |
51 |
<tr> |
3558 |
21 Oct 15 |
nicklas |
52 |
<th>Volume</th> |
3558 |
21 Oct 15 |
nicklas |
53 |
<td> |
3558 |
21 Oct 15 |
nicklas |
54 |
<input type="text" name="volume" id="volume" |
3558 |
21 Oct 15 |
nicklas |
55 |
style="width: 5em;" maxlength="3"> µl |
3558 |
21 Oct 15 |
nicklas |
56 |
</td> |
3558 |
21 Oct 15 |
nicklas |
57 |
</tr> |
3558 |
21 Oct 15 |
nicklas |
58 |
<tr class="dynamic"> |
3558 |
21 Oct 15 |
nicklas |
59 |
<th class="prompt">Comment</th> |
3558 |
21 Oct 15 |
nicklas |
60 |
<td> |
3558 |
21 Oct 15 |
nicklas |
61 |
<textarea name="comment" id="comment"></textarea> |
3558 |
21 Oct 15 |
nicklas |
62 |
</td> |
3558 |
21 Oct 15 |
nicklas |
63 |
</tr> |
3558 |
21 Oct 15 |
nicklas |
64 |
</table> |
3558 |
21 Oct 15 |
nicklas |
65 |
</div> |
3558 |
21 Oct 15 |
nicklas |
66 |
</form> |
3558 |
21 Oct 15 |
nicklas |
67 |
|
3558 |
21 Oct 15 |
nicklas |
68 |
<base:buttongroup subclass="dialogbuttons" id="dialogbuttons"> |
3558 |
21 Oct 15 |
nicklas |
69 |
<base:button id="btnSave" title="Ok" /> |
3558 |
21 Oct 15 |
nicklas |
70 |
<base:button id="close" title="Cancel" /> |
3558 |
21 Oct 15 |
nicklas |
71 |
</base:buttongroup> |
3558 |
21 Oct 15 |
nicklas |
72 |
</base:body> |
3558 |
21 Oct 15 |
nicklas |
73 |
</base:page> |
3558 |
21 Oct 15 |
nicklas |
74 |
<% |
3558 |
21 Oct 15 |
nicklas |
75 |
} |
3558 |
21 Oct 15 |
nicklas |
76 |
finally |
3558 |
21 Oct 15 |
nicklas |
77 |
{ |
3558 |
21 Oct 15 |
nicklas |
78 |
if (dc != null) dc.close(); |
3558 |
21 Oct 15 |
nicklas |
79 |
} |
3558 |
21 Oct 15 |
nicklas |
80 |
%> |