Project

General

Profile

« Previous | Next » 

Revision 5676

commit before trying div-only resultset

View differences:

lib/style/skins/semtools/resultset.xsl
127 127
						</xsl:choose>
128 128
					</xsl:attribute>
129 129
	
130
					<td colspan="1" class="text_plain">
130
					<td colspan="2" class="text_plain">
131 131
						<a>
132 132
							<xsl:attribute name="href">
133 133
								<xsl:value-of select="$tripleURI"/><xsl:value-of select="./docid"/>
......
150 150
						</xsl:choose>
151 151
					</xsl:attribute>
152 152
	
153
					<td class="text_plain">
153
					<td class="text_plain" width="30%">
154 154
					
155
						<table width="100%">
155
						<!-- render the annotation -->
156
						<xsl:for-each select="./*[local-name()='annotation']">
157
							<xsl:call-template name="annotation">
158
								 <xsl:with-param name="showAll" select="false"/>
159
							</xsl:call-template>	
160
						</xsl:for-each>
161
						
162
									
163
					</td>
164
							
165
					<td width="70%">
166
								
167
						<!-- render the DP details -->
168
						<table class="subGroup subGroup_border onehundred_percent">
156 169
							<tr>
170
								<th>
171
									Owner[s]
172
								</th>
173
								<th>
174
									Organizations[s]
175
								</th>
176
								<th>
177
									Keyword[s]
178
								</th>
179
							</tr>
180
							<tr>
157 181
								<td>
158
									<!-- render the annotation -->
159
									<xsl:for-each select="./*[local-name()='annotation']">
160
										<xsl:call-template name="annotation">
161
											 <xsl:with-param name="showAll" select="false"/>
162
										</xsl:call-template>	
182
									<xsl:for-each
183
										select="./param[@name='creator/individualName/surName']">
184
										<xsl:value-of select="." />
185
										<br/>
163 186
									</xsl:for-each>
164 187
								</td>
165
								
188
							</tr>
189
							<tr>
166 190
								<td>
167
								
168
									<!-- render people -->
169
									<table class="subGroup subGroup_border">
170
										<tr>
171
											<th>
172
												Owner[s]
173
											</th>
174
										</tr>
175
										<xsl:for-each
176
											select="./param[@name='creator/individualName/surName']">
177
											<tr>
178
												<td>
179
													<xsl:value-of select="." />
180
												</td>
181
											</tr>
182
										</xsl:for-each>
183
									</table>
184
									
191
									<xsl:for-each
192
										select="./param[@name='creator/organizationName']">
193
										<xsl:value-of select="." />
194
										<br/>
195
									</xsl:for-each>
185 196
								</td>
186
								
197
							</tr>
198
							<tr>
187 199
								<td>
188
								
189
									<!-- render orgs -->
190
									<table class="subGroup subGroup_border">
191
										<tr>
192
											<th>
193
												Organizations[s]
194
											</th>
195
										</tr>
196
										<xsl:for-each
197
											select="./param[@name='creator/organizationName']">
198
											<tr>
199
												<td>
200
													<xsl:value-of select="." />
201
												</td>
202
											</tr>
203
										</xsl:for-each>
204
									</table>
205
									
200
									<xsl:for-each
201
										select="./param[@name='keyword']">
202
										<xsl:value-of select="." />
203
										<br/>
204
									</xsl:for-each>
206 205
								</td>
207
								
208
								<td>
209
								
210
									<!-- render keywords -->
211
									<table class="subGroup subGroup_border">
212
										<tr>
213
											<th>
214
												Keyword[s]
215
											</th>
216
										</tr>
217
										<xsl:for-each
218
											select="./param[@name='keyword']">
219
											<tr>
220
												<td>
221
													<xsl:value-of select="." />
222
												</td>
223
											</tr>
224
										</xsl:for-each>
225
									</table>
226
									
227
								</td>
228
							</tr>		
229
						</table>	
206
							</tr>			
207
						</table>
230 208
						
231 209
					</td>
232 210
	
lib/style/skins/semtools/index.jsp
265 265
			// collapsible search results?
266 266
			$(function() {
267 267
				$('.accordian').click(function() {
268
					$(this).next().slideToggle();
268
					$(this).next().slideToggle("slow");
269 269
					return false;
270 270
				}).next().hide();
271 271
			});

Also available in: Unified diff