Revision 5589
Added by ben leinfelder about 14 years ago
lib/style/skins/semtools/annotation.xsl | ||
---|---|---|
42 | 42 |
<xsl:template match="/"> |
43 | 43 |
<html> |
44 | 44 |
<head> |
45 |
<title>Search Results</title>
|
|
45 |
<title>Annotation</title>
|
|
46 | 46 |
<link rel="stylesheet" type="text/css" |
47 | 47 |
href="/knb/style/skins/{$qformat}/{$qformat}.css" /> |
48 | 48 |
<script language="Javascript" type="text/JavaScript" |
... | ... | |
58 | 58 |
|
59 | 59 |
<div id="content_wrapper"> |
60 | 60 |
|
61 |
<div class="group group_border"> |
|
62 |
<h3>Annotation</h3> |
|
63 |
</div> |
|
61 | 64 |
<xsl:for-each select="/*[local-name()='annotation']"> |
62 | 65 |
<xsl:call-template name="annotation"/> |
63 | 66 |
</xsl:for-each> |
lib/style/skins/semtools/resultset.xsl | ||
---|---|---|
163 | 163 |
<xsl:text>» </xsl:text> |
164 | 164 |
<xsl:value-of select="./param[@name='dataset/title']"/> |
165 | 165 |
</a> |
166 |
<p> |
|
167 |
<pre>ID: <xsl:value-of select="./docid" /></pre>
|
|
168 |
</p> |
|
166 |
|
|
167 |
<pre>ID: <xsl:value-of select="./docid" /></pre> |
|
168 |
|
|
169 | 169 |
</form> |
170 | 170 |
|
171 | 171 |
<!-- render the annotation --> |
172 |
<xsl:for-each select="./*[local-name()='annotation']"> |
|
173 |
<xsl:call-template name="annotation"> |
|
174 |
<xsl:with-param name="showAll" select="false"/> |
|
175 |
</xsl:call-template> |
|
176 |
</xsl:for-each> |
|
172 |
<div class="subGroup subGroup_border"> |
|
173 |
<xsl:for-each select="./*[local-name()='annotation']"> |
|
174 |
<xsl:call-template name="annotation"> |
|
175 |
<xsl:with-param name="showAll" select="false"/> |
|
176 |
</xsl:call-template> |
|
177 |
</xsl:for-each> |
|
178 |
</div> |
|
177 | 179 |
|
178 | 180 |
</td> |
179 | 181 |
|
lib/style/skins/semtools/annotation-root.xsl | ||
---|---|---|
47 | 47 |
<xsl:template name="annotation"> |
48 | 48 |
<xsl:param name="showAll">true</xsl:param> |
49 | 49 |
<table align="center" border="0" cellpadding="5" cellspacing="0" width="100%"> |
50 |
<tr class="subpanel"> |
|
51 |
<th style="text-align: left" colspan="2">Annotation</th> |
|
52 |
</tr> |
|
53 | 50 |
<tr class="subpanel"> |
54 | 51 |
<td class="text_plain" colspan="2"> |
55 | 52 |
<table> |
56 | 53 |
<tr> |
57 | 54 |
<td class="text_plain"> |
58 |
ID: |
|
55 |
Annotation ID:
|
|
59 | 56 |
</td> |
60 | 57 |
<td class="text_plain"> |
61 | 58 |
<xsl:value-of select="./@id"/> |
Also available in: Unified diff
integrate Annotation in resultset better