3492 |
18 Sep 15 |
nicklas |
1 |
<%@ page |
3492 |
18 Sep 15 |
nicklas |
2 |
pageEncoding="UTF-8" |
3492 |
18 Sep 15 |
nicklas |
3 |
session="false" |
3492 |
18 Sep 15 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
3492 |
18 Sep 15 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
3492 |
18 Sep 15 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
3492 |
18 Sep 15 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
5737 |
20 Nov 19 |
nicklas |
8 |
import="net.sf.basedb.core.PermissionDeniedException" |
5737 |
20 Nov 19 |
nicklas |
9 |
import="net.sf.basedb.clients.web.Base" |
3492 |
18 Sep 15 |
nicklas |
10 |
import="net.sf.basedb.clients.web.util.HTML" |
3492 |
18 Sep 15 |
nicklas |
11 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
3492 |
18 Sep 15 |
nicklas |
12 |
%> |
3492 |
18 Sep 15 |
nicklas |
13 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
3492 |
18 Sep 15 |
nicklas |
14 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
3492 |
18 Sep 15 |
nicklas |
15 |
<% |
3976 |
26 May 16 |
nicklas |
16 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
3492 |
18 Sep 15 |
nicklas |
17 |
final String ID = sc.getId(); |
3492 |
18 Sep 15 |
nicklas |
18 |
final float scale = Base.getScale(sc); |
3492 |
18 Sep 15 |
nicklas |
19 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
3492 |
18 Sep 15 |
nicklas |
20 |
final String report = request.getParameter("report"); |
3492 |
18 Sep 15 |
nicklas |
21 |
|
3492 |
18 Sep 15 |
nicklas |
22 |
DbControl dc = null; |
3492 |
18 Sep 15 |
nicklas |
23 |
try |
3492 |
18 Sep 15 |
nicklas |
24 |
{ |
3492 |
18 Sep 15 |
nicklas |
25 |
dc = sc.newDbControl(); |
3492 |
18 Sep 15 |
nicklas |
26 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
3492 |
18 Sep 15 |
nicklas |
27 |
%> |
3492 |
18 Sep 15 |
nicklas |
28 |
<base:page type="default" > |
3492 |
18 Sep 15 |
nicklas |
29 |
<base:head |
3492 |
18 Sep 15 |
nicklas |
30 |
scripts="~../reggie-2.js,~report.js" |
3492 |
18 Sep 15 |
nicklas |
31 |
styles="path.css,~../css/reggie-2.css" |
3492 |
18 Sep 15 |
nicklas |
32 |
/> |
3492 |
18 Sep 15 |
nicklas |
33 |
<base:body> |
3492 |
18 Sep 15 |
nicklas |
34 |
|
3492 |
18 Sep 15 |
nicklas |
35 |
<p:path><p:pathelement |
3492 |
18 Sep 15 |
nicklas |
36 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
3513 |
24 Sep 15 |
nicklas |
37 |
/><p:pathelement id="reportName" title="<%=HTML.encodeTags(report)%>" |
3492 |
18 Sep 15 |
nicklas |
38 |
/></p:path> |
3492 |
18 Sep 15 |
nicklas |
39 |
|
3492 |
18 Sep 15 |
nicklas |
40 |
<div id="page-data" class="datacontainer" |
3492 |
18 Sep 15 |
nicklas |
41 |
data-report="<%=HTML.encodeTags(report)%>" |
3492 |
18 Sep 15 |
nicklas |
42 |
></div> |
3492 |
18 Sep 15 |
nicklas |
43 |
|
3492 |
18 Sep 15 |
nicklas |
44 |
<div class="content"> |
3492 |
18 Sep 15 |
nicklas |
45 |
<form name="reggie" id="wizard" class="wizard"> |
3492 |
18 Sep 15 |
nicklas |
46 |
|
3492 |
18 Sep 15 |
nicklas |
47 |
<div class="step" id="step-1"> |
3492 |
18 Sep 15 |
nicklas |
48 |
<div class="step-no">1</div> |
3492 |
18 Sep 15 |
nicklas |
49 |
<div class="step-title">Select raw bioassays</div> |
3492 |
18 Sep 15 |
nicklas |
50 |
<div class="step-content"> |
3492 |
18 Sep 15 |
nicklas |
51 |
|
3492 |
18 Sep 15 |
nicklas |
52 |
<table class="step-form"> |
3492 |
18 Sep 15 |
nicklas |
53 |
<tr class="align-top"> |
3492 |
18 Sep 15 |
nicklas |
54 |
<td class="prompt">Raw bioassays</td> |
3492 |
18 Sep 15 |
nicklas |
55 |
<td class="input"> |
3768 |
24 Feb 16 |
nicklas |
56 |
<select class="required yellow-label-support" multiple size="30" |
3492 |
18 Sep 15 |
nicklas |
57 |
name="rawBioAssays" id="rawBioAssays"></select> |
3492 |
18 Sep 15 |
nicklas |
58 |
|
3492 |
18 Sep 15 |
nicklas |
59 |
<base:buttongroup style="margin-top: 0.5em;"> |
3492 |
18 Sep 15 |
nicklas |
60 |
<base:button title="Select manually…" id="btnSelectRawBioAssays" /> |
3492 |
18 Sep 15 |
nicklas |
61 |
</base:buttongroup> |
3492 |
18 Sep 15 |
nicklas |
62 |
</td> |
3492 |
18 Sep 15 |
nicklas |
63 |
<td class="status" id="rawBioAssays.status"></td> |
3492 |
18 Sep 15 |
nicklas |
64 |
<td class="help"><span id="rawBioAssays.message" class="message"></span> |
3492 |
18 Sep 15 |
nicklas |
65 |
Select the raw bioassays to generate a report for. |
6023 |
26 Oct 20 |
nicklas |
66 |
The list contains all confirmed raw bioassays in the item list for the |
6023 |
26 Oct 20 |
nicklas |
67 |
specifed report (Gene report list, Pilot report list or SCAN-B report list). |
3492 |
18 Sep 15 |
nicklas |
68 |
</td> |
3492 |
18 Sep 15 |
nicklas |
69 |
</tr> |
3616 |
23 Nov 15 |
nicklas |
70 |
<tr> |
3616 |
23 Nov 15 |
nicklas |
71 |
<td class="subprompt">Software</td> |
3616 |
23 Nov 15 |
nicklas |
72 |
<td class="input"> |
3616 |
23 Nov 15 |
nicklas |
73 |
<select name="reportSoftware" id="reportSoftware"></select> |
3616 |
23 Nov 15 |
nicklas |
74 |
</td> |
3616 |
23 Nov 15 |
nicklas |
75 |
<td class="status" id="reportSoftware.status"></td> |
3616 |
23 Nov 15 |
nicklas |
76 |
<td class="help"> |
3616 |
23 Nov 15 |
nicklas |
77 |
<span id="reportSoftware.message" class="message"></span> |
3616 |
23 Nov 15 |
nicklas |
78 |
Select the software to use for creating the report. |
3616 |
23 Nov 15 |
nicklas |
79 |
</td> |
3616 |
23 Nov 15 |
nicklas |
80 |
</tr> |
3616 |
23 Nov 15 |
nicklas |
81 |
<tbody class="info-section"> |
3616 |
23 Nov 15 |
nicklas |
82 |
<tr> |
3616 |
23 Nov 15 |
nicklas |
83 |
<td class="subprompt">Parameter set</td> |
3616 |
23 Nov 15 |
nicklas |
84 |
<td class="info" colspan="2"> |
3616 |
23 Nov 15 |
nicklas |
85 |
<span id="reportSoftware.parameterSet"></span> |
3616 |
23 Nov 15 |
nicklas |
86 |
<div id="reportSoftware.description" class="item-description"></div> |
3616 |
23 Nov 15 |
nicklas |
87 |
</td> |
3616 |
23 Nov 15 |
nicklas |
88 |
<td class="help"> |
3616 |
23 Nov 15 |
nicklas |
89 |
Parameters are configured in |
3616 |
23 Nov 15 |
nicklas |
90 |
<span id="configSection"><gene-report> or <pilot-report></span> |
3616 |
23 Nov 15 |
nicklas |
91 |
section in reggie-config.xml. |
3616 |
23 Nov 15 |
nicklas |
92 |
</td> |
3616 |
23 Nov 15 |
nicklas |
93 |
</tr> |
3616 |
23 Nov 15 |
nicklas |
94 |
</tbody> |
3492 |
18 Sep 15 |
nicklas |
95 |
</table> |
3492 |
18 Sep 15 |
nicklas |
96 |
</div> |
3492 |
18 Sep 15 |
nicklas |
97 |
</div> |
3492 |
18 Sep 15 |
nicklas |
98 |
|
3492 |
18 Sep 15 |
nicklas |
99 |
<div id="wizard-status"></div> |
3492 |
18 Sep 15 |
nicklas |
100 |
|
3492 |
18 Sep 15 |
nicklas |
101 |
<table class="navigation" id="navigation"> |
3492 |
18 Sep 15 |
nicklas |
102 |
<tr> |
3492 |
18 Sep 15 |
nicklas |
103 |
<td><base:button id="gocancel" title="Cancel" /></td> |
3492 |
18 Sep 15 |
nicklas |
104 |
<td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" /></td> |
3492 |
18 Sep 15 |
nicklas |
105 |
<td><base:button id="goregister" title="Register" image="<%=home+"/images/import.png"%>" /></td> |
3492 |
18 Sep 15 |
nicklas |
106 |
<td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" /></td> |
3492 |
18 Sep 15 |
nicklas |
107 |
<td id="gonext-message" class="message"></td> |
3492 |
18 Sep 15 |
nicklas |
108 |
</tr> |
3492 |
18 Sep 15 |
nicklas |
109 |
</table> |
3492 |
18 Sep 15 |
nicklas |
110 |
|
3492 |
18 Sep 15 |
nicklas |
111 |
</form> |
3492 |
18 Sep 15 |
nicklas |
112 |
</div> |
3492 |
18 Sep 15 |
nicklas |
113 |
|
3492 |
18 Sep 15 |
nicklas |
114 |
</base:body> |
3492 |
18 Sep 15 |
nicklas |
115 |
</base:page> |
3492 |
18 Sep 15 |
nicklas |
116 |
<% |
3492 |
18 Sep 15 |
nicklas |
117 |
} |
3492 |
18 Sep 15 |
nicklas |
118 |
finally |
3492 |
18 Sep 15 |
nicklas |
119 |
{ |
3492 |
18 Sep 15 |
nicklas |
120 |
if (dc != null) dc.close(); |
3492 |
18 Sep 15 |
nicklas |
121 |
} |
3492 |
18 Sep 15 |
nicklas |
122 |
%> |