7289 |
18 Aug 23 |
nicklas |
1 |
<%@ page |
7289 |
18 Aug 23 |
nicklas |
2 |
pageEncoding="UTF-8" |
7289 |
18 Aug 23 |
nicklas |
3 |
session="false" |
7289 |
18 Aug 23 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
7289 |
18 Aug 23 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
7289 |
18 Aug 23 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
7289 |
18 Aug 23 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
7289 |
18 Aug 23 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
7289 |
18 Aug 23 |
nicklas |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
7289 |
18 Aug 23 |
nicklas |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
7289 |
18 Aug 23 |
nicklas |
11 |
%> |
7289 |
18 Aug 23 |
nicklas |
12 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
7289 |
18 Aug 23 |
nicklas |
13 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
7289 |
18 Aug 23 |
nicklas |
14 |
<% |
7289 |
18 Aug 23 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
7289 |
18 Aug 23 |
nicklas |
16 |
final String ID = sc.getId(); |
7289 |
18 Aug 23 |
nicklas |
17 |
final float scale = Base.getScale(sc); |
7289 |
18 Aug 23 |
nicklas |
18 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
7289 |
18 Aug 23 |
nicklas |
19 |
DbControl dc = null; |
7289 |
18 Aug 23 |
nicklas |
20 |
try |
7289 |
18 Aug 23 |
nicklas |
21 |
{ |
7289 |
18 Aug 23 |
nicklas |
22 |
dc = sc.newDbControl(); |
7289 |
18 Aug 23 |
nicklas |
23 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
7289 |
18 Aug 23 |
nicklas |
24 |
%> |
7289 |
18 Aug 23 |
nicklas |
25 |
<base:page type="default" > |
7289 |
18 Aug 23 |
nicklas |
26 |
<base:head |
7289 |
18 Aug 23 |
nicklas |
27 |
scripts="~../reggie-2.js,~ascat_confirm.js" |
7289 |
18 Aug 23 |
nicklas |
28 |
styles="path.css,~../css/reggie-2.css" |
7289 |
18 Aug 23 |
nicklas |
29 |
> |
7289 |
18 Aug 23 |
nicklas |
30 |
<style> |
7289 |
18 Aug 23 |
nicklas |
31 |
tr.highlight |
7289 |
18 Aug 23 |
nicklas |
32 |
{ |
7289 |
18 Aug 23 |
nicklas |
33 |
border-top-width: 1px; |
7289 |
18 Aug 23 |
nicklas |
34 |
border-top-style: dotted; |
7289 |
18 Aug 23 |
nicklas |
35 |
} |
7289 |
18 Aug 23 |
nicklas |
36 |
|
7289 |
18 Aug 23 |
nicklas |
37 |
#ascatTable |
7289 |
18 Aug 23 |
nicklas |
38 |
{ |
7289 |
18 Aug 23 |
nicklas |
39 |
width: 100%; |
7289 |
18 Aug 23 |
nicklas |
40 |
border-collapse: collapse; |
7289 |
18 Aug 23 |
nicklas |
41 |
} |
7289 |
18 Aug 23 |
nicklas |
42 |
|
7289 |
18 Aug 23 |
nicklas |
43 |
#ascatTable thead |
7289 |
18 Aug 23 |
nicklas |
44 |
{ |
7289 |
18 Aug 23 |
nicklas |
45 |
border-bottom-width: 1px; |
7289 |
18 Aug 23 |
nicklas |
46 |
border-top-width: 1px; |
7289 |
18 Aug 23 |
nicklas |
47 |
} |
7289 |
18 Aug 23 |
nicklas |
48 |
|
7289 |
18 Aug 23 |
nicklas |
49 |
#ascatTable td |
7289 |
18 Aug 23 |
nicklas |
50 |
{ |
7289 |
18 Aug 23 |
nicklas |
51 |
text-align: center; |
7289 |
18 Aug 23 |
nicklas |
52 |
min-width: 4.5em; |
7289 |
18 Aug 23 |
nicklas |
53 |
} |
7289 |
18 Aug 23 |
nicklas |
54 |
|
7289 |
18 Aug 23 |
nicklas |
55 |
#ascatTable tbody td |
7289 |
18 Aug 23 |
nicklas |
56 |
{ |
7289 |
18 Aug 23 |
nicklas |
57 |
padding-top: 1px; |
7289 |
18 Aug 23 |
nicklas |
58 |
padding-bottom: 1px; |
7289 |
18 Aug 23 |
nicklas |
59 |
} |
7289 |
18 Aug 23 |
nicklas |
60 |
|
7289 |
18 Aug 23 |
nicklas |
61 |
#ascatTable .italic |
7289 |
18 Aug 23 |
nicklas |
62 |
{ |
7289 |
18 Aug 23 |
nicklas |
63 |
font-style: italic; |
7289 |
18 Aug 23 |
nicklas |
64 |
} |
7289 |
18 Aug 23 |
nicklas |
65 |
|
7289 |
18 Aug 23 |
nicklas |
66 |
#ascatTable .icon-col |
7289 |
18 Aug 23 |
nicklas |
67 |
{ |
7289 |
18 Aug 23 |
nicklas |
68 |
width: 20px; |
7289 |
18 Aug 23 |
nicklas |
69 |
max-width: 20px; |
7289 |
18 Aug 23 |
nicklas |
70 |
min-width: 0; |
7289 |
18 Aug 23 |
nicklas |
71 |
} |
7289 |
18 Aug 23 |
nicklas |
72 |
|
7341 |
11 Sep 23 |
nicklas |
73 |
.case-summary |
7341 |
11 Sep 23 |
nicklas |
74 |
{ |
7341 |
11 Sep 23 |
nicklas |
75 |
margin-left: 0.5em; |
7341 |
11 Sep 23 |
nicklas |
76 |
} |
7341 |
11 Sep 23 |
nicklas |
77 |
|
7295 |
23 Aug 23 |
nicklas |
78 |
.plot-link |
7295 |
23 Aug 23 |
nicklas |
79 |
{ |
7295 |
23 Aug 23 |
nicklas |
80 |
cursor: zoom-in; |
7295 |
23 Aug 23 |
nicklas |
81 |
margin: 0.25em; |
7295 |
23 Aug 23 |
nicklas |
82 |
} |
7295 |
23 Aug 23 |
nicklas |
83 |
|
7289 |
18 Aug 23 |
nicklas |
84 |
.comment input |
7289 |
18 Aug 23 |
nicklas |
85 |
{ |
7289 |
18 Aug 23 |
nicklas |
86 |
width: 95%; |
7289 |
18 Aug 23 |
nicklas |
87 |
min-width: 20em; |
7289 |
18 Aug 23 |
nicklas |
88 |
} |
7289 |
18 Aug 23 |
nicklas |
89 |
|
7289 |
18 Aug 23 |
nicklas |
90 |
.smalltable |
7289 |
18 Aug 23 |
nicklas |
91 |
{ |
7289 |
18 Aug 23 |
nicklas |
92 |
display: grid; |
7289 |
18 Aug 23 |
nicklas |
93 |
grid-template-columns: 1fr 1fr; |
7289 |
18 Aug 23 |
nicklas |
94 |
grid-row-gap: 0.25em; |
7341 |
11 Sep 23 |
nicklas |
95 |
grid-column-gap: 0.5em; |
7341 |
11 Sep 23 |
nicklas |
96 |
justify-items: start; |
7289 |
18 Aug 23 |
nicklas |
97 |
margin: 0.25em 0.75em; |
7341 |
11 Sep 23 |
nicklas |
98 |
white-space: nowrap; |
7289 |
18 Aug 23 |
nicklas |
99 |
} |
7289 |
18 Aug 23 |
nicklas |
100 |
|
7289 |
18 Aug 23 |
nicklas |
101 |
.smalltable > div:nth-child(odd) |
7289 |
18 Aug 23 |
nicklas |
102 |
{ |
7289 |
18 Aug 23 |
nicklas |
103 |
font-weight: bold; |
7341 |
11 Sep 23 |
nicklas |
104 |
justify-self: end; |
7289 |
18 Aug 23 |
nicklas |
105 |
} |
7289 |
18 Aug 23 |
nicklas |
106 |
|
7341 |
11 Sep 23 |
nicklas |
107 |
.aligned-table |
7341 |
11 Sep 23 |
nicklas |
108 |
{ |
7341 |
11 Sep 23 |
nicklas |
109 |
display: grid; |
7341 |
11 Sep 23 |
nicklas |
110 |
grid-template-columns: 1fr 1fr 1fr; |
7341 |
11 Sep 23 |
nicklas |
111 |
grid-row-gap: 0.25em; |
7341 |
11 Sep 23 |
nicklas |
112 |
grid-column-gap: 0.5em; |
7341 |
11 Sep 23 |
nicklas |
113 |
justify-items: start; |
7341 |
11 Sep 23 |
nicklas |
114 |
margin: 0.75em 0.75em; |
7341 |
11 Sep 23 |
nicklas |
115 |
white-space: nowrap; |
7341 |
11 Sep 23 |
nicklas |
116 |
border-top-width: 1px; |
7341 |
11 Sep 23 |
nicklas |
117 |
border-bottom-width: 1px; |
7341 |
11 Sep 23 |
nicklas |
118 |
border-style: dotted; |
7341 |
11 Sep 23 |
nicklas |
119 |
padding-top: 0.25em; |
7341 |
11 Sep 23 |
nicklas |
120 |
padding-bottom: 0.25em; |
7341 |
11 Sep 23 |
nicklas |
121 |
} |
7341 |
11 Sep 23 |
nicklas |
122 |
|
7341 |
11 Sep 23 |
nicklas |
123 |
.aligned-table > div:nth-child(3n+1) |
7341 |
11 Sep 23 |
nicklas |
124 |
{ |
7341 |
11 Sep 23 |
nicklas |
125 |
font-weight: bold; |
7341 |
11 Sep 23 |
nicklas |
126 |
} |
7341 |
11 Sep 23 |
nicklas |
127 |
|
7341 |
11 Sep 23 |
nicklas |
128 |
|
7293 |
22 Aug 23 |
nicklas |
129 |
#ascatTable .ascat-results |
7293 |
22 Aug 23 |
nicklas |
130 |
{ |
7293 |
22 Aug 23 |
nicklas |
131 |
text-align: left; |
7341 |
11 Sep 23 |
nicklas |
132 |
white-space: nowrap; |
7293 |
22 Aug 23 |
nicklas |
133 |
} |
7293 |
22 Aug 23 |
nicklas |
134 |
|
7341 |
11 Sep 23 |
nicklas |
135 |
|
7293 |
22 Aug 23 |
nicklas |
136 |
#ascatTable .ascat-results label |
7293 |
22 Aug 23 |
nicklas |
137 |
{ |
7293 |
22 Aug 23 |
nicklas |
138 |
display: inline-block; |
7293 |
22 Aug 23 |
nicklas |
139 |
padding-bottom: 0.5em; |
7293 |
22 Aug 23 |
nicklas |
140 |
padding-left: 0.5em; |
7293 |
22 Aug 23 |
nicklas |
141 |
} |
7289 |
18 Aug 23 |
nicklas |
142 |
</style> |
7289 |
18 Aug 23 |
nicklas |
143 |
</base:head> |
7289 |
18 Aug 23 |
nicklas |
144 |
<base:body> |
7289 |
18 Aug 23 |
nicklas |
145 |
|
7289 |
18 Aug 23 |
nicklas |
146 |
<p:path><p:pathelement |
7289 |
18 Aug 23 |
nicklas |
147 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
7289 |
18 Aug 23 |
nicklas |
148 |
/><p:pathelement title="Confirm ASCAT analysis" |
7289 |
18 Aug 23 |
nicklas |
149 |
/></p:path> |
7289 |
18 Aug 23 |
nicklas |
150 |
|
7289 |
18 Aug 23 |
nicklas |
151 |
<div class="content"> |
7289 |
18 Aug 23 |
nicklas |
152 |
<form name="reggie" id="wizard" class="wizard"> |
7289 |
18 Aug 23 |
nicklas |
153 |
|
7313 |
29 Aug 23 |
nicklas |
154 |
<div class="step auto-hide" id="step-1"> |
7289 |
18 Aug 23 |
nicklas |
155 |
<div class="step-no">1</div> |
7313 |
29 Aug 23 |
nicklas |
156 |
<div class="step-title">Select the results to review</div> |
7289 |
18 Aug 23 |
nicklas |
157 |
<div class="step-content"> |
7313 |
29 Aug 23 |
nicklas |
158 |
|
7313 |
29 Aug 23 |
nicklas |
159 |
<table class="step-form"> |
7313 |
29 Aug 23 |
nicklas |
160 |
<tr class="align-top"> |
7313 |
29 Aug 23 |
nicklas |
161 |
<td class="prompt">ASCAT results</td> |
7313 |
29 Aug 23 |
nicklas |
162 |
<td class="input"> |
7313 |
29 Aug 23 |
nicklas |
163 |
<select class="required yellow-label-support" multiple size="20" |
7313 |
29 Aug 23 |
nicklas |
164 |
name="ascatItems" id="ascatItems"></select> |
7313 |
29 Aug 23 |
nicklas |
165 |
</td> |
7313 |
29 Aug 23 |
nicklas |
166 |
<td class="status" id="ascatItems.status"></td> |
7313 |
29 Aug 23 |
nicklas |
167 |
<td class="help"><span id="ascatItems.message" class="message"></span> |
7313 |
29 Aug 23 |
nicklas |
168 |
Select the results that should be reviewed. |
7313 |
29 Aug 23 |
nicklas |
169 |
</td> |
7313 |
29 Aug 23 |
nicklas |
170 |
</tr> |
7313 |
29 Aug 23 |
nicklas |
171 |
</table> |
7313 |
29 Aug 23 |
nicklas |
172 |
|
7289 |
18 Aug 23 |
nicklas |
173 |
</div> |
7289 |
18 Aug 23 |
nicklas |
174 |
</div> |
7313 |
29 Aug 23 |
nicklas |
175 |
|
7313 |
29 Aug 23 |
nicklas |
176 |
<div class="step" id="step-2"> |
7313 |
29 Aug 23 |
nicklas |
177 |
<div class="step-no">2</div> |
7313 |
29 Aug 23 |
nicklas |
178 |
<div class="step-content"> |
7313 |
29 Aug 23 |
nicklas |
179 |
<div id="ascatResults"></div> |
7313 |
29 Aug 23 |
nicklas |
180 |
</div> |
7313 |
29 Aug 23 |
nicklas |
181 |
</div> |
7289 |
18 Aug 23 |
nicklas |
182 |
|
7289 |
18 Aug 23 |
nicklas |
183 |
<div id="wizard-status"></div> |
7289 |
18 Aug 23 |
nicklas |
184 |
|
7289 |
18 Aug 23 |
nicklas |
185 |
<table class="navigation" id="navigation"> |
7289 |
18 Aug 23 |
nicklas |
186 |
<tr> |
7289 |
18 Aug 23 |
nicklas |
187 |
<td><base:button id="gocancel" title="Cancel" /></td> |
7289 |
18 Aug 23 |
nicklas |
188 |
<td><base:button id="gonext" title="Next" image="<%=home+"/images/gonext.png"%>" /></td> |
7289 |
18 Aug 23 |
nicklas |
189 |
<td><base:button id="goregister" title="Register" image="<%=home+"/images/import.png"%>" /></td> |
7289 |
18 Aug 23 |
nicklas |
190 |
<td><base:button id="gorestart" title="Restart" image="<%=home+"/images/goback.png"%>" /></td> |
7289 |
18 Aug 23 |
nicklas |
191 |
<td id="gonext-message" class="message"></td> |
7289 |
18 Aug 23 |
nicklas |
192 |
</tr> |
7289 |
18 Aug 23 |
nicklas |
193 |
</table> |
7289 |
18 Aug 23 |
nicklas |
194 |
|
7289 |
18 Aug 23 |
nicklas |
195 |
</form> |
7289 |
18 Aug 23 |
nicklas |
196 |
</div> |
7289 |
18 Aug 23 |
nicklas |
197 |
|
7289 |
18 Aug 23 |
nicklas |
198 |
</base:body> |
7289 |
18 Aug 23 |
nicklas |
199 |
</base:page> |
7289 |
18 Aug 23 |
nicklas |
200 |
<% |
7289 |
18 Aug 23 |
nicklas |
201 |
} |
7289 |
18 Aug 23 |
nicklas |
202 |
finally |
7289 |
18 Aug 23 |
nicklas |
203 |
{ |
7289 |
18 Aug 23 |
nicklas |
204 |
if (dc != null) dc.close(); |
7289 |
18 Aug 23 |
nicklas |
205 |
} |
7289 |
18 Aug 23 |
nicklas |
206 |
%> |