Project

General

Profile

« Previous | Next » 

Revision 3324

Added by barteau over 17 years ago

The JSP "KNP Main View". Refactored some of the original code to other classes to work with the edu.ucsb.ucsb.nceas.metacat.clientview API.

View differences:

index.jsp
25 25
*/
26 26
%>
27 27
<%@ include file="../../common/common-settings.jsp"%>
28

  
28 29
<% 
29
String mapUrl = "@systemidserver@/@context@/style/skins/knp/spatial/pma.html";
30
String                      mapUrl = "@systemidserver@/@context@/style/skins/knp/spatial/pma.html";
30 31
%>
31 32
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
32 33
<html>
......
61 62
                    <p><b>Repository Tools</b></p>
62 63
                    <p>
63 64
                        <menu>
64
                            <li><span class="searchbox">Search for Data</span><br />
65
                            <menu>
66
                                <form method="POST" action="@servlet-path@" target="_top" name="searchform">
67
                                    <%=SIMPLE_SEARCH_METACAT_POST_FIELDS%>
68
                                    <input size="14" name="anyfield" type="text" value="">
69
                                    <input name="qformat" value="knp" type="hidden">
70
                                    <input value="Search" type="submit">
71
                                </form>
72
                                The repository search system is used to locate data sets of interest
73
                                by searching through existing registered data sets.  
74
                                Presently the search covers all fields, including
75
                                author, title, abstract, keywords, and other documentation
76
                                for each data set.  Use a '%' symbol as a wildcard in searches
77
                                (e.g., '%biodiversity%' would locate any phrase with the word
78
                                biodiversity embedded within it).
79
                            </menu>
80
                            <p>&nbsp;</p>
81
                            <form method="POST" action="@servlet-path@" target="_top" name="browseform">
82
                                <%=SIMPLE_SEARCH_METACAT_POST_FIELDS%>
83
                                <input name="anyfield" type="hidden" value="%">
84
                                <input name="qformat" value="knp" type="hidden">
85
                            </form>
86
                            <li><a href="javascript:submitbrowseform('query',document.browseform)">Browse existing KNP data sets</a><br/>
87
                                <menu>
88
                                    Browse all existing data sets by title.  This operation can be slow as the
89
                                    number of entries in the repository grows.
90
                                </menu>
91
                            </li>
92
                            <p>&nbsp;</p>
93
                            <li>Registered Users
94
                                <br />
95
                                <script type="text/javascript">
96
                                    insertLoginBox();
97
                                </script>
98
                            </li>
99
                            <p>&nbsp;</p>
65
                            <script type="text/javascript">
66
                                insertLoginBox();
67
                            </script>
100 68
                        </menu>
101 69
                    </p>
102 70
                </td>

Also available in: Unified diff