diff gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 17:d7e5a929fc34

Some Stylingimprovements done gnv/trunk@100 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 16 Sep 2009 14:55:54 +0000
parents 2535158e2687
children 87002cbd194c
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl	Wed Sep 16 14:02:29 2009 +0000
+++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl	Wed Sep 16 14:55:54 2009 +0000
@@ -11,11 +11,13 @@
     </xsl:template>
     <xsl:template match="*[local-name() = 'select']">
         <xsl:variable name="selectName" select="@ref"/>
-        <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select>
+	                <legend><xsl:value-of select="@ref"/></legend>
+	                <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select>
     </xsl:template>
     <xsl:template match="*[local-name() = 'select1']">
         <xsl:variable name="selectName" select="@ref"/>
-        <select name="{$selectName}"> <xsl:apply-templates/></select>
+                    <legend><xsl:value-of select="@ref"/></legend>
+                    <select name="{$selectName}"> <xsl:apply-templates/></select>
     </xsl:template>
     <xsl:template match="*[local-name() = 'item']">
         <xsl:variable name="optionValue" select="*[local-name() = 'value']"/>

http://dive4elements.wald.intevation.org