comparison flys-client/src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl @ 3359:7b601099db10

FixA: Overview: Added legend at bottom of overview table. flys-client/trunk@5046 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 18 Jul 2012 17:05:02 +0000
parents 6d96443ed6e6
children 89df168f289c
comparison
equal deleted inserted replaced
3358:65b71ddc7716 3359:7b601099db10
118 <xsl:text>km </xsl:text> 118 <xsl:text>km </xsl:text>
119 <xsl:value-of select="@from"/> 119 <xsl:value-of select="@from"/>
120 <xsl:text> - </xsl:text> 120 <xsl:text> - </xsl:text>
121 <xsl:value-of select="@to"/> 121 <xsl:value-of select="@to"/>
122 <xsl:choose> 122 <xsl:choose>
123 <xsl:when test="@class = '0'"> / Q &#8712; [0, (MNQ+MQ)/2) </xsl:when> 123 <xsl:when test="@class = '0'"> / Q um MNQ</xsl:when>
124 <xsl:when test="@class = '1'"> / Q &#8712; [(MNQ+MQ)/2, (MQ+MHQ)/2)</xsl:when> 124 <xsl:when test="@class = '1'"> / Q um MQ</xsl:when>
125 <xsl:when test="@class = '2'"> / Q &#8712; [(MQ+MHQ)/2, HQ5)</xsl:when> 125 <xsl:when test="@class = '2'"> / Q um MHQ</xsl:when>
126 <xsl:when test="@class = '3'"> / Q &#8712; [HQ5, &#8734;)</xsl:when> 126 <xsl:when test="@class = '3'"> / Q über HQ5</xsl:when>
127 </xsl:choose> 127 </xsl:choose>
128 </xsl:attribute> 128 </xsl:attribute>
129 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text> 129 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
130 </div> 130 </div>
131 </xsl:template> 131 </xsl:template>
168 </table> 168 </table>
169 </xsl:template> 169 </xsl:template>
170 170
171 <xsl:template match="/"> 171 <xsl:template match="/">
172 <xsl:apply-templates/> 172 <xsl:apply-templates/>
173 <hr/>
174 <table border="1" cellspacing="0" cellpadding="0">
175 <caption>Legende</caption>
176 <tr>
177 <th>Farbe</th>
178 <th colspan="2">Bedeutung</th>
179 </tr>
180 <tr>
181 <td style="background: green">&#160;</td>
182 <td>um MNQ</td>
183 <td>Q &#8712; [0, (MNQ+MQ)/2)</td>
184 </tr>
185 <tr>
186 <td style="background: blue">&#160;</td>
187 <td>um MQ</td>
188 <td>Q &#8712; [(MNQ+MQ)/2, (MQ+MHQ)/2)</td>
189 </tr>
190 <tr>
191 <td style="background: magenta">&#160;</td>
192 <td>um MHQ</td>
193 <td>Q &#8712; [(MQ+MHQ)/2, HQ5)</td>
194 </tr>
195 <tr>
196 <td style="background: red">&#160;</td>
197 <td>über HQ5</td>
198 <td>Q &#8712; [HQ5, &#8734;)</td>
199 </tr>
200 </table>
173 </xsl:template> 201 </xsl:template>
174 202
175 <xsl:template match="text()"/> 203 <xsl:template match="text()"/>
176 <xsl:template match="text()" mode="sectors"/> 204 <xsl:template match="text()" mode="sectors"/>
177 205

http://dive4elements.wald.intevation.org