1591 |
21 Mar 12 |
nicklas |
1 |
<%@ page |
1591 |
21 Mar 12 |
nicklas |
2 |
pageEncoding="UTF-8" |
1591 |
21 Mar 12 |
nicklas |
3 |
session="false" |
1591 |
21 Mar 12 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
1591 |
21 Mar 12 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
1591 |
21 Mar 12 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
1591 |
21 Mar 12 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
1591 |
21 Mar 12 |
nicklas |
8 |
import="net.sf.basedb.clients.web.Base" |
1591 |
21 Mar 12 |
nicklas |
9 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
1591 |
21 Mar 12 |
nicklas |
10 |
%> |
1591 |
21 Mar 12 |
nicklas |
11 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
1591 |
21 Mar 12 |
nicklas |
12 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
1591 |
21 Mar 12 |
nicklas |
13 |
<% |
3976 |
26 May 16 |
nicklas |
14 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
1591 |
21 Mar 12 |
nicklas |
15 |
final String ID = sc.getId(); |
1591 |
21 Mar 12 |
nicklas |
16 |
final float scale = Base.getScale(sc); |
1591 |
21 Mar 12 |
nicklas |
17 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
1591 |
21 Mar 12 |
nicklas |
18 |
DbControl dc = null; |
1591 |
21 Mar 12 |
nicklas |
19 |
try |
1591 |
21 Mar 12 |
nicklas |
20 |
{ |
1591 |
21 Mar 12 |
nicklas |
21 |
dc = sc.newDbControl(); |
1591 |
21 Mar 12 |
nicklas |
22 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
1591 |
21 Mar 12 |
nicklas |
23 |
%> |
1591 |
21 Mar 12 |
nicklas |
24 |
<base:page type="default" > |
2785 |
10 Oct 14 |
nicklas |
25 |
<base:head |
2785 |
10 Oct 14 |
nicklas |
26 |
scripts="~../reggie-2.js,~histology_protocol.js" |
2785 |
10 Oct 14 |
nicklas |
27 |
styles="path.css,~../css/reggie-2.css" |
2785 |
10 Oct 14 |
nicklas |
28 |
/> |
2785 |
10 Oct 14 |
nicklas |
29 |
<base:body> |
1591 |
21 Mar 12 |
nicklas |
30 |
|
1591 |
21 Mar 12 |
nicklas |
31 |
<p:path><p:pathelement |
1915 |
21 Mar 13 |
nicklas |
32 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
1669 |
29 May 12 |
nicklas |
33 |
/><p:pathelement title="Create lab tracking protocol for FFPE/HE" |
1591 |
21 Mar 12 |
nicklas |
34 |
/></p:path> |
1591 |
21 Mar 12 |
nicklas |
35 |
|
1591 |
21 Mar 12 |
nicklas |
36 |
<div class="content"> |
1591 |
21 Mar 12 |
nicklas |
37 |
|
2785 |
10 Oct 14 |
nicklas |
38 |
<form name="reggie" action="histology_protocol2.jsp" method="post" target="_blank" id="wizard" class="wizard"> |
2785 |
10 Oct 14 |
nicklas |
39 |
<input type="hidden" name="ID" value="<%=ID%>"> |
1591 |
21 Mar 12 |
nicklas |
40 |
|
2785 |
10 Oct 14 |
nicklas |
41 |
<div class="step" id="step-1"> |
2785 |
10 Oct 14 |
nicklas |
42 |
<div class="step-no">1</div> |
2785 |
10 Oct 14 |
nicklas |
43 |
<div class="step-title">Select or create histology work list</div> |
2785 |
10 Oct 14 |
nicklas |
44 |
<div class="step-content"> |
2785 |
10 Oct 14 |
nicklas |
45 |
|
2785 |
10 Oct 14 |
nicklas |
46 |
<table clasS="step-form"> |
2785 |
10 Oct 14 |
nicklas |
47 |
<tr> |
1681 |
01 Jun 12 |
nicklas |
48 |
<td class="prompt">Histology work list</td> |
2785 |
10 Oct 14 |
nicklas |
49 |
<td class="input"> |
2785 |
10 Oct 14 |
nicklas |
50 |
<select name="workList" id="workList" class="required"></select> |
1681 |
01 Jun 12 |
nicklas |
51 |
</td> |
1681 |
01 Jun 12 |
nicklas |
52 |
<td class="status" id="workList.status"></td> |
2785 |
10 Oct 14 |
nicklas |
53 |
<td class="help"> |
2785 |
10 Oct 14 |
nicklas |
54 |
<span id="workList.message" class="message"></span> |
1681 |
01 Jun 12 |
nicklas |
55 |
Select an existing histology work list or choose to create a new one. |
1681 |
01 Jun 12 |
nicklas |
56 |
</td> |
1681 |
01 Jun 12 |
nicklas |
57 |
</tr> |
2785 |
10 Oct 14 |
nicklas |
58 |
<tr> |
1681 |
01 Jun 12 |
nicklas |
59 |
<td class="prompt"></td> |
1681 |
01 Jun 12 |
nicklas |
60 |
<td class="input"> |
1591 |
21 Mar 12 |
nicklas |
61 |
<base:buttongroup style="margin-top: 0.5em;"> |
2785 |
10 Oct 14 |
nicklas |
62 |
<base:button image="new.png" title="Create new work list" id="btnCreateWorkList" /> |
1591 |
21 Mar 12 |
nicklas |
63 |
</base:buttongroup> |
1591 |
21 Mar 12 |
nicklas |
64 |
</td> |
1681 |
01 Jun 12 |
nicklas |
65 |
<td class="status"></td> |
1681 |
01 Jun 12 |
nicklas |
66 |
<td class="help"></td> |
1591 |
21 Mar 12 |
nicklas |
67 |
</tr> |
1591 |
21 Mar 12 |
nicklas |
68 |
</table> |
2785 |
10 Oct 14 |
nicklas |
69 |
</div> |
2785 |
10 Oct 14 |
nicklas |
70 |
</div> |
1591 |
21 Mar 12 |
nicklas |
71 |
|
2785 |
10 Oct 14 |
nicklas |
72 |
<div id="wizard-status"></div> |
1591 |
21 Mar 12 |
nicklas |
73 |
|
2785 |
10 Oct 14 |
nicklas |
74 |
<table class="navigation" id="navigation"> |
2785 |
10 Oct 14 |
nicklas |
75 |
<tr> |
2785 |
10 Oct 14 |
nicklas |
76 |
<td><base:button id="gocreate" title="Finish" image="<%=home+"/images/gonext.png"%>" /></td> |
2785 |
10 Oct 14 |
nicklas |
77 |
<td id="gonext-message" class="message"></td> |
2785 |
10 Oct 14 |
nicklas |
78 |
</tr> |
1591 |
21 Mar 12 |
nicklas |
79 |
</table> |
1591 |
21 Mar 12 |
nicklas |
80 |
</form> |
1591 |
21 Mar 12 |
nicklas |
81 |
</div> |
1591 |
21 Mar 12 |
nicklas |
82 |
|
1591 |
21 Mar 12 |
nicklas |
83 |
</base:body> |
1591 |
21 Mar 12 |
nicklas |
84 |
</base:page> |
1591 |
21 Mar 12 |
nicklas |
85 |
<% |
1591 |
21 Mar 12 |
nicklas |
86 |
} |
1591 |
21 Mar 12 |
nicklas |
87 |
finally |
1591 |
21 Mar 12 |
nicklas |
88 |
{ |
1591 |
21 Mar 12 |
nicklas |
89 |
if (dc != null) dc.close(); |
1591 |
21 Mar 12 |
nicklas |
90 |
} |
1591 |
21 Mar 12 |
nicklas |
91 |
%> |