changeset 5161:a8d8ea1f2a5c

flys/issue1145: Add missing Area styles.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 01 Mar 2013 17:11:08 +0100
parents 0dae9e77c5da
children 94c3eb995bf6
files flys-artifacts/doc/conf/themes.xml flys-artifacts/doc/conf/themes/default/cross-section.xml flys-artifacts/doc/conf/themes/default/general.xml flys-artifacts/doc/conf/themes/default/longitudinal-section.xml flys-artifacts/doc/conf/themes/second/cross-section.xml flys-artifacts/doc/conf/themes/second/general.xml flys-artifacts/doc/conf/themes/second/longitudinal-section.xml
diffstat 7 files changed, 106 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/themes.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -219,9 +219,9 @@
         <mapping from="other.wqkms.q" to="WQKms" />
         <mapping from="heightmarks_points" to="heightmarks_points" />
         <mapping from="area" to="Area" />
-        <mapping from="cross_section.area" to="Area" />
+        <mapping from="cross_section.area" to="CrossSectionArea" />
         <mapping from="hyk" to="Hyk" />
-        <mapping from="longitudinal_section.area" to="Area" />
+        <mapping from="longitudinal_section.area" to="LongitudinalSectionArea" />
         <mapping from="longitudinal_section.manualpoints" to="ManualPoints" />
         <mapping from="cross_section.manualpoints" to="ManualPoints" />
         <mapping from="cross_section.manualline" to="CrossSectionWaterLine" />
--- a/flys-artifacts/doc/conf/themes/default/cross-section.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/default/cross-section.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -48,4 +48,22 @@
                 default="true" />
         </fields>
     </theme>
+
+    <theme name="CrossSectionArea">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 <!--/themegroup-->
--- a/flys-artifacts/doc/conf/themes/default/general.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/default/general.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -124,5 +124,22 @@
         </fields>
     </theme>
 
+    <theme name="Area">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 
 <!--/themegroup-->
--- a/flys-artifacts/doc/conf/themes/default/longitudinal-section.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/default/longitudinal-section.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -925,5 +925,21 @@
         </fields>
     </theme>
 
-
+    <theme name="LongitudinalSectionArea">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 <!--/themegroup>-->
--- a/flys-artifacts/doc/conf/themes/second/cross-section.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/second/cross-section.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -48,4 +48,22 @@
                 default="true" />
         </fields>
     </theme>
+
+    <theme name="CrossSectionArea">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 <!--/themegroup-->
--- a/flys-artifacts/doc/conf/themes/second/general.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/second/general.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -124,5 +124,22 @@
         </fields>
     </theme>
 
+    <theme name="Area">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 
 <!--/themegroup-->
--- a/flys-artifacts/doc/conf/themes/second/longitudinal-section.xml	Fri Mar 01 13:51:45 2013 +0100
+++ b/flys-artifacts/doc/conf/themes/second/longitudinal-section.xml	Fri Mar 01 17:11:08 2013 +0100
@@ -925,5 +925,21 @@
         </fields>
     </theme>
 
-
+    <theme name="LongitudinalSectionArea">
+        <inherits>
+            <inherit from="Areas" />
+        </inherits>
+        <fields>
+            <field name="areashowbg" type="boolean" display="Hintergrund anzeigen"
+                default="true" hints="hidden" />
+            <field name="areashowborder" type="boolean" display="Begrenzung"
+                default="false" hints="hidden" />
+            <field name="areabordercolor" type="Color" default="0, 0, 0"
+                display="Begrenzungslinienfarbe" hints="hidden" />
+            <field name="showarea" type="boolean" display="Flaeche anzeigen"
+              default="true" hints="hidden" />
+            <field name="showarealabel" type="boolean"
+                display="Flächenbeschriftung anzeigen" default="false" hints="hidden" />
+        </fields>
+    </theme>
 <!--/themegroup>-->

http://dive4elements.wald.intevation.org