Project

General

Profile

« Previous | Next » 

Revision 4491

make metadata field selections only from within the cart

View differences:

lib/style/skins/first/cart.jsp
103 103

  
104 104
<table width="100%" border="0" cellspacing="20" cellpadding="0">
105 105
	<tr>
106
		<th>Cart</th>
106
		<th colspan="2">Cart</th>
107 107
	</tr>
108
	<tr>
108
	<tr valign="top">
109 109
		<td colspan="1">
110
			<p class="emphasis">Selected Metadata Fields: </p>
110
			<p class="emphasis">Selected Metadata Fields: 
111
				<a href="javascript:{}" onclick="Effect.Appear('fieldSelection')">Edit >></a>
112
			</p>
111 113
			<p>
112 114
				<table>
113 115
					<%
......
128 130
				</table>
129 131
			</p>
130 132
		</td>
133
		<td>
134
			<div id="fieldSelection" style="display:none;">
135
				<p class="emphasis">
136
					<a href="javascript:{}" onclick="Effect.Fade('fieldSelection')"> << Done</a>
137
				</p>	
138
				<form id="fieldForm" method="post" action="<%=CONTEXT_URL%>/metacat">
139
					<table>
140
						<tr>
141
							<th>Assement</th>
142
							<th>Course</th>
143
						</tr>
144
						<tr>
145
							<td>
146
								<input type="checkbox" name="title" value="//assessment/@title" />
147
									Title
148
								<br/>	
149
								<input type="checkbox" name="type" value="//assessment/@type"/>
150
									Type
151
								<br/>	
152
								<input type="checkbox" name="duration" value="//assessment/duration"/>
153
									Duration
154
								<br/>	
155
								<input type="checkbox" name="groupGrading" value="//assessment/grading/@group"/>
156
									Group Grading
157
								<br/>	
158
								<input type="checkbox" name="groupSize" value="//assessment/grading/@size"/>
159
									Group Size
160
								<br/>	
161
								<input type="checkbox" name="groupGradingApproach" value="//assessment/grading"/>
162
									Group Grading Approach
163
							</td>	
164
							<td>
165
								<input type="checkbox" name="year" value="//course/year"/>
166
									Year
167
								<br/>	
168
								<input type="checkbox" name="term" value="//course/term"/>
169
									Term
170
								<br/>	
171
								<input type="checkbox" name="startDate" value="//course/coverage/rangeOfDates/beginDate/calendarDate"/>
172
									Start Date
173
								<br/>	
174
								<input type="checkbox" name="endDate" value="//course/coverage/rangeOfDates/endDate/calendarDate"/>						
175
									End Date
176
								<br/>	
177
								<input type="checkbox" name="courseTitle" value="//course/lom/general/title/string"/>
178
									Title
179
								<br/>	
180
								<input type="checkbox" name="courseId" value="//course/lom/general/identifier/entry"/>
181
									ID
182
								<br/>	
183
								<input type="checkbox" name="courseDescription" value="//course/lom/general/description/string"/>
184
									Description
185
							</td>
186
						</tr>
187
						<tr>
188
							<th>Institution</th>
189
							<th>Instructor</th>
190
						</tr>
191
						<tr>	
192
							<td>
193
								<input type="checkbox" name="institutionName" value="//institution/organizationName"/>
194
									Name
195
							</td>
196
							<td>
197
								<input type="checkbox" name="instructorName" value="//instructor/individualName/surName"/>
198
									Name
199
								<br/>	
200
								<input type="checkbox" name="instructorOrganization" value="//instructor/organizationName"/>
201
									Organization	
202
							</td>
203
						</tr>
204
						<tr>
205
							<td></td>
206
							<td>
207
								<input type="button" value="Save Field Selections" onclick="saveFields('fieldForm', '<%=CONTEXT_URL%>/metacat')"/>
208
							</td>	
209
						</tr>	
210
					</table>		
211
				</form>
212
			</div>
213
		</td>
131 214
	</tr>
132 215
	<tr>
133
		<th colspan="1">
216
		<th colspan="2">
134 217
			&nbsp;
135 218
		</th>
136 219
	</tr>
137 220
	<tr>
138
		<td colspan="1">
221
		<td colspan="2">
139 222
			<div id="ajaxCartResults" style="/*display:none;*/">
140 223
				<p class="emphasis">Cart is Empty</p>
141 224
			</div>

Also available in: Unified diff