source: Discovery_Service/trunk/exist/Configure.jsp @ 122

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/Discovery_Service/trunk/exist/Configure.jsp@125
Revision 122, 3.2 KB checked in by mguiterr, 15 years ago (diff)

* empty log message *

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<%
2//Copyright (C) 2004 CCLRC & NERC( Natural Environment Research Council ).
3//This software may be distributed under the terms of the
4//Q Public License, version 1.0 or later. http://ndg.nerc.ac.uk/public_docs/QPublic_license.txt
5%>
6
7<jsp:useBean id="group" class="ndgsearch.Group"  scope="session" />
8<jsp:useBean id="dif" class="ndgsearch.DIF" scope="session" />
9<%@ page import="java.util.*"%>
10<%@ page session="true" %>
11
12
13<html>
14<head>
15
16<title>NDG Search Interface</title>
17<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
18
19<link href="styles/home.css" rel="stylesheet" type="text/css">
20<link href="js/functions.js" rel="stylesheet" type="text/css">
21<script>
22function callParent()
23{
24    if (document.forms[0].summary.checked)
25        window.opener.location.href="listDIFs.jsp?howmany=<%=request.getParameter("howmany") %>&start=0&SEARCHSTRING=<%=request.getParameter("SEARCHSTRING")%>&sig=0&dispSum=true";
26    else
27        window.opener.location.href="listDIFs.jsp?howmany=<%=request.getParameter("howmany") %>&start=0&SEARCHSTRING=<%=request.getParameter("SEARCHSTRING")%>&sig=0&dispSum=false";
28
29    window.close();
30}
31
32
33
34</script>
35</head>
36<body text="#000000" bgcolor="#ffffff" link="#191970" vlink="#551A8A" alink="FE0000" topmargin="10" leftmargin="10" marginwidth="10" marginheight="10">
37
38<table border="1" cellpadding="0" cellspacing="0" width="100%">
39      <tr>
40        <td height="81">
41          <table width="100%" height="117%" border="0" cellpadding="2" cellspacing="1">
42        <tr align="center">
43             
44          <td width="10%" height="100%" align="left" valign="top" background="images/background1.gif"  ><img src="images/ndgCurrentlit.gif" width="92" height="86">
45          </td>
46                          <td width="78%" valign="middle" ><strong><font color="#CC3333" size="+2" face="Courier New, Courier, mono">NDG
47                - Discovery Service</font></strong></td>
48                         
49          <td width="12%" height="100%" align="left" valign="top" background="images/background1.gif"  ><img src="images/ndgCurrentlitRev.gif" width="86" height="89">
50          </td>
51                        </tr>
52         </table>
53         </td></tr>
54      </table>
55             
56
57
58<center>
59<form>
60  <table width="34%" border="0">
61    <tr>
62      <td height="25"  class=tablerow>
63        Configure DIF Fields to Display:
64        </td>
65    </tr>
66    <tr>
67      <td height="95"  class=tablerow>
68        <p>
69          <input type="checkbox" name="summary" value="checkbox">
70          Summary</p>
71        <p>
72          <input type="checkbox" name="checkbox2" value="checkbox">
73          Temporal Coverage</p>
74        <p>
75          <input type="checkbox" name="checkbox3" value="checkbox">
76          Spatial Coverage</p>
77        </td>
78    </tr>
79    <tr>
80      <td valign="top" class=tablerow align="right"><a onClick="callParent();" href="#"> Go back </a></td>
81    </tr>
82  </table>
83<form>
84<script language='javascript'>
85function dispSum()
86{
87   
88    var dispSum = "<%=request.getParameter("dispSum")%>";
89   
90    if (dispSum == "true")
91    {
92   
93        document.forms[0].summary.checked = true;
94    }
95    else
96    {
97   
98        document.forms[0].summary.checked = false;
99    }
100   
101}
102dispSum();
103</script>
104</center>
105<br>
106<%@ include file="footer.jsp" %>               
107                       
108                       
109
Note: See TracBrowser for help on using the repository browser.