5877 |
24 Mar 20 |
nicklas |
1 |
<%@ page |
5877 |
24 Mar 20 |
nicklas |
2 |
pageEncoding="UTF-8" |
5877 |
24 Mar 20 |
nicklas |
3 |
session="false" |
5877 |
24 Mar 20 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
5877 |
24 Mar 20 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
5877 |
24 Mar 20 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
5877 |
24 Mar 20 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
5877 |
24 Mar 20 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
5877 |
24 Mar 20 |
nicklas |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
5877 |
24 Mar 20 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
5877 |
24 Mar 20 |
nicklas |
11 |
%> |
5877 |
24 Mar 20 |
nicklas |
12 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
5877 |
24 Mar 20 |
nicklas |
13 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
5877 |
24 Mar 20 |
nicklas |
14 |
<% |
5877 |
24 Mar 20 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
5877 |
24 Mar 20 |
nicklas |
16 |
final String ID = sc.getId(); |
5877 |
24 Mar 20 |
nicklas |
17 |
final float scale = Base.getScale(sc); |
5877 |
24 Mar 20 |
nicklas |
18 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
5877 |
24 Mar 20 |
nicklas |
19 |
DbControl dc = null; |
5877 |
24 Mar 20 |
nicklas |
20 |
try |
5877 |
24 Mar 20 |
nicklas |
21 |
{ |
5877 |
24 Mar 20 |
nicklas |
22 |
dc = sc.newDbControl(); |
5877 |
24 Mar 20 |
nicklas |
23 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
5877 |
24 Mar 20 |
nicklas |
24 |
%> |
5877 |
24 Mar 20 |
nicklas |
25 |
<base:page type="default" > |
5877 |
24 Mar 20 |
nicklas |
26 |
<base:head |
5877 |
24 Mar 20 |
nicklas |
27 |
scripts="~../reggie-2.js,~vcall_import.js" |
5877 |
24 Mar 20 |
nicklas |
28 |
styles="path.css,~../css/reggie-2.css" |
5877 |
24 Mar 20 |
nicklas |
29 |
/> |
5877 |
24 Mar 20 |
nicklas |
30 |
<base:body> |
5877 |
24 Mar 20 |
nicklas |
31 |
|
5877 |
24 Mar 20 |
nicklas |
32 |
<p:path><p:pathelement |
5877 |
24 Mar 20 |
nicklas |
33 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
5877 |
24 Mar 20 |
nicklas |
34 |
/><p:pathelement title="Import variants to existing raw bioassays" |
5877 |
24 Mar 20 |
nicklas |
35 |
/></p:path> |
5877 |
24 Mar 20 |
nicklas |
36 |
|
5877 |
24 Mar 20 |
nicklas |
37 |
<div class="content"> |
5877 |
24 Mar 20 |
nicklas |
38 |
<form name="reggie" id="wizard" class="wizard"> |
5877 |
24 Mar 20 |
nicklas |
39 |
|
5877 |
24 Mar 20 |
nicklas |
40 |
<div class="step" id="step-1"> |
5877 |
24 Mar 20 |
nicklas |
41 |
<div class="step-no">1</div> |
5877 |
24 Mar 20 |
nicklas |
42 |
<div class="step-title">Variant call raw bioassays</div> |
5877 |
24 Mar 20 |
nicklas |
43 |
<div class="step-content" style="padding: 0.5em;"> |
5877 |
24 Mar 20 |
nicklas |
44 |
|
5877 |
24 Mar 20 |
nicklas |
45 |
This wizard will look for existing variant call raw bioassays |
5877 |
24 Mar 20 |
nicklas |
46 |
that has not yet imported variants from the filtered |
5877 |
24 Mar 20 |
nicklas |
47 |
variants file. |
5877 |
24 Mar 20 |
nicklas |
48 |
<br><br> |
5877 |
24 Mar 20 |
nicklas |
49 |
There are currently <b><span id="countRawBioAssays"></span></b> raw bioassays. |
5877 |
24 Mar 20 |
nicklas |
50 |
</div> |
5877 |
24 Mar 20 |
nicklas |
51 |
</div> |
5877 |
24 Mar 20 |
nicklas |
52 |
|
5877 |
24 Mar 20 |
nicklas |
53 |
|
5877 |
24 Mar 20 |
nicklas |
54 |
<div id="wizard-status"></div> |
5877 |
24 Mar 20 |
nicklas |
55 |
<div id="wizard-progress"></div> |
5877 |
24 Mar 20 |
nicklas |
56 |
|
5877 |
24 Mar 20 |
nicklas |
57 |
<table class="navigation" id="navigation"> |
5877 |
24 Mar 20 |
nicklas |
58 |
<tr> |
5877 |
24 Mar 20 |
nicklas |
59 |
<td><base:button id="gocancel" title="Cancel" /></td> |
5877 |
24 Mar 20 |
nicklas |
60 |
<td><base:button id="goregister" title="Import" image="<%=home+"/images/gonext.png"%>" /></td> |
5877 |
24 Mar 20 |
nicklas |
61 |
<td id="gonext-message" class="message"></td> |
5877 |
24 Mar 20 |
nicklas |
62 |
</tr> |
5877 |
24 Mar 20 |
nicklas |
63 |
</table> |
5877 |
24 Mar 20 |
nicklas |
64 |
</form> |
5877 |
24 Mar 20 |
nicklas |
65 |
</div> |
5877 |
24 Mar 20 |
nicklas |
66 |
|
5877 |
24 Mar 20 |
nicklas |
67 |
</base:body> |
5877 |
24 Mar 20 |
nicklas |
68 |
</base:page> |
5877 |
24 Mar 20 |
nicklas |
69 |
<% |
5877 |
24 Mar 20 |
nicklas |
70 |
} |
5877 |
24 Mar 20 |
nicklas |
71 |
finally |
5877 |
24 Mar 20 |
nicklas |
72 |
{ |
5877 |
24 Mar 20 |
nicklas |
73 |
if (dc != null) dc.close(); |
5877 |
24 Mar 20 |
nicklas |
74 |
} |
5877 |
24 Mar 20 |
nicklas |
75 |
%> |