source: trunk/www/views/experiments/plotter/view.jsp @ 4476

Last change on this file since 4476 was 4476, checked in by Jari Häkkinen, 15 years ago

Addresses #1106. Moving to GPLv3 in chunked commits.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 2.0 KB
Line 
1<%-- $Id: view.jsp 4476 2008-09-05 15:14:42Z jari $
2  ------------------------------------------------------------------
3  Copyright (C) 2006 Jari Hakkinen, Nicklas Nordborg
4
5  This file is part of BASE - BioArray Software Environment.
6  Available at http://base.thep.lu.se/
7
8  BASE is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License
10  as published by the Free Software Foundation; either version 3
11  of the License, or (at your option) any later version.
12
13  BASE is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  GNU General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with this program; if not, write to the Free Software
20  Foundation, Inc., 59 Temple Place - Suite 330,
21  Boston, MA  02111-1307, USA.
22  ------------------------------------------------------------------
23
24  @author Nicklas
25  @version 2.0
26--%>
27<%@ page session="false"
28  import="net.sf.basedb.core.SessionControl"
29  import="net.sf.basedb.core.Item"
30  import="net.sf.basedb.clients.web.Base"
31  import="net.sf.basedb.clients.web.util.HTML"
32  import="net.sf.basedb.util.Values"
33%>
34<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %>
35<%
36final SessionControl sc = Base.getExistingSessionControl(pageContext, true);
37final String ID = sc.getId();
38final String title = Values.getString(request.getParameter("title"), "View plot");
39%>
40<base:page type="popup" title="<%=title%>">
41<base:head>
42  <script language="JavaScript">
43  // Initialise - set focus to filename field
44  function view()
45  {
46    var url = window.opener.generatePlotUrl(true);
47    var img = document.getElementById('plot');
48    img.src = url;
49  }
50  </script>
51</base:head>
52<base:body onload="view()">
53  <p>
54
55    <h3 class="docked"><%=title%></h3>
56    <div class="boxed">
57    <img src="../../../images/plot_generating.gif" id="plot">
58    </div>
59
60    <table align="center">
61    <tr>
62      <td><base:button onclick="window.close();" title="Close" /></td>
63    </tr>
64    </table>
65
66
67</base:body>
68</base:page>
Note: See TracBrowser for help on using the repository browser.