[Dive4elements-commits] [PATCH 4 of 5] New theme for bed diameter measurement facets

Wald Commits scm-commit at wald.intevation.org
Mon Jun 10 16:31:27 CEST 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1370874601 -7200
# Node ID b0d4aeba8e3d7cbfedeb370985daf1b016eb7ba4
# Parent  38d6ce2c7164e0a2876efbcd934369bfb6a9e152
New theme for bed diameter measurement facets.

diff -r 38d6ce2c7164 -r b0d4aeba8e3d artifacts/doc/conf/themes.xml
--- a/artifacts/doc/conf/themes.xml	Mon Jun 10 16:28:57 2013 +0200
+++ b/artifacts/doc/conf/themes.xml	Mon Jun 10 16:30:01 2013 +0200
@@ -216,6 +216,8 @@
         <mapping from="bed_longitudinal_section.bed_diameter_toplayer" to="BedDiameterTopLayer" />
         <mapping from="bed_longitudinal_section.bed_diameter_sublayer" to="BedDiameterSubLayer" />
         <mapping from="bed_longitudinal_section.bedload_diameter" to="BedLoadDiameter" />
+        <mapping from="bed_longitudinal_section.bed_diameter_data_top" to="BedDiameterDataTop"/>
+        <mapping from="bed_longitudinal_section.bed_diameter_data_sub" to="BedDiameterDataSub"/>
         <mapping from="bedheight_difference.year" to="BedheightDiffYear"/>
         <mapping from="bedheight_difference.year.filtered" to="BedheightDiffYear"/>
         <mapping from="bedheight_difference.morph_width" to="BedheightDiffMorphWidth"/>
diff -r 38d6ce2c7164 -r b0d4aeba8e3d artifacts/doc/conf/themes/default.xml
--- a/artifacts/doc/conf/themes/default.xml	Mon Jun 10 16:28:57 2013 +0200
+++ b/artifacts/doc/conf/themes/default.xml	Mon Jun 10 16:30:01 2013 +0200
@@ -923,6 +923,29 @@
         </fields>
     </theme>
 
+    <theme name="BedDiameterDataTop">
+        <inherits>
+            <inherit from="LongitudinalSection" />
+        </inherits>
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen" default="false"/>
+            <field name="showpoints" type="boolean" display="Punkte anzeigen" default="true"/>
+            <field name="pointsize" type="int" display="Punktdicke" default="2" />
+            <field name="pointcolor" type="Color" display="Punktfarbe" default="0, 0, 100" />
+        </fields>
+    </theme>
+
+    <theme name="BedDiameterDataSub">
+        <inherits>
+            <inherit from="LongitudinalSection" />
+        </inherits>
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen" default="false"/>
+            <field name="showpoints" type="boolean" display="Punkte anzeigen" default="true"/>
+            <field name="pointsize" type="int" display="Punktdicke" default="2" />
+            <field name="pointcolor" type="Color" display="Punktfarbe" default="0, 0, 100" />
+        </fields>
+    </theme>
     <!-- Bedheight differences -->
     <theme name="BedheightDiffYear">
         <inherits>


More information about the Dive4elements-commits mailing list