Mercurial > dive4elements > gnv-client
annotate 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 |
rev | line source |
---|---|
11
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 <xsl:stylesheet version="1.0" |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 xmlns="http://www.w3.org/2002/xforms" |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 xmlns:xform="http://www.w3.org/2002/xforms" |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 xmlns:art="http://www.intevation.de/2009/artifacts"> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 <xsl:output method="html" version="1.0" encoding="UTF-8" omit-xml-declaration="no"/> |
12
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
8 |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
9 <xsl:template match="*[local-name() = 'ui']"> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
10 <xsl:apply-templates/> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
11 </xsl:template> |
11
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 <xsl:template match="*[local-name() = 'select']"> |
12
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
13 <xsl:variable name="selectName" select="@ref"/> |
17
d7e5a929fc34
Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents:
13
diff
changeset
|
14 <legend><xsl:value-of select="@ref"/></legend> |
d7e5a929fc34
Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents:
13
diff
changeset
|
15 <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select> |
13
2535158e2687
Chartoutput Added to the View
Tim Englich <tim.englich@intevation.de>
parents:
12
diff
changeset
|
16 </xsl:template> |
2535158e2687
Chartoutput Added to the View
Tim Englich <tim.englich@intevation.de>
parents:
12
diff
changeset
|
17 <xsl:template match="*[local-name() = 'select1']"> |
2535158e2687
Chartoutput Added to the View
Tim Englich <tim.englich@intevation.de>
parents:
12
diff
changeset
|
18 <xsl:variable name="selectName" select="@ref"/> |
17
d7e5a929fc34
Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents:
13
diff
changeset
|
19 <legend><xsl:value-of select="@ref"/></legend> |
d7e5a929fc34
Some Stylingimprovements done
Tim Englich <tim.englich@intevation.de>
parents:
13
diff
changeset
|
20 <select name="{$selectName}"> <xsl:apply-templates/></select> |
11
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 </xsl:template> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 <xsl:template match="*[local-name() = 'item']"> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 <xsl:variable name="optionValue" select="*[local-name() = 'value']"/> |
12
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
24 <option value="{$optionValue}"><xsl:value-of select="*[local-name() = 'label']"></xsl:value-of></option> |
11
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 </xsl:template> |
12
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
26 |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
27 |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
28 <xsl:template match="*[local-name() = 'input']"> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
29 <xsl:variable name="inputValue" select="*[local-name() = 'value']"/> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
30 <xsl:variable name="inputName" select="*[local-name() = 'label']"/> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
31 <xsl:value-of select="*[local-name() = 'label']"/>: <input type="text" id="{$inputName}" name="{$inputName}" value="{$inputValue}" /><br/> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
32 </xsl:template> |
4ebe57b170d3
Integration of moving through the Artifact-States and rendering the UI.
Tim Englich <tim.englich@intevation.de>
parents:
11
diff
changeset
|
33 |
11
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 <xsl:template match="*[local-name() = 'label']"> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 </xsl:template> |
3cb753564552
Integration of the required XSL-Transformation of the Describe-Response of the Artifactdatabase
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 </xsl:stylesheet> |