Project

General

Profile

« Previous | Next » 

Revision 4634

Added by aschultz over 15 years ago

Moved Search and Browse functions into the search frame.

View differences:

lib/style/skins/kepler/index.jsp
46 46
<body>
47 47
      <script language="JavaScript">
48 48
          insertTemplateOpening("<%=CONTEXT_URL%>");
49
      </script>
50
      <br/>
51
      <script language="JavaScript">
49 52
          insertSearchBox("<%=CONTEXT_URL%>");
50 53
      </script>
54
<br/>
55

  
51 56
<table width="760" border="0" cellspacing="0" cellpadding="0">
52 57
  <tr><td colspan="5">
53
<p>
58

  
54 59
Welcome to the Kepler Analytical Repository.  This repository hosts Kepler
55 60
analytical components (actors) on the Ecogrid.  You can search for actors,
56 61
then download and import them into Kepler.  Eventually, you will be able
57 62
to search this repository directly from Kepler.
58
</p>
63

  
59 64
<p>&nbsp;</p>
60
<p><b>Repository Tools</b></p>
61
<p>
62
<menu>
63
<li><span class="searchbox">Search for Components</span><br />
64
    <menu>
65
<form method="get" action="<%=SERVLET_URL%>" target="_top">
66
  <input value="INTERSECT" name="operator" type="hidden">   
67
  <input size="14" name="anyfield" type="text" value="">
68
  <input name="action" value="query" type="hidden">
69
  <input name="qformat" value="kepler" type="hidden">
70
  <input name="enableediting" value="false" type="hidden">
71
  <input name="operator" value="UNION" type="hidden">
72
  <input name="pagesize" value="10" type="hidden">
73
  <input name="pagestart" value="0" type="hidden">
74
  <input name="returnfield" value="entity/@name" type="hidden">
75
  <input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden">
76
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
77
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
78
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
79
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
80
  <input name="returndoctype" value="entity" type="hidden">
81
  <input value="Search" type="submit">
82
</form>
83
      The repository search system is used to locate analytical components of interest
84
      by searching through existing registered components.  
85
      Use a '%' symbol as a wildcard in searches
86
      (e.g., '%Constant%' would locate any phrase with the word
87
      'Constant' embedded within it).
88
      </menu>
65

  
89 66
  <p>&nbsp;</p>
90
  <li>
91
  <a href="<%=SERVLET_URL%>?action=query&qformat=kepler&enableediting=false&operator=UNION&returnfield=entity%2F%40name&returnfield=entity%2Fproperty%5B%40name%3D%27karId%27%5D%2F%40value&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27author%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27version%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27description%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27userLevelDocumentation%27%5D%2Fconfigure&returndoctype=entity&pagestart=0&pagesize=10">Browse existing Kepler analytical components</a>
67
<!--
68
  <li>Login
92 69
  <br />
93
    <menu>
94
    Browse all existing data sets by title.  This operation can slow as the
95
    number of entries in the repository grows.
96
    </menu>
97
  </li>
98
  <p>&nbsp;</p>
99
  <!--<li>Login
100
  <br />
101 70
  <menu>
102 71
  <form name="loginform" method="post" action="<%=SERVLET_URL%>"
103 72
  target="_top" onsubmit="return submitform(this);" id="loginform">
......
152 121
    </table>
153 122
  </form>
154 123
  </menu>
155
  </li>-->
124
  </li>
125
-->
156 126
</menu>
157 127
</p>
158 128
  </td></tr>
lib/style/skins/kepler/searchform.jsp
27 27
<%@ include file="../../common/common-settings.jsp"%>
28 28
<%@ include file="../../common/configure-check.jsp"%>
29 29

  
30
<form method="POST" action="<%=SERVLET_URL%>" target="_top">
31
Search for: 
32
  <input value="INTERSECT" name="operator" type="hidden">   
33
  <input size="14" name="anyfield" type="text" value="">
30

  
31

  
32
<table width="30%" border="0" cellspacing="0" cellpadding="0">
33
	<tr>
34
	  <td colspan="2">
35
	    <p style="font-size: 12px;font-family:arial;">
36
      The repository search system is used to locate Kepler 
37
	      analytical components of interest
38
	      </p>
39
	  </td>
40
	</tr>
41
</table>
42
<br/>
43
<table width="30%" border="0" cellspacing="0" cellpadding="0">
44
	<tr>
45
	  <td>
46
<form method="get" action="<%=SERVLET_URL%>" target="_top">
47
  <input value="INTERSECT" name="operator" type="hidden">
48
  <input id="searchText" size="14" name="anyfield" type="text" value="">
34 49
  <input name="action" value="query" type="hidden">
35
  <input name="qformat" value="knp" type="hidden">
50
  <input name="qformat" value="kepler" type="hidden">
36 51
  <input name="enableediting" value="false" type="hidden">
37 52
  <input name="operator" value="UNION" type="hidden">
53
  <input name="pagesize" value="10" type="hidden">
54
  <input name="pagestart" value="0" type="hidden">
38 55
  <input name="returnfield" value="entity/@name" type="hidden">
56
  <input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden">
39 57
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
58
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
59
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
60
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
61
  <input name="returndoctype" value="entity" type="hidden">
62
  <input value="Search Components" type="submit">
63
</form>
64
	    </td>
65
	  <td align="right">
66
<form id="browseForm" method="get" action="<%=SERVLET_URL%>" target="_top">
67
  <input value="INTERSECT" name="operator" type="hidden">
68
  <input size="14" name="anyfield" type="hidden" value="">
69
  <input name="action" value="query" type="hidden">
70
  <input name="qformat" value="kepler" type="hidden">
71
  <input name="enableediting" value="false" type="hidden">
72
  <input name="operator" value="UNION" type="hidden">
73
  <input name="pagesize" value="10" type="hidden">
74
  <input name="pagestart" value="0" type="hidden">
75
  <input name="returnfield" value="entity/@name" type="hidden">
40 76
  <input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden">
77
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
41 78
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
42 79
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
43 80
  <input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
44 81
  <input name="returndoctype" value="entity" type="hidden">
45
  <input name="pagestart" value="0" type="hidden">
46
  <input name="pagesize" value="10" type="hidden">
47
  <input value="Start Search" type="submit">
82
  <input value="Browse All Components" type="Submit">
48 83
</form>
84
	    </td>
85
	</tr>
86
      <tr>
87
	<td colspan="2">
88
	    <p style="font-size: 12px;font-family:arial;">
89
      Use a '%' symbol as a wildcard in searches
90
      (e.g., '%Constant%' would locate any phrase with the word
91
      'Constant' embedded within it).
92
	    </p>
93
	  </td>
94
	</tr>
95
	</table>
lib/style/skins/kepler/kepler.css
45 45
 *  container frame, *NOT* to the document within it!
46 46
 */  
47 47
.iframeheaderclass {
48
  height:   155px; 
48
  height:   120px; 
49 49
  width:    98%;
50 50
  border:   0px;
51 51
  margin:   0px;
52 52
  margin-left: 10px;
53 53
}
54 54

  
55
.iframesearchboxclass { /* not used */ }
55
.iframesearchboxclass { 
56
  height: 150px;
57
  width:  2050px;
58
  margin: 0px;
59
  margin-left: 10px;
60
}
56 61
.iframeleftcolclass  { /* not used */ }
57 62
.iframerightcolclass { 
58 63
    position: fixed;
lib/style/skins/kepler/kepler.js
88 88
//  Location of the header that will be displayed at the top of the page
89 89
var HEADER_URL = "style/skins/kepler/header.jsp";
90 90

  
91
var LEFTCOL_URL  = "";
92

  
93
var RIGHTCOL_URL  = "";
94

  
95
var FOOTER_URL  = "";
96

  
91 97
// Location of the search box that will be displayed above the  
92 98
//  results on the results page (optional)
93
var SEARCHBOX_URL  = "";
94
  //= "style/skins/kepler/searchform.jsp";
99
var SEARCHBOX_URL  = "style/skins/kepler/searchform.jsp";
95 100

  
96
//  Location of the header that will be displayed at the top of the page
97
var LEFTCOL_URL  = "";
98 101
  
99
//  Location of the header that will be displayed at the top of the page
100
var RIGHTCOL_URL  = "";
101
  
102
//  Location of the header that will be displayed at the top of the page
103
var FOOTER_URL  = "";
104
  
105 102

  
106 103

  
107 104

  

Also available in: Unified diff