# HG changeset patch # User Ingo Weinzierl # Date 1264431218 0 # Node ID 0ce07c6e132cf9e9fa438948f0c2a94975e568e2 # Parent 49898531c0b6178924f1370b47d0bf9b646f2648 Refactored xsl sheet for ui's dynamic part: Removed local-name() method, put 'group' items into a table to be well aligned and set the size of multi select boxes to max 5 items or less. gnv/trunk@621 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 49898531c0b6 -r 0ce07c6e132c gnv/ChangeLog --- a/gnv/ChangeLog Fri Jan 22 17:54:55 2010 +0000 +++ b/gnv/ChangeLog Mon Jan 25 14:53:38 2010 +0000 @@ -1,3 +1,16 @@ +2010-01-25 Ingo Weinzierl + + * src/main/webapp/styles/default.css: Added a class for dynamic tables + - enabled input fields - to adjust font size of input fields. + + * src/main/webapp/WEB-INF/config/templates/describe-ui.xsl: Removed + local-name() method, inserted a table for 'group' items (like input fields + of dates) and resized the height of multi select boxes - max 5 items or + less. + + * src/main/webapp/WEB-INF/jsp/index.jsp: Removed a typo which made the html + output invalid. + 2010-01-22 Ingo Weinzierl * src/main/webapp/WEB-INF/jsp/includes/display_export_inc.jsp: Add width, diff -r 49898531c0b6 -r 0ce07c6e132c gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl --- a/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Fri Jan 22 17:54:55 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl Mon Jan 25 14:53:38 2010 +0000 @@ -3,44 +3,77 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2002/xforms" xmlns:xform="http://www.w3.org/2002/xforms" - xmlns:art="http://www.intevation.de/2009/artifacts"> - - - - - - -
-    
- + xmlns:art="http://www.intevation.de/2009/artifacts" + exclude-result-prefixes="xform art"> + + + + + - - -
-    
- - + + + + + + + + + + + - - - - - - + + + + + + - - - - - -     - - - + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + - + Beispiel WKT-Linestring einfügen:
@@ -50,15 +83,22 @@
- - - : - - + + + + : + + -
+ +
+ +
- - + + + + + diff -r 49898531c0b6 -r 0ce07c6e132c gnv/src/main/webapp/WEB-INF/jsp/index.jsp --- a/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Fri Jan 22 17:54:55 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Mon Jan 25 14:53:38 2010 +0000 @@ -29,7 +29,7 @@ <%-- render the dynamic part to feed the state and advance to the next state --%> <%if (ui != null){%>
-
") method="post"> + " method="post">
<%=ui != null ? ui.toString().replaceAll(" ", "") : "" %> diff -r 49898531c0b6 -r 0ce07c6e132c gnv/src/main/webapp/styles/default.css --- a/gnv/src/main/webapp/styles/default.css Fri Jan 22 17:54:55 2010 +0000 +++ b/gnv/src/main/webapp/styles/default.css Mon Jan 25 14:53:38 2010 +0000 @@ -87,6 +87,10 @@ font-size: 0.7em; } +table.dynamic { + font-size: 1.2em; +} + table.static { margin: 0 0 0 0; width: 293px;