2113 |
27 Mar 06 |
nicklas |
1 |
<%-- $Id$ |
2113 |
27 Mar 06 |
nicklas |
2 |
------------------------------------------------------------------ |
5425 |
23 Sep 10 |
nicklas |
Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg, Martin Svensson |
2113 |
27 Mar 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/ |
2113 |
27 Mar 06 |
nicklas |
7 |
|
2113 |
27 Mar 06 |
nicklas |
8 |
BASE is free software; you can redistribute it and/or |
2113 |
27 Mar 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 |
2113 |
27 Mar 06 |
nicklas |
11 |
of the License, or (at your option) any later version. |
2113 |
27 Mar 06 |
nicklas |
12 |
|
2113 |
27 Mar 06 |
nicklas |
13 |
BASE is distributed in the hope that it will be useful, |
2113 |
27 Mar 06 |
nicklas |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
2113 |
27 Mar 06 |
nicklas |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2113 |
27 Mar 06 |
nicklas |
16 |
GNU General Public License for more details. |
2113 |
27 Mar 06 |
nicklas |
17 |
|
2113 |
27 Mar 06 |
nicklas |
18 |
You should have received a copy of the GNU General Public License |
4511 |
11 Sep 08 |
jari |
19 |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
2113 |
27 Mar 06 |
nicklas |
20 |
------------------------------------------------------------------ |
2113 |
27 Mar 06 |
nicklas |
21 |
|
2113 |
27 Mar 06 |
nicklas |
22 |
@author Nicklas |
2113 |
27 Mar 06 |
nicklas |
23 |
@version 2.0 |
2113 |
27 Mar 06 |
nicklas |
24 |
--%> |
5426 |
24 Sep 10 |
nicklas |
25 |
<%@ page pageEncoding="UTF-8" session="false" |
2113 |
27 Mar 06 |
nicklas |
26 |
import="net.sf.basedb.core.SessionControl" |
2113 |
27 Mar 06 |
nicklas |
27 |
import="net.sf.basedb.core.Item" |
2113 |
27 Mar 06 |
nicklas |
28 |
import="net.sf.basedb.clients.web.Base" |
2113 |
27 Mar 06 |
nicklas |
29 |
import="net.sf.basedb.clients.web.util.HTML" |
2753 |
20 Oct 06 |
nicklas |
30 |
import="net.sf.basedb.util.Values" |
2113 |
27 Mar 06 |
nicklas |
31 |
%> |
2113 |
27 Mar 06 |
nicklas |
32 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
2113 |
27 Mar 06 |
nicklas |
33 |
<% |
2113 |
27 Mar 06 |
nicklas |
34 |
final SessionControl sc = Base.getExistingSessionControl(pageContext, true); |
2113 |
27 Mar 06 |
nicklas |
35 |
final String ID = sc.getId(); |
6315 |
06 Sep 13 |
nicklas |
36 |
final String plotUrl = request.getParameter("plot"); |
2113 |
27 Mar 06 |
nicklas |
37 |
%> |
2113 |
27 Mar 06 |
nicklas |
38 |
<base:page type="popup" title="Save as"> |
6315 |
06 Sep 13 |
nicklas |
39 |
<base:head scripts="~save_as.js" /> |
6315 |
06 Sep 13 |
nicklas |
40 |
<base:body> |
5924 |
13 Jan 12 |
nicklas |
41 |
<h1>Save plot</h1> |
5924 |
13 Jan 12 |
nicklas |
42 |
|
6315 |
06 Sep 13 |
nicklas |
43 |
<div id="page-data" class="datacontainer" |
6315 |
06 Sep 13 |
nicklas |
44 |
data-plot-url="<%=HTML.encodeTags(plotUrl) %>" |
6315 |
06 Sep 13 |
nicklas |
45 |
></div> |
6315 |
06 Sep 13 |
nicklas |
46 |
|
6162 |
10 Oct 12 |
nicklas |
47 |
<form name="saveas"> |
5924 |
13 Jan 12 |
nicklas |
48 |
<div class="content bottomborder" id="save"> |
5924 |
13 Jan 12 |
nicklas |
49 |
<table class="fullform input100 smaller"> |
5924 |
13 Jan 12 |
nicklas |
50 |
<tr> |
5924 |
13 Jan 12 |
nicklas |
51 |
<th>Save as</th> |
5924 |
13 Jan 12 |
nicklas |
52 |
<td> |
5924 |
13 Jan 12 |
nicklas |
53 |
<table style="width: 100%;"> |
5924 |
13 Jan 12 |
nicklas |
54 |
<tr> |
6315 |
06 Sep 13 |
nicklas |
55 |
<td><input type="text" class="text required" name="path" id="path" value=""></td> |
5924 |
13 Jan 12 |
nicklas |
56 |
<td style="width: 10em;"><base:button |
6176 |
19 Oct 12 |
nicklas |
57 |
id="btnBrowse" |
5924 |
13 Jan 12 |
nicklas |
58 |
title="Browse…" |
5924 |
13 Jan 12 |
nicklas |
59 |
/></td> |
2113 |
27 Mar 06 |
nicklas |
60 |
</tr> |
5924 |
13 Jan 12 |
nicklas |
61 |
</table> |
5924 |
13 Jan 12 |
nicklas |
62 |
</td> |
5924 |
13 Jan 12 |
nicklas |
63 |
</tr> |
2113 |
27 Mar 06 |
nicklas |
64 |
<tr> |
5924 |
13 Jan 12 |
nicklas |
65 |
<th class="subprompt"></th> |
5924 |
13 Jan 12 |
nicklas |
66 |
<td> |
5924 |
13 Jan 12 |
nicklas |
67 |
<input type="checkbox" name="overwrite" id="overwrite" value="1"><label for="overwrite">Overwrite existing file</label><br> |
5924 |
13 Jan 12 |
nicklas |
68 |
</td> |
2113 |
27 Mar 06 |
nicklas |
69 |
</tr> |
5924 |
13 Jan 12 |
nicklas |
70 |
<tr class="dynamic"> |
5924 |
13 Jan 12 |
nicklas |
71 |
<th></th> |
5924 |
13 Jan 12 |
nicklas |
72 |
<td></td> |
2113 |
27 Mar 06 |
nicklas |
73 |
</table> |
2113 |
27 Mar 06 |
nicklas |
74 |
</div> |
5924 |
13 Jan 12 |
nicklas |
75 |
</form> |
2113 |
27 Mar 06 |
nicklas |
76 |
|
5924 |
13 Jan 12 |
nicklas |
77 |
<base:buttongroup subclass="dialogbuttons" id="buttons"> |
6315 |
06 Sep 13 |
nicklas |
78 |
<base:button id="btnSave" title="Ok" /> |
6315 |
06 Sep 13 |
nicklas |
79 |
<base:button id="close" title="Cancel" /> |
5924 |
13 Jan 12 |
nicklas |
80 |
</base:buttongroup> |
5924 |
13 Jan 12 |
nicklas |
81 |
|
5924 |
13 Jan 12 |
nicklas |
82 |
<div class="content" id="generating" style="display: none"> |
6607 |
19 Nov 14 |
nicklas |
83 |
<table class="fullcc bg-filled-50 bottomborder"><tr><td> |
5924 |
13 Jan 12 |
nicklas |
84 |
<b>Generating plot. Please wait...</b> |
5924 |
13 Jan 12 |
nicklas |
85 |
</td></tr></table> |
2113 |
27 Mar 06 |
nicklas |
86 |
</div> |
2113 |
27 Mar 06 |
nicklas |
87 |
|
2113 |
27 Mar 06 |
nicklas |
88 |
</base:body> |
2113 |
27 Mar 06 |
nicklas |
89 |
</base:page> |