2212 |
04 Feb 14 |
olle |
1 |
<%@ page |
2212 |
04 Feb 14 |
olle |
2 |
pageEncoding="UTF-8" |
2212 |
04 Feb 14 |
olle |
3 |
session="false" |
2212 |
04 Feb 14 |
olle |
4 |
import="net.sf.basedb.core.Application" |
2212 |
04 Feb 14 |
olle |
5 |
import="net.sf.basedb.core.User" |
2212 |
04 Feb 14 |
olle |
6 |
import="net.sf.basedb.core.DbControl" |
2212 |
04 Feb 14 |
olle |
7 |
import="net.sf.basedb.core.SessionControl" |
2212 |
04 Feb 14 |
olle |
8 |
import="net.sf.basedb.clients.web.Base" |
2212 |
04 Feb 14 |
olle |
9 |
import="net.sf.basedb.clients.web.util.HTML" |
2212 |
04 Feb 14 |
olle |
10 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
2212 |
04 Feb 14 |
olle |
11 |
import="net.sf.basedb.util.Values" |
2212 |
04 Feb 14 |
olle |
12 |
import="net.sf.basedb.util.formatter.DateFormatter" |
2212 |
04 Feb 14 |
olle |
13 |
import="java.util.Calendar" |
2212 |
04 Feb 14 |
olle |
14 |
import="java.util.Locale" |
2212 |
04 Feb 14 |
olle |
15 |
import="java.text.SimpleDateFormat" |
2212 |
04 Feb 14 |
olle |
16 |
%> |
2212 |
04 Feb 14 |
olle |
17 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
2212 |
04 Feb 14 |
olle |
18 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
2212 |
04 Feb 14 |
olle |
19 |
<% |
3976 |
26 May 16 |
nicklas |
20 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
2212 |
04 Feb 14 |
olle |
21 |
final String ID = sc.getId(); |
2212 |
04 Feb 14 |
olle |
22 |
final float scale = Base.getScale(sc); |
2212 |
04 Feb 14 |
olle |
23 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
2212 |
04 Feb 14 |
olle |
24 |
DbControl dc = null; |
2212 |
04 Feb 14 |
olle |
25 |
try |
2212 |
04 Feb 14 |
olle |
26 |
{ |
2212 |
04 Feb 14 |
olle |
27 |
dc = sc.newDbControl(); |
2212 |
04 Feb 14 |
olle |
28 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
2212 |
04 Feb 14 |
olle |
29 |
%> |
2212 |
04 Feb 14 |
olle |
30 |
<base:page type="default" > |
2604 |
27 Aug 14 |
nicklas |
31 |
<base:head |
2604 |
27 Aug 14 |
nicklas |
32 |
scripts="~export_missing_consent_data_sample_list.js,~../reggie-2.js" |
2604 |
27 Aug 14 |
nicklas |
33 |
styles="path.css,~../css/reggie-2.css,~export.css" |
2604 |
27 Aug 14 |
nicklas |
34 |
/> |
2217 |
10 Feb 14 |
nicklas |
35 |
<base:body > |
2212 |
04 Feb 14 |
olle |
36 |
|
2212 |
04 Feb 14 |
olle |
37 |
<p:path><p:pathelement |
2212 |
04 Feb 14 |
olle |
38 |
title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
2212 |
04 Feb 14 |
olle |
39 |
/><p:pathelement title="Export missing consent data sample list" |
2212 |
04 Feb 14 |
olle |
40 |
/></p:path> |
2212 |
04 Feb 14 |
olle |
41 |
|
2212 |
04 Feb 14 |
olle |
42 |
<div class="content"> |
2604 |
27 Aug 14 |
nicklas |
43 |
<form name="reggie" id="wizard" class="wizard"> |
2212 |
04 Feb 14 |
olle |
44 |
|
2604 |
27 Aug 14 |
nicklas |
45 |
<div class="step" id="step-1"> |
2604 |
27 Aug 14 |
nicklas |
46 |
<div class="step-no">1</div> |
2604 |
27 Aug 14 |
nicklas |
47 |
<div class="step-title">Parameters</div> |
2604 |
27 Aug 14 |
nicklas |
48 |
<div class="step-content"> |
2604 |
27 Aug 14 |
nicklas |
49 |
<table class="step-form"> |
2212 |
04 Feb 14 |
olle |
50 |
<tr> |
2212 |
04 Feb 14 |
olle |
51 |
<td class="prompt">No parameters</td> |
2604 |
27 Aug 14 |
nicklas |
52 |
<td class="input"></td> |
2604 |
27 Aug 14 |
nicklas |
53 |
<td class="help">Press a button to continue.</td> |
2604 |
27 Aug 14 |
nicklas |
54 |
</tr> |
2212 |
04 Feb 14 |
olle |
55 |
</table> |
2604 |
27 Aug 14 |
nicklas |
56 |
</div> |
2604 |
27 Aug 14 |
nicklas |
57 |
</div> |
2212 |
04 Feb 14 |
olle |
58 |
|
2604 |
27 Aug 14 |
nicklas |
59 |
<div id="wizard-status"></div> |
3914 |
02 May 16 |
nicklas |
60 |
<div id="wizard-progress"></div> |
2212 |
04 Feb 14 |
olle |
61 |
|
2604 |
27 Aug 14 |
nicklas |
62 |
<table class="navigation" id="navigation"> |
2212 |
04 Feb 14 |
olle |
63 |
<tr> |
2604 |
27 Aug 14 |
nicklas |
64 |
<td><base:button id="gopreview" title="Preview" image="<%=home+"/images/export.png"%>" /></td> |
2604 |
27 Aug 14 |
nicklas |
65 |
<td><base:button id="goexport" title="Download" image="<%=home+"/images/download.png"%>" /></td> |
2604 |
27 Aug 14 |
nicklas |
66 |
<td id="gonext-message" class="message"></td> |
2212 |
04 Feb 14 |
olle |
67 |
</tr> |
2212 |
04 Feb 14 |
olle |
68 |
</table> |
2212 |
04 Feb 14 |
olle |
69 |
|
2212 |
04 Feb 14 |
olle |
70 |
<div id="previewWrapper" style="display: none;"> |
2212 |
04 Feb 14 |
olle |
71 |
<div> |
2212 |
04 Feb 14 |
olle |
72 |
<span id="previewTitle">Preview</span> |
2212 |
04 Feb 14 |
olle |
73 |
<span id="previewWarning"></span> |
2212 |
04 Feb 14 |
olle |
74 |
</div> |
2212 |
04 Feb 14 |
olle |
75 |
<div id="previewList"></div> |
2212 |
04 Feb 14 |
olle |
76 |
</div> |
2604 |
27 Aug 14 |
nicklas |
77 |
</form> |
2212 |
04 Feb 14 |
olle |
78 |
</div> |
2212 |
04 Feb 14 |
olle |
79 |
|
2212 |
04 Feb 14 |
olle |
80 |
</base:body> |
2212 |
04 Feb 14 |
olle |
81 |
</base:page> |
2212 |
04 Feb 14 |
olle |
82 |
<% |
2212 |
04 Feb 14 |
olle |
83 |
} |
2212 |
04 Feb 14 |
olle |
84 |
finally |
2212 |
04 Feb 14 |
olle |
85 |
{ |
2212 |
04 Feb 14 |
olle |
86 |
if (dc != null) dc.close(); |
2212 |
04 Feb 14 |
olle |
87 |
} |
2212 |
04 Feb 14 |
olle |
88 |
%> |