Project

General

Profile

1
<%@ 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: leinfelder $'
9
 *      '$Date: 2008-08-22 16:48:56 -0700 (Fri, 22 Aug 2008) $'
10
 * '$Revision: 4305 $'
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
<!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
	href="<%=STYLE_SKINS_URL%>/first/first.css">
37
<script language="JavaScript" type="text/JavaScript"
38
	src="<%=STYLE_SKINS_URL%>/first/first.js"></script>
39
<script language="JavaScript" type="text/JavaScript"
40
	src="<%=STYLE_SKINS_URL%>/first/search.js"></script>
41
<script language="JavaScript" type="text/JavaScript"
42
	src="<%=STYLE_COMMON_URL%>/branding.js"></script>
43
<script language="Javascript" type="text/JavaScript"
44
	src="<%=STYLE_COMMON_URL%>/prototype-1.5.1.1/prototype.js">
45
</script>	
46
<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
			
54
			if (searchString=="") {
55
				if (confirm("No search terms were entered.\nContinue with a wildcardsearch?")) {
56
					searchString = "%";
57
				} 
58
				else {
59
          			return false;
60
				}
61
			}
62
			
63
			//generate the query
64
			var queryString = 
65
				generateSearchString(
66
					searchString, 
67
					true, 
68
					true);
69
				
70
			//set the form value	
71
    		submitFormObj.query.value = queryString;
72
    		
73
    		submitFormObj.qformat.value = "first";
74
    		
75
    		//alert(submitFormObj.query.value);	
76
			return true;
77
        }
78

    
79
		function browseAll(){
80
			var submitFormObj = document.getElementById("searchForm");
81
			
82
			if (checkSearch(submitFormObj)) {
83
				submitFormObj.submit();
84
			}
85
		}
86
		
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
   </script>
101
</head>
102
<body>
103
<script language="JavaScript">
104
          insertTemplateOpening("<%=CONTEXT_URL%>");
105
          insertSearchBox("<%=CONTEXT_URL%>");
106
      </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
						<p align="center">Search Assessments and Questions</p>
146
					</td>
147
				</tr>
148
				<tr class="sectbody"></tr>
149
	
150
				<tr>
151
					<td colspan="2" align="left">
152
						<form method="POST" action="<%=SERVLET_URL%>" target="_top"
153
							onSubmit="return checkSearch(this)" id="searchForm">
154
							<span class="searchresultsdividerPale"> 
155
								<input value="UNION" name="operator" type="hidden"> &nbsp; 
156
								<input size="14" name="searchstring" type="text" value="" id="searchBox" onkeypress="searchAssessments()"> 
157
								<input name="query" type="hidden"> 
158
								<input name="qformat" value="first" type="hidden"> 
159
								<input name="enableediting"	value="false" type="hidden"> 
160
								<input type="hidden" name="action" value="squery"> 								
161
								<!--  <input type="button" onclick="javascript:searchAssessments()" value="Search"/> -->
162
								<input value="Search" type="submit">
163
							</span>
164
						</form>
165
						
166
						<div align="center">
167
							<p align="left">This tool allows you to search for Assessments and Questions.
168
							By default, the search will be conducted over all Assessment fields.
169
							These include (but are not limited to):
170
							course and assessment titles and descriptions, instructor name, and keyword fields. 
171
							Expanding the search to include Questions will include additional results for question matches
172
							(much like a question bank). 
173
							<br />
174
							<br />
175
							You can use the '%' character as a wildcard in your searches (e.g.,
176
							'%biology%' would locate any phrase with the word biology embedded within it).
177
							</p>
178
						</div>
179
					</td>
180
				</tr>
181
				<tr>
182
					<td class="borderbottom">
183
						<div align="center">
184
							<a href="javascript:browseAll()">
185
							Browse All FIRST items
186
							</a> 
187
							<br />
188
						</div>
189
					</td>
190
				</tr>
191
			</table>
192
			<div id="ajaxResults">Loading Search results...</div>
193
			<br />
194
			<br />
195
	
196
			<p class="intro">
197
			This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National Center for Ecological
198
			Analysis and Synthesis (NCEAS)</a> and is based on software developed by
199
			the <a href="http://knb.ecoinformatics.org">Knowledge Network for
200
			Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
201
			[the currently-under-development] Educational Metadata Language (EdML [name subject to change]).</p>
202

    
203
		</td>
204
	</tr>
205
</table>
206

    
207
<script language="JavaScript">          
208
    insertTemplateClosing("<%=CONTEXT_URL%>");
209
</script>
210
</body>
211
</html>
(10-10/11)