Revision 3286
Added by berkley over 17 years ago
lib/style/skins/kepler/resultset.xsl | ||
---|---|---|
278 | 278 |
</td> |
279 | 279 |
|
280 | 280 |
<td class="text_plain"> |
281 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'documentation', $sq, ']/property[@name=', $sq, 'author', $sq, ']/configure')]"/>
|
|
281 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'author', $sq, ']/configure')]"/>
|
|
282 | 282 |
</td> |
283 | 283 |
|
284 | 284 |
<td class="text_plain"> |
285 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'documentation', $sq, ']/property[@name=', $sq, 'version', $sq, ']/configure')]"/>
|
|
285 |
<xsl:value-of select="./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'version', $sq, ']/configure')]"/>
|
|
286 | 286 |
</td> |
287 | 287 |
|
288 | 288 |
<td class="text_plain"> |
... | ... | |
300 | 300 |
<tr> |
301 | 301 |
<td class="text_plain"></td> |
302 | 302 |
<td class="text_plain" colspan="6"> |
303 |
<xsl:variable name="docClip" select="substring(./param[@name=concat('entity/property[@name=', $sq, 'documentation', $sq, ']/property[@name=', $sq, 'description', $sq, ']/configure')], 0, 200)"/>
|
|
303 |
<xsl:variable name="docClip" select="substring(./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure')], 0, 200)"/>
|
|
304 | 304 |
<xsl:value-of select="$docClip"/> |
305 | 305 |
<xsl:text> </xsl:text> |
306 |
<xsl:value-of select="substring(./param[@name=concat('entity/property[@name=', $sq, 'documentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure')], 0, 200 - $docClip)"/> |
|
306 |
<!-- <xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure) > 0"> |
|
307 |
<p><xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure"/></p> |
|
308 |
</xsl:if> --> |
|
309 |
<!-- <xsl:value-of select="substring(./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure')], 0, 200 - $docClip)"/> --> |
|
310 |
<!--<xsl:for-each select="./param[@name=concat('entity/property[@name=', $sq, 'KeplerDocumentation', $sq, ']/property[@name=', $sq, 'userLevelDocumentation', $sq, ']/configure/p')]"> |
|
311 |
<p> |
|
312 |
<xsl:value-of select="."/> |
|
313 |
</p> |
|
314 |
</xsl:for-each>--> |
|
307 | 315 |
<xsl:text>... [</xsl:text> |
308 | 316 |
|
309 | 317 |
<a style="font-size: smaller;"> |
lib/style/skins/kepler/entity.xsl | ||
---|---|---|
110 | 110 |
|
111 | 111 |
<td> |
112 | 112 |
<table cellspacing="0" cellpadding="0"> |
113 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='author']) > 0">
|
|
113 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='author']) > 0">
|
|
114 | 114 |
<tr> |
115 | 115 |
<td style="font-style: italic;"> |
116 | 116 |
Author: |
117 | 117 |
</td> |
118 | 118 |
|
119 | 119 |
<td> |
120 |
<xsl:for-each select="/entity/property[@name='documentation']/property[@name='author']">
|
|
120 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[@name='author']">
|
|
121 | 121 |
<xsl:if test="position() > 1"> |
122 | 122 |
<xsl:text>, </xsl:text> |
123 | 123 |
</xsl:if> |
... | ... | |
128 | 128 |
</tr> |
129 | 129 |
</xsl:if> |
130 | 130 |
|
131 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='version']) > 0">
|
|
131 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='version']) > 0">
|
|
132 | 132 |
<tr> |
133 | 133 |
<td style="font-style: italic;"> |
134 | 134 |
Version: |
135 | 135 |
</td> |
136 | 136 |
|
137 | 137 |
<td> |
138 |
<xsl:value-of select="/entity/property[@name='documentation']/property[@name='version']/configure"/>
|
|
138 |
<xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='version']/configure"/>
|
|
139 | 139 |
</td> |
140 | 140 |
</tr> |
141 | 141 |
</xsl:if> |
... | ... | |
165 | 165 |
</td> |
166 | 166 |
|
167 | 167 |
<td colspan="2"> |
168 |
<xsl:value-of select="/entity/property[@name='documentation']/property[@name='description']/configure"/>
|
|
168 |
<!-- <xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='description']/configure"/> -->
|
|
169 | 169 |
|
170 |
<xsl:if test="count(/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure) > 0">
|
|
171 |
<p><xsl:value-of select="/entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure"/></p>
|
|
170 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure) > 0">
|
|
171 |
<p><xsl:value-of select="/entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure"/></p>
|
|
172 | 172 |
</xsl:if> |
173 | 173 |
</td> |
174 | 174 |
</tr> |
... | ... | |
176 | 176 |
<tr class="top-level"> |
177 | 177 |
<td colspan="3"> |
178 | 178 |
<table cellspacing="0" cellpadding="0"> |
179 |
<xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']) > 0">
|
|
179 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='prop:']) > 0">
|
|
180 | 180 |
<tr> |
181 | 181 |
<td colspan="2"> |
182 | 182 |
<h2>Parameters</h2> |
183 | 183 |
</td> |
184 | 184 |
</tr> |
185 | 185 |
|
186 |
<xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='prop:']">
|
|
186 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='prop:']">
|
|
187 | 187 |
<tr> |
188 | 188 |
<td style="font-style: italic;"> |
189 | 189 |
<xsl:value-of select="substring(@name, 6)"/> |
... | ... | |
196 | 196 |
</xsl:for-each> |
197 | 197 |
</xsl:if> |
198 | 198 |
|
199 |
<xsl:if test="count(/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']) > 0">
|
|
199 |
<xsl:if test="count(/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='port:']) > 0">
|
|
200 | 200 |
<tr> |
201 | 201 |
<td colspan="2"> |
202 | 202 |
<h2>Ports</h2> |
203 | 203 |
</td> |
204 | 204 |
</tr> |
205 | 205 |
|
206 |
<xsl:for-each select="/entity/property[@name='documentation']/property[substring(@name, 1, 5)='port:']">
|
|
206 |
<xsl:for-each select="/entity/property[@name='KeplerDocumentation']/property[substring(@name, 1, 5)='port:']">
|
|
207 | 207 |
<tr> |
208 | 208 |
<td style="font-style: italic;"> |
209 | 209 |
<xsl:value-of select="substring(@name, 6)"/> |
lib/style/skins/kepler/index.html | ||
---|---|---|
67 | 67 |
<input name="pagestart" value="0" type="hidden"> |
68 | 68 |
<input name="returnfield" value="entity/@name" type="hidden"> |
69 | 69 |
<input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden"> |
70 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='author']/configure" type="hidden">
|
|
71 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='version']/configure" type="hidden">
|
|
72 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='description']/configure" type="hidden">
|
|
73 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
70 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
|
|
71 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
|
|
72 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
|
|
73 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
74 | 74 |
<input name="returndoctype" value="entity" type="hidden"> |
75 | 75 |
<input value="Search" type="submit"> |
76 | 76 |
</form> |
... | ... | |
82 | 82 |
</menu> |
83 | 83 |
<p> </p> |
84 | 84 |
<li> |
85 |
<a href="@servlet-path@?action=query&qformat=kepler&enableediting=false&operator=UNION&returnfield=entity%2F%40name&returnfield=entity%2Fproperty%5B%40name%3D%27karId%27%5D%2F%40value&returnfield=entity%2Fproperty%5B%40name%3D%27documentation%27%5D%2Fproperty%5B%40name%3D%27author%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27documentation%27%5D%2Fproperty%5B%40name%3D%27version%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27documentation%27%5D%2Fproperty%5B%40name%3D%27description%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27documentation%27%5D%2Fproperty%5B%40name%3D%27userLevelDocumentation%27%5D%2Fconfigure&returndoctype=entity&pagestart=0&pagesize=10">Browse existing Kepler analytical components</a>
|
|
85 |
<a href="@servlet-path@?action=query&qformat=kepler&enableediting=false&operator=UNION&returnfield=entity%2F%40name&returnfield=entity%2Fproperty%5B%40name%3D%27karId%27%5D%2F%40value&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27author%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27version%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27description%27%5D%2Fconfigure&returnfield=entity%2Fproperty%5B%40name%3D%27KeplerDocumentation%27%5D%2Fproperty%5B%40name%3D%27userLevelDocumentation%27%5D%2Fconfigure&returndoctype=entity&pagestart=0&pagesize=10">Browse existing Kepler analytical components</a>
|
|
86 | 86 |
<br /> |
87 | 87 |
<menu> |
88 | 88 |
Browse all existing data sets by title. This operation can slow as the |
lib/style/skins/kepler/header.html | ||
---|---|---|
63 | 63 |
<input name="enableediting" value="false" type="hidden"> |
64 | 64 |
<input name="operator" value="UNION" type="hidden"> |
65 | 65 |
<input name="returnfield" value="entity/@name" type="hidden"> |
66 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='author']/configure" type="hidden">
|
|
66 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
|
|
67 | 67 |
<input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden"> |
68 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='version']/configure" type="hidden">
|
|
69 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='description']/configure" type="hidden">
|
|
70 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
68 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
|
|
69 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
|
|
70 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
71 | 71 |
<input name="returndoctype" value="entity" type="hidden"> |
72 | 72 |
<input name="pagestart" value="0" type="hidden"> |
73 | 73 |
<input name="pagesize" value="10" type="hidden"> |
lib/style/skins/kepler/searchform.html | ||
---|---|---|
7 | 7 |
<input name="enableediting" value="false" type="hidden"> |
8 | 8 |
<input name="operator" value="UNION" type="hidden"> |
9 | 9 |
<input name="returnfield" value="entity/@name" type="hidden"> |
10 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='author']/configure" type="hidden">
|
|
10 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='author']/configure" type="hidden">
|
|
11 | 11 |
<input name="returnfield" value="entity/property[@name='karId']/@value" type="hidden"> |
12 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='version']/configure" type="hidden">
|
|
13 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='description']/configure" type="hidden">
|
|
14 |
<input name="returnfield" value="entity/property[@name='documentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
12 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='version']/configure" type="hidden">
|
|
13 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='description']/configure" type="hidden">
|
|
14 |
<input name="returnfield" value="entity/property[@name='KeplerDocumentation']/property[@name='userLevelDocumentation']/configure" type="hidden">
|
|
15 | 15 |
<input name="returndoctype" value="entity" type="hidden"> |
16 | 16 |
<input name="pagestart" value="0" type="hidden"> |
17 | 17 |
<input name="pagesize" value="10" type="hidden"> |
Also available in: Unified diff
changed web site to use new documentation paths. this break a lot of stuff because metacat won't return the subelements of an xpath query. this will have to be fixed through metacat