6170 |
17 Mar 21 |
nicklas |
1 |
<%@ page |
6170 |
17 Mar 21 |
nicklas |
2 |
pageEncoding="UTF-8" |
6170 |
17 Mar 21 |
nicklas |
3 |
session="false" |
6170 |
17 Mar 21 |
nicklas |
4 |
import="net.sf.basedb.core.DbControl" |
6170 |
17 Mar 21 |
nicklas |
5 |
import="net.sf.basedb.core.SessionControl" |
6170 |
17 Mar 21 |
nicklas |
6 |
import="net.sf.basedb.core.RawBioAssay" |
6170 |
17 Mar 21 |
nicklas |
7 |
import="net.sf.basedb.clients.web.Base" |
6170 |
17 Mar 21 |
nicklas |
8 |
import="net.sf.basedb.clients.web.util.HTML" |
6170 |
17 Mar 21 |
nicklas |
9 |
import="net.sf.basedb.util.Values" |
6170 |
17 Mar 21 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
6170 |
17 Mar 21 |
nicklas |
11 |
%> |
6170 |
17 Mar 21 |
nicklas |
12 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
6170 |
17 Mar 21 |
nicklas |
13 |
<%@ taglib prefix="t" uri="/WEB-INF/tab.tld" %> |
6170 |
17 Mar 21 |
nicklas |
14 |
<% |
6170 |
17 Mar 21 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, true); |
6170 |
17 Mar 21 |
nicklas |
16 |
final String ID = sc.getId(); |
6170 |
17 Mar 21 |
nicklas |
17 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.varsearch.lucene-column"); |
6170 |
17 Mar 21 |
nicklas |
18 |
|
6170 |
17 Mar 21 |
nicklas |
19 |
final int rbaId = Values.getInt(request.getParameter("rbaId")); |
6170 |
17 Mar 21 |
nicklas |
20 |
final int fileId = Values.getInt(request.getParameter("fileId")); |
6170 |
17 Mar 21 |
nicklas |
21 |
final int lineNo = Values.getInt(request.getParameter("lineNo")); |
6551 |
26 Jan 22 |
nicklas |
22 |
final String snpId = Values.getStringOrNull(request.getParameter("snpId")); |
6173 |
18 Mar 21 |
nicklas |
23 |
final String idx = Values.getStringOrNull(request.getParameter("idx")); |
6170 |
17 Mar 21 |
nicklas |
24 |
|
6170 |
17 Mar 21 |
nicklas |
25 |
DbControl dc = null; |
6170 |
17 Mar 21 |
nicklas |
26 |
try |
6170 |
17 Mar 21 |
nicklas |
27 |
{ |
6170 |
17 Mar 21 |
nicklas |
28 |
dc = sc.newDbControl(); |
6170 |
17 Mar 21 |
nicklas |
29 |
RawBioAssay rba = RawBioAssay.getById(dc, rbaId); |
6170 |
17 Mar 21 |
nicklas |
30 |
String title = HTML.encodeTags(rba.getName()); |
6170 |
17 Mar 21 |
nicklas |
31 |
%> |
6170 |
17 Mar 21 |
nicklas |
32 |
<base:page type="popup" title="<%="Variant - "+ title%>"> |
6170 |
17 Mar 21 |
nicklas |
33 |
<base:head |
6170 |
17 Mar 21 |
nicklas |
34 |
scripts="tabcontrol-2.js,~hit-details.js,~varsearch.js" |
6253 |
25 May 21 |
nicklas |
35 |
styles="tabcontrol.css,~css/varsearch.css" |
6170 |
17 Mar 21 |
nicklas |
36 |
> |
6170 |
17 Mar 21 |
nicklas |
37 |
<style> |
6170 |
17 Mar 21 |
nicklas |
38 |
#hit-summary b |
6170 |
17 Mar 21 |
nicklas |
39 |
{ |
6170 |
17 Mar 21 |
nicklas |
40 |
margin-left: 1em; |
6170 |
17 Mar 21 |
nicklas |
41 |
} |
6170 |
17 Mar 21 |
nicklas |
42 |
|
6170 |
17 Mar 21 |
nicklas |
43 |
#hit-summary b:after |
6170 |
17 Mar 21 |
nicklas |
44 |
{ |
6170 |
17 Mar 21 |
nicklas |
45 |
font-weight: normal; |
6170 |
17 Mar 21 |
nicklas |
46 |
content: ':'; |
6170 |
17 Mar 21 |
nicklas |
47 |
} |
6170 |
17 Mar 21 |
nicklas |
48 |
#hit-all td |
6170 |
17 Mar 21 |
nicklas |
49 |
{ |
6170 |
17 Mar 21 |
nicklas |
50 |
white-space: nowrap; |
6170 |
17 Mar 21 |
nicklas |
51 |
} |
6253 |
25 May 21 |
nicklas |
52 |
#wizard-status |
6253 |
25 May 21 |
nicklas |
53 |
{ |
6253 |
25 May 21 |
nicklas |
54 |
margin-top: 1.75em; |
6253 |
25 May 21 |
nicklas |
55 |
} |
6170 |
17 Mar 21 |
nicklas |
56 |
</style> |
6170 |
17 Mar 21 |
nicklas |
57 |
</base:head> |
6170 |
17 Mar 21 |
nicklas |
58 |
<base:body data-read-only="1"> |
6170 |
17 Mar 21 |
nicklas |
59 |
<h1 id="doc-title"><%=title%></h1> |
6170 |
17 Mar 21 |
nicklas |
60 |
|
6170 |
17 Mar 21 |
nicklas |
61 |
<div id="page-data" class="datacontainer" |
6553 |
27 Jan 22 |
nicklas |
62 |
data-rba="<%=rbaId%>" data-file="<%=fileId%>" data-line="<%=lineNo%>" data-snp="<%=HTML.encodeTags(snpId)%>" data-idx="<%=HTML.encodeTags(idx)%>" |
6170 |
17 Mar 21 |
nicklas |
63 |
></div> |
6170 |
17 Mar 21 |
nicklas |
64 |
|
6253 |
25 May 21 |
nicklas |
65 |
<div class="content bottomborder" id="content"> |
6170 |
17 Mar 21 |
nicklas |
66 |
<t:tabcontrol |
6170 |
17 Mar 21 |
nicklas |
67 |
id="variant" |
6170 |
17 Mar 21 |
nicklas |
68 |
subclass="dialogtabcontrol" |
6170 |
17 Mar 21 |
nicklas |
69 |
position="bottom" |
6170 |
17 Mar 21 |
nicklas |
70 |
style="display:none;"> |
6170 |
17 Mar 21 |
nicklas |
71 |
<t:tab |
6170 |
17 Mar 21 |
nicklas |
72 |
id="summary" |
6170 |
17 Mar 21 |
nicklas |
73 |
title="Summary" |
6170 |
17 Mar 21 |
nicklas |
74 |
> |
6170 |
17 Mar 21 |
nicklas |
75 |
<table class="fullform input100" id="hit-summary"></table> |
6170 |
17 Mar 21 |
nicklas |
76 |
</t:tab> |
6170 |
17 Mar 21 |
nicklas |
77 |
<t:tab |
6170 |
17 Mar 21 |
nicklas |
78 |
id="all" |
6170 |
17 Mar 21 |
nicklas |
79 |
title="All" |
6170 |
17 Mar 21 |
nicklas |
80 |
> |
6170 |
17 Mar 21 |
nicklas |
81 |
<table class="fullform input100 larger outlined" id="hit-all"></table> |
6170 |
17 Mar 21 |
nicklas |
82 |
</t:tab> |
6170 |
17 Mar 21 |
nicklas |
83 |
</t:tabcontrol> |
6170 |
17 Mar 21 |
nicklas |
84 |
<div id="wizard-status"></div> |
6170 |
17 Mar 21 |
nicklas |
85 |
</div> |
6170 |
17 Mar 21 |
nicklas |
86 |
<base:buttongroup subclass="dialogbuttons" id="dialogbuttons"> |
6170 |
17 Mar 21 |
nicklas |
87 |
<base:button id="close" title="Close" /> |
6170 |
17 Mar 21 |
nicklas |
88 |
</base:buttongroup> |
6170 |
17 Mar 21 |
nicklas |
89 |
</base:body> |
6170 |
17 Mar 21 |
nicklas |
90 |
</base:page> |
6170 |
17 Mar 21 |
nicklas |
91 |
<% |
6170 |
17 Mar 21 |
nicklas |
92 |
} |
6170 |
17 Mar 21 |
nicklas |
93 |
finally |
6170 |
17 Mar 21 |
nicklas |
94 |
{ |
6170 |
17 Mar 21 |
nicklas |
95 |
if (dc != null) dc.close(); |
6170 |
17 Mar 21 |
nicklas |
96 |
} |
6170 |
17 Mar 21 |
nicklas |
97 |
%> |