# HG changeset patch # User Sascha L. Teichmann # Date 1336581169 0 # Node ID 1aa6aec70b97cdd98851b45ff92e7df7357180e2 # Parent 4861ab2c28d23d3f272cf169b72d0f2d1f30f1b1 map print: Simplified config. flys-client/trunk@4366 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 4861ab2c28d2 -r 1aa6aec70b97 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed May 09 16:13:45 2012 +0000 +++ b/flys-client/ChangeLog Wed May 09 16:32:49 2012 +0000 @@ -1,3 +1,7 @@ +2012-05-09 Sascha L. Teichmann + + * src/main/webapp/WEB-INF/config.yaml: Simplified config. Still ugly. + 2012-05-09 Sascha L. Teichmann * src/main/java/de/intevation/flys/client/server/MapPrintServiceImpl.java: diff -r 4861ab2c28d2 -r 1aa6aec70b97 flys-client/src/main/webapp/WEB-INF/config.yaml --- a/flys-client/src/main/webapp/WEB-INF/config.yaml Wed May 09 16:13:45 2012 +0000 +++ b/flys-client/src/main/webapp/WEB-INF/config.yaml Wed May 09 16:32:49 2012 +0000 @@ -120,56 +120,15 @@ spacingAfter: 30 width: 440 height: 483 - - !columns - # columns can have an absolute position. In that case, they need the 3 following fields: - absoluteX: 410 - absoluteY: 310 - width: 100 - items: - - !scalebar - type: bar - maxSize: 100 - barBgColor: white - fontSize: 8 - align: right + - !scalebar + type: bar + maxSize: 100 + barBgColor: white + fontSize: 8 + align: right - !text text: '${comment}' spacingAfter: 30 - - !attributes - source: data - spacingAfter: 30 - columnDefs: - id: - columnWeight: 2 - header: !text - text: ID - backgroundColor: #A0A0A0 - cell: !text - text: '${id}' - name: - columnWeight: 5 - header: !text - text: Name - backgroundColor: #A0A0A0 - cell: !columns - config: - cells: - - backgroundColor: '${nameBackgroundColor}' - borderWidth: 1 - borderColor: '${nameBorderColor}' - items: - - !text - text: '${name}' - icon: - columnWeight: 2 - header: !text - text: Symbol - backgroundColor: #A0A0A0 - cell: !image - align: center - maxWidth: 15 - maxHeight: 15 - url: 'http://www.mapfish.org/svn/mapfish/framework/client/trunk/mfbase/mapfish/img/${icon}.png' - !text font: Helvetica fontSize: 9