comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 694:271ec4d11a9f

Changed the whole design of the application regarding the bsh styleguide. gnv/trunk@925 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 13 Apr 2010 16:44:30 +0000
parents f3f433053bdd
children 5c36da3d9e17
comparison
equal deleted inserted replaced
693:d4d1eb56d725 694:271ec4d11a9f
22 <!-- multi select --> 22 <!-- multi select -->
23 <xsl:template match="xform:select"> 23 <xsl:template match="xform:select">
24 <xsl:variable name="selectName" select="@ref"/> 24 <xsl:variable name="selectName" select="@ref"/>
25 <xsl:variable name="items" select="count(//xform:item)"/> 25 <xsl:variable name="items" select="count(//xform:item)"/>
26 26
27 <legend><xsl:value-of select="xform:label"/></legend>
28 <xsl:choose> 27 <xsl:choose>
29 <xsl:when test="$items = 1"> 28 <xsl:when test="$items = 1">
30 <select name="{$selectName}" multiple="multiple" size="{$items}"> 29 <select name="{$selectName}" multiple="multiple" size="{$items}">
31 <xsl:apply-templates mode="selected"/> 30 <xsl:apply-templates mode="selected"/>
32 </select> 31 </select>
163 </xsl:choose> 162 </xsl:choose>
164 163
165 <tr> 164 <tr>
166 <xsl:choose> 165 <xsl:choose>
167 <xsl:when test="$label != ''"> 166 <xsl:when test="$label != ''">
168 <td><xsl:value-of select="$label"/>:</td> 167 <td class="parameter"><xsl:value-of select="$label"/>:</td>
169 </xsl:when> 168 </xsl:when>
170 </xsl:choose> 169 </xsl:choose>
171 170
172 <td> 171 <td>
173 <input type="text" id="{$inputName}" name="{$inputName}" value="{$inputValue}" /><br/> 172 <input type="text" id="{$inputName}" name="{$inputName}" value="{$inputValue}" /><br/>

http://dive4elements.wald.intevation.org