Project

General

Profile

1 4235 leinfelder
<%@ page    language="java" %>
2
<%
3
/**
4
 *
5
 * '$RCSfile$'
6
 * Copyright: 2008 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    '$Author$'
9
 *      '$Date$'
10
 * '$Revision$'
11
 *
12
 * This program is free software; you can redistribute it and/or modify
13
 * it under the terms of the GNU General Public License as published by
14
 * the Free Software Foundation; either version 2 of the License, or
15
 * (at your option) any later version.
16
 *
17
 * This program is distributed in the hope that it will be useful,
18
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 * GNU General Public License for more details.
21
22
 * You should have received a copy of the GNU General Public License
23
 * along with this program; if not, write to the Free Software
24
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
25
 */
26
%>
27
28
<%@ include file="../../common/common-settings.jsp"%>
29
<%@ include file="../../common/configure-check.jsp"%>
30
31 3510 leinfelder
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
32
<html>
33
<head>
34
<title>FIRST Assessment Metadata Repository</title>
35
<link rel="stylesheet" type="text/css"
36 4235 leinfelder
	href="<%=STYLE_SKINS_URL%>/first/first.css">
37 3510 leinfelder
<script language="JavaScript" type="text/JavaScript"
38 4235 leinfelder
	src="<%=STYLE_SKINS_URL%>/first/first.js"></script>
39 3510 leinfelder
<script language="JavaScript" type="text/JavaScript"
40 4290 leinfelder
	src="<%=STYLE_SKINS_URL%>/first/search.js"></script>
41
<script language="JavaScript" type="text/JavaScript"
42 4235 leinfelder
	src="<%=STYLE_COMMON_URL%>/branding.js"></script>
43 4290 leinfelder
<script language="Javascript" type="text/JavaScript"
44
	src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js">
45
</script>
46 3510 leinfelder
<script language="Javascript">
47
        function trim(stringToTrim) {
48
                return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
49
        }
50
51
        function checkSearch(submitFormObj) {
52
			var searchString = trim(submitFormObj.searchstring.value);
53 3550 leinfelder
54 3510 leinfelder
			if (searchString=="") {
55 3550 leinfelder
				if (confirm("No search terms were entered.\nContinue with a wildcardsearch?")) {
56 3510 leinfelder
					searchString = "%";
57
				}
58
				else {
59
          			return false;
60
				}
61
			}
62 3550 leinfelder
63 4290 leinfelder
			//generate the query
64 3550 leinfelder
			var queryString =
65 4290 leinfelder
				generateSearchString(
66
					searchString,
67 4305 leinfelder
					true,
68
					true);
69 3550 leinfelder
70
			//set the form value
71
    		submitFormObj.query.value = queryString;
72 4290 leinfelder
73
    		submitFormObj.qformat.value = "first";
74
75 3550 leinfelder
    		//alert(submitFormObj.query.value);
76
			return true;
77 3510 leinfelder
        }
78
79 3550 leinfelder
		function browseAll(){
80
			var submitFormObj = document.getElementById("searchForm");
81
82
			if (checkSearch(submitFormObj)) {
83
				submitFormObj.submit();
84
			}
85
		}
86 4290 leinfelder
87
		function searchAssessments(){
88
			var searchString = document.getElementById("searchBox").value;
89
			var metacatURL = "<%=CONTEXT_URL%>/metacat";
90
91
			//generate the query
92
			var queryString =
93
				generateSearchString(
94
					searchString,
95
					true,
96
					false);
97
98
			callAjax(metacatURL, queryString, "first-assessment");
99
		}
100 3510 leinfelder
   </script>
101
</head>
102
<body>
103
<script language="JavaScript">
104 4235 leinfelder
          insertTemplateOpening("<%=CONTEXT_URL%>");
105
          insertSearchBox("<%=CONTEXT_URL%>");
106 3510 leinfelder
      </script>
107
108
<table width="760" border="0" cellspacing="0" cellpadding="0">
109
	<!--DWLayoutTable-->
110
	<tr>
111
		<td>
112
			<p class="intro">
113
				Welcome to the FIRST Assessment Repository.
114
				The repository contains detailed information on assessment tools used
115
				[primarily] in biological and ecological science courses.
116
				Records herein adhere to a standard educational metadata specification
117
				and enable educators to explore effective teaching models and techniques.
118
			</p>
119
			<p class="intro">
120
				The aim is to associate outcome measures (i.e. student test scores) with the particular concepts
121
				on which the student is being tested and also associate the specific instructional techniques employed
122
				when presenting that material to the student.
123
			</p>
124
125
			<p class="intro">
126
				The repository relies primarily on data collected from and submitted by
127
				professors and instructors.  While this system is still in active development,
128
				a quick search should reveal the depth, flexibility, and utility of the model.
129
				And, of course, feedback is strongly encouraged and greatly appreciated.
130
			</p>
131
			<p class="intro">
132
				Information about the FIRST Project and it's activities is currently available through the
133
				<a href="http://www.first2.org/">FIRST II</a> site.
134
135
			<p class="intro">
136
				If you have any questions, comments or problems,
137
				please contact the repository developer and administrator at
138
				<a	href="mailto:leinfelder@nceas.ucsb.edu">leinfelder@nceas.ucsb.edu</a>
139
			</p>
140
141
			<br />
142
			<table class="tables" cellpadding="8" cellspacing="0">
143
				<tr class="sectheader">
144
					<td class="borderbottom" align="left">
145 3550 leinfelder
						<p align="center">Search Assessments and Questions</p>
146 3510 leinfelder
					</td>
147 4362 leinfelder
				</tr>
148 3510 leinfelder
				<tr>
149
					<td colspan="2" align="left">
150 4235 leinfelder
						<form method="POST" action="<%=SERVLET_URL%>" target="_top"
151 3550 leinfelder
							onSubmit="return checkSearch(this)" id="searchForm">
152 4362 leinfelder
153 3510 leinfelder
								<input name="query" type="hidden">
154
								<input name="qformat" value="first" type="hidden">
155 4305 leinfelder
								<input type="hidden" name="action" value="squery">
156 4362 leinfelder
157
								<table>
158
									<tr>
159
										<td>Any field:</td>
160
										<td><input size="14" name="searchstring" type="text" value="" id="searchBox" onkeypress="searchAssessments()"></td>
161
									</tr>
162
									<tr>
163
										<td colspan="2"><hr/></td>
164
									</tr>
165
									<tr>
166
										<td>Institution: </td>
167
										<td><input name="institution" id="institution" type="text" size="14"/></td>
168
									</tr>
169
									<tr>
170
										<td>Course: </td>
171
										<td><input name="course" id="course" type="text" size="14"/></td>
172
									</tr>
173
									<tr>
174
										<td>Instructor: </td>
175
										<td><input name="instructor" id="instructor" type="text" size="14"/></td>
176
									</tr>
177
									<tr>
178
										<td>Year: </td>
179
										<td><input name="year" id="year" type="text" size="4"/></td>
180
									</tr>
181
									<tr>
182
										<td colspan="2"><hr/></td>
183
									</tr>
184
									<tr>
185
										<td colspan="1">
186
											<!--  <input type="button" onclick="javascript:searchAssessments()" value="Search"/> -->
187
											<input value="Search" type="submit">
188
										</td>
189
										<td>
190
191
										</td>
192
									</tr>
193
								</table>
194
195
196 3510 leinfelder
						</form>
197 4305 leinfelder
198 3510 leinfelder
						<div align="center">
199 3550 leinfelder
							<p align="left">This tool allows you to search for Assessments and Questions.
200
							By default, the search will be conducted over all Assessment fields.
201
							These include (but are not limited to):
202 3510 leinfelder
							course and assessment titles and descriptions, instructor name, and keyword fields.
203 3550 leinfelder
							Expanding the search to include Questions will include additional results for question matches
204
							(much like a question bank).
205 3510 leinfelder
							<br />
206
							<br />
207
							You can use the '%' character as a wildcard in your searches (e.g.,
208
							'%biology%' would locate any phrase with the word biology embedded within it).
209
							</p>
210
						</div>
211
					</td>
212
				</tr>
213
				<tr>
214
					<td class="borderbottom">
215
						<div align="center">
216 3550 leinfelder
							<a href="javascript:browseAll()">
217
							Browse All FIRST items
218 3510 leinfelder
							</a>
219
							<br />
220
						</div>
221
					</td>
222
				</tr>
223
			</table>
224 4290 leinfelder
			<div id="ajaxResults">Loading Search results...</div>
225 3510 leinfelder
			<br />
226
			<br />
227
228
			<p class="intro">
229
			This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National Center for Ecological
230
			Analysis and Synthesis (NCEAS)</a> and is based on software developed by
231
			the <a href="http://knb.ecoinformatics.org">Knowledge Network for
232
			Biocomplexity (KNB)</a>, and houses metadata that are compliant with
233
			[the currently-under-development] Educational Metadata Language (EdML [name subject to change]).</p>
234
235
		</td>
236
	</tr>
237
</table>
238
239
<script language="JavaScript">
240 4235 leinfelder
    insertTemplateClosing("<%=CONTEXT_URL%>");
241 3510 leinfelder
</script>
242
</body>
243
</html>