Project

General

Profile

metacat / lib / style / skins / first / index.html @ 3510

1
<!--
2
  *  '$RCSfile$'
3
  *      Authors: Matt Jones
4
  *    Copyright: 2000 Regents of the University of California and the
5
  *               National Center for Ecological Analysis and Synthesis
6
  *  For Details: http://www.nceas.ucsb.edu/
7
  *
8
  *   '$Author: leinfelder $'
9
  *     '$Date: 2007-10-09 18:15:39 -0700 (Tue, 09 Oct 2007) $'
10
  * '$Revision: 3510 $'
11
  * 
12
  * This is an HTML document for displaying metadata catalog tools
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
-->
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<html>
30
<head>
31
<title>FIRST Assessment Metadata Repository</title>
32
<link rel="stylesheet" href="@html-path@/style/default.css"
33
        type="text/css">
34
<link rel="stylesheet" type="text/css"
35
        href="@systemidserver@@style-skins-path@/first/first.css">
36
<script language="JavaScript" type="text/JavaScript"
37
        src="@systemidserver@@style-skins-path@/first/first.js"></script>
38
<script language="JavaScript" type="text/JavaScript"
39
        src="@systemidserver@@style-common-path@/branding.js"></script>
40
<script language="Javascript">
41
        function trim(stringToTrim) {
42
                return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
43
        }
44

45
        function checkSearch(submitFormObj) {
46
                        var searchString = trim(submitFormObj.searchstring.value);
47
                         var checkBox = document.getElementById("searchAll");
48

49
                        if (searchString=="") {
50
                                if (confirm("Show *all* data?")) {
51
                                        searchString = "%";
52
                                } 
53
                                else {
54
                                  return false;
55
                                }
56
                        }
57

58
                        if(!checkBox.checked && searchString!="%"){
59
                                submitFormObj.query.value = "<pathquery version=\"1.2\">"
60
                                                      +"<querytitle>Web-Search</querytitle>"
61
                                                      
62
                                                      +"<returndoctype>edml://ecoinformatics.org/edml</returndoctype>"
63
                                                      
64
                                                      +"<returnfield>qtimetadata/qtimetadatafield/fieldlabel</returnfield>"
65
                                                      +"<returnfield>qtimetadata/qtimetadatafield/fieldentry</returnfield>"
66
                                                      +"<returnfield>assessment/duration</returnfield>"
67
                                                      +"<returnfield>assessment/@title</returnfield>"
68
                                                      +"<returnfield>lom/general/title/string</returnfield>"
69
                                                      +"<returnfield>lom/general/keyword/string</returnfield>"
70
                                                      +"<returnfield>individualName/surName</returnfield>"
71
                                                      +"<returnfield>organizationName</returnfield>"
72
                                                      
73
                                                      +"<querygroup operator=\"INTERSECT\">"
74
                                                           +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
75
                                                                   +"<value>%</value>"
76
                                                                   +"<pathexpr>organizationName</pathexpr>"
77
                                                           +"</queryterm>"
78
                                                           +"<querygroup operator=\"UNION\">"
79
                                                                   +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
80
                                                                           +"<value>" + searchString + "</value>"
81
                                                                           +"<pathexpr>assessment/@title</pathexpr>"
82
                                                                   +"</queryterm>"
83
                                                                   +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84
                                                                           +"<value>" + searchString + "</value>"
85
                                                                           +"<pathexpr>surName</pathexpr>"
86
                                                                   +"</queryterm>"
87
                                                                   +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88
                                                                           +"<value>" + searchString + "</value>"
89
                                                                           +"<pathexpr>givenName</pathexpr>"
90
                                                                   +"</queryterm>"
91
                                                                   +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
92
                                                                           +"<value>" + searchString + "</value>"
93
                                                                           +"<pathexpr>lom/general/keyword/string</pathexpr>"
94
                                                                   +"</queryterm>"
95
                                                           +"</querygroup>"
96
                                                     +"</querygroup>"
97
                                             +"</pathquery>";
98
                } else {
99
                        queryTermString = "";
100
                        if(searchString != "%"){
101
                                                        queryTermString = "<queryterm searchmode=\"contains\" casesensitive=\"false\">"
102
                                                                +"<value>" + searchString + "</value>"
103
                                                                +"</queryterm>";
104
                        }
105
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
106
                                                           +"<querytitle>Web-Search</querytitle>"
107
                                                                                                                      
108
                                                           +"<returndoctype>edml://ecoinformatics.org/edml</returndoctype>"
109
                                                           
110
                                                           +"<returnfield>qtimetadata/qtimetadatafield/fieldlabel</returnfield>"
111
                                                           +"<returnfield>qtimetadata/qtimetadatafield/fieldentry</returnfield>"
112
                                                           +"<returnfield>assessment/duration</returnfield>"
113
                                                           +"<returnfield>assessment/@title</returnfield>"
114
                                                           +"<returnfield>lom/general/title/string</returnfield>"
115
                                                           +"<returnfield>lom/general/keyword/string</returnfield>"
116
                                                           +"<returnfield>individualName/surName</returnfield>"
117
                                                           +"<returnfield>organizationName</returnfield>"
118
                                                           
119
                                                           +"<querygroup operator=\"INTERSECT\">"
120
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
121
                                                                        +"<value>%</value>"
122
                                                                        +"<pathexpr>organizationName</pathexpr>"
123
                                                                +"</queryterm>"
124
                                                                + queryTermString
125
                                                           +"</querygroup>"
126
                                                    +"</pathquery>";
127

128
                }
129
                return true;
130
        }
131

132
        function searchAll(){
133
                var checkBox = document.getElementById("searchCheckBox");
134
                if(checkBox.checked == true){
135
                        alert("You have selected to search all possible existing fields. This search will take longer.");
136
                }
137
        }
138
   </script>
139
<link href="first.css" rel="stylesheet" type="text/css">
140
</head>
141
<body>
142
<script language="JavaScript">
143
          insertTemplateOpening();
144
          insertSearchBox();
145
      </script>
146

    
147
<table width="760" border="0" cellspacing="0" cellpadding="0">
148
        <!--DWLayoutTable-->
149
        <tr>
150
                <td>
151
                        <p class="intro">
152
                                Welcome to the FIRST Assessment Repository. 
153
                                The repository contains detailed information on assessment tools used
154
                                [primarily] in biological and ecological science courses.
155
                                Records herein adhere to a standard educational metadata specification 
156
                                and enable educators to explore effective teaching models and techniques.
157
                        </p>
158
                        <p class="intro">        
159
                                The aim is to associate outcome measures (i.e. student test scores) with the particular concepts
160
                                on which the student is being tested and also associate the specific instructional techniques employed 
161
                                when presenting that material to the student.
162
                        </p>
163
                                
164
                        <p class="intro">
165
                                The repository relies primarily on data collected from and submitted by
166
                                professors and instructors.  While this system is still in active development,
167
                                a quick search should reveal the depth, flexibility, and utility of the model. 
168
                                And, of course, feedback is strongly encouraged and greatly appreciated.
169
                        </p>
170
                        <p class="intro">
171
                                Information about the FIRST Project and it's activities is currently available through the 
172
                                <a href="http://www.first2.org/">FIRST II</a> site.
173
                                
174
                        <p class="intro">
175
                                If you have any questions, comments or problems,
176
                                please contact the repository developer and administrator at
177
                                <a        href="mailto:leinfelder@nceas.ucsb.edu">leinfelder@nceas.ucsb.edu</a>
178
                        </p>
179
                        
180
                        <br />
181
                        <table class="tables" cellpadding="8" cellspacing="0">
182
                                <tr class="sectheader">
183
                                        <td class="borderbottom" align="left">
184
                                                <p align="center">Search assessments and courses</p>
185
                                        </td>
186
                                </tr>
187
                                <tr class="sectbody"></tr>
188
        
189
                                <tr>
190
                                        <td colspan="2" align="left">
191
                                                <form method="POST" action="@servlet-path@" target="_top"
192
                                                        onSubmit="return checkSearch(this)">
193
                                                        <span class="searchresultsdividerPale"> 
194
                                                                <input value="UNION" name="operator" type="hidden"> &nbsp; 
195
                                                                <input size="14" name="searchstring" type="text" value="" id="searchBox"> 
196
                                                                <input name="query" type="hidden"> 
197
                                                                <input name="qformat" value="first" type="hidden"> 
198
                                                                <input name="enableediting"        value="false" type="hidden"> 
199
                                                                <input type="hidden" name="action" value="squery"> 
200
                                                                <input value="Search" type="submit">
201
                                                        </span>
202
                                                </form>
203
                                                <form>
204
                                                        <input name="search" type="radio" checked>
205
                                                        Search Titles, Keywords, Instructors (Quicker) 
206
                                                        <br/>
207
                                                        <input name="search" type="radio" id="searchAll"> 
208
                                                        Search all fields (Slower) 
209
                                                        <br />
210
                                                </form>
211
                                                <div align="center">
212
                                                        <p align="left">This tool allows you to search for assessments.
213
                                                        When you type text in the box and click on
214
                                                        the "Search" button, the search will only be conducted within the
215
                                                        course and assessment titles and descriptions, instructor name, and keyword fields. 
216
                                                        Checking the "Search All Fields" box will search on these and all other existing fields. 
217
                                                        <br />
218
                                                        <br />
219
                                                        You can use the '%' character as a wildcard in your searches (e.g.,
220
                                                        '%biology%' would locate any phrase with the word biology embedded within it).
221
                                                        </p>
222
                                                </div>
223
                                        </td>
224
                                </tr>
225
                                <tr>
226
                                        <td class="borderbottom">
227
                                                <div align="center">
228
                                                        <a href="@servlet-path@?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;organizationName=%25&amp;qformat=first&amp;enableediting=false&amp;returndoctype=edml://ecoinformatics.org/edml&amp;returnfield=assessment/@title&amp;returnfield=lom/general/title/string&amp;returnfield=lom/general/keyword/string&amp;returnfield=individualName/surName&amp;returnfield=organizationName">
229
                                                        Browse existing FIRST assessments
230
                                                        </a> 
231
                                                        <br />
232
                                                </div>
233
                                        </td>
234
                                </tr>
235
                        </table>
236
                        <br />
237
                        <br />
238
        
239
                        <p class="intro">
240
                        This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National Center for Ecological
241
                        Analysis and Synthesis (NCEAS)</a> and is based on software developed by
242
                        the <a href="http://knb.ecoinformatics.org">Knowledge Network for
243
                        Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
244
                        [the currently-under-development] Educational Metadata Language (EdML [name subject to change]).</p>
245

    
246
                </td>
247
        </tr>
248
</table>
249

    
250
<script language="JavaScript">          
251
    insertTemplateClosing();
252
</script>
253
</body>
254
</html>