1803 |
23 Jan 06 |
nicklas |
1 |
<%-- $Id$ |
1803 |
23 Jan 06 |
nicklas |
2 |
------------------------------------------------------------------ |
5425 |
23 Sep 10 |
nicklas |
Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg |
1803 |
23 Jan 06 |
nicklas |
4 |
|
2304 |
22 May 06 |
jari |
5 |
This file is part of BASE - BioArray Software Environment. |
2304 |
22 May 06 |
jari |
6 |
Available at http://base.thep.lu.se/ |
1803 |
23 Jan 06 |
nicklas |
7 |
|
1803 |
23 Jan 06 |
nicklas |
8 |
BASE is free software; you can redistribute it and/or |
1803 |
23 Jan 06 |
nicklas |
9 |
modify it under the terms of the GNU General Public License |
4476 |
05 Sep 08 |
jari |
10 |
as published by the Free Software Foundation; either version 3 |
1803 |
23 Jan 06 |
nicklas |
11 |
of the License, or (at your option) any later version. |
1803 |
23 Jan 06 |
nicklas |
12 |
|
1803 |
23 Jan 06 |
nicklas |
13 |
BASE is distributed in the hope that it will be useful, |
1803 |
23 Jan 06 |
nicklas |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
1803 |
23 Jan 06 |
nicklas |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1803 |
23 Jan 06 |
nicklas |
16 |
GNU General Public License for more details. |
1803 |
23 Jan 06 |
nicklas |
17 |
|
1803 |
23 Jan 06 |
nicklas |
18 |
You should have received a copy of the GNU General Public License |
4510 |
11 Sep 08 |
jari |
19 |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
1803 |
23 Jan 06 |
nicklas |
20 |
------------------------------------------------------------------ |
1803 |
23 Jan 06 |
nicklas |
21 |
|
1803 |
23 Jan 06 |
nicklas |
22 |
@author Nicklas |
1803 |
23 Jan 06 |
nicklas |
23 |
@version 2.0 |
1803 |
23 Jan 06 |
nicklas |
24 |
--%> |
5426 |
24 Sep 10 |
nicklas |
25 |
<%@ page pageEncoding="UTF-8" session="false" |
1803 |
23 Jan 06 |
nicklas |
26 |
import="net.sf.basedb.core.*" |
1803 |
23 Jan 06 |
nicklas |
27 |
import="net.sf.basedb.clients.web.*" |
4741 |
09 Feb 09 |
nicklas |
28 |
import="net.sf.basedb.util.Values" |
4741 |
09 Feb 09 |
nicklas |
29 |
import="net.sf.basedb.clients.web.util.HTML" |
1803 |
23 Jan 06 |
nicklas |
30 |
%> |
1803 |
23 Jan 06 |
nicklas |
31 |
<%@ taglib |
1803 |
23 Jan 06 |
nicklas |
32 |
prefix="base" uri="/WEB-INF/base.tld" |
1803 |
23 Jan 06 |
nicklas |
33 |
%> |
1803 |
23 Jan 06 |
nicklas |
34 |
<% |
1803 |
23 Jan 06 |
nicklas |
35 |
SessionControl sc = Base.getExistingSessionControl(pageContext, Permission.DENIED, Item.FILE); |
1803 |
23 Jan 06 |
nicklas |
36 |
String ID = sc.getId(); |
1803 |
23 Jan 06 |
nicklas |
37 |
String requestTitle = request.getParameter("title"); |
1803 |
23 Jan 06 |
nicklas |
38 |
String callback = request.getParameter("callback"); |
4741 |
09 Feb 09 |
nicklas |
39 |
String fileName = Values.getStringOrNull(request.getParameter("fileName")); |
1803 |
23 Jan 06 |
nicklas |
40 |
|
1803 |
23 Jan 06 |
nicklas |
41 |
%> |
1803 |
23 Jan 06 |
nicklas |
42 |
<base:page title="Save as" type="popup"> |
6308 |
20 Aug 13 |
nicklas |
43 |
<base:head scripts="~save_as.js" /> |
5953 |
10 Feb 12 |
nicklas |
44 |
<base:body> |
5953 |
10 Feb 12 |
nicklas |
45 |
<h1>Save as</h1> |
6308 |
20 Aug 13 |
nicklas |
46 |
<div id="page-data" class="datacontainer" |
6308 |
20 Aug 13 |
nicklas |
47 |
data-default-filename="<%=HTML.javaScriptEncode(fileName)%>" |
6308 |
20 Aug 13 |
nicklas |
48 |
data-callback="<%=callback%>" |
6308 |
20 Aug 13 |
nicklas |
49 |
></div> |
1803 |
23 Jan 06 |
nicklas |
50 |
<form name="file"> |
1803 |
23 Jan 06 |
nicklas |
51 |
<input type="hidden" name="file_id" value=""> |
5953 |
10 Feb 12 |
nicklas |
52 |
|
5953 |
10 Feb 12 |
nicklas |
53 |
<div class="content bottomborder"> |
5953 |
10 Feb 12 |
nicklas |
54 |
<div id="f1" class="absolutefull" style="bottom: 3em;"><iframe name="manager" id="idManager" |
6137 |
19 Sep 12 |
nicklas |
55 |
src="frameset.jsp?ID=<%=ID%>&mode=selectone" |
5953 |
10 Feb 12 |
nicklas |
56 |
style="width: 100%; height: 100%;"></iframe></div> |
5953 |
10 Feb 12 |
nicklas |
57 |
|
5953 |
10 Feb 12 |
nicklas |
58 |
<div class="absolutefull topborder" style="top: auto; height: 3em;"> |
5953 |
10 Feb 12 |
nicklas |
59 |
<table class="fullform input100"> |
5953 |
10 Feb 12 |
nicklas |
60 |
<tr> |
5953 |
10 Feb 12 |
nicklas |
61 |
<th>Save as</th> |
5953 |
10 Feb 12 |
nicklas |
62 |
<td><input type="text" class="text" name="path" value=""></td> |
5953 |
10 Feb 12 |
nicklas |
63 |
</tr> |
5953 |
10 Feb 12 |
nicklas |
64 |
</table> |
5953 |
10 Feb 12 |
nicklas |
65 |
</div> |
5953 |
10 Feb 12 |
nicklas |
66 |
</div> |
1803 |
23 Jan 06 |
nicklas |
67 |
</form> |
5953 |
10 Feb 12 |
nicklas |
68 |
|
5953 |
10 Feb 12 |
nicklas |
69 |
<base:buttongroup subclass="dialogbuttons"> |
6308 |
20 Aug 13 |
nicklas |
70 |
<base:button id="btnOk" title="Ok" /> |
6308 |
20 Aug 13 |
nicklas |
71 |
<base:button id="close" title="Cancel" /> |
5953 |
10 Feb 12 |
nicklas |
72 |
</base:buttongroup> |
1803 |
23 Jan 06 |
nicklas |
73 |
|
1803 |
23 Jan 06 |
nicklas |
74 |
</base:body> |
1803 |
23 Jan 06 |
nicklas |
75 |
</base:page> |