# HG changeset patch # User Ingo Weinzierl # Date 1272034072 0 # Node ID 7448b6f5f1ed52e3c42bdcf0c37e15cb615539d5 # Parent cb1bae26e7ae757cacf4e152a481a1752a31999c Replaced standard html input button with a load image like the choose buttons (issue225). gnv/trunk@978 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/ChangeLog --- a/gnv/ChangeLog Fri Apr 23 13:22:12 2010 +0000 +++ b/gnv/ChangeLog Fri Apr 23 14:47:52 2010 +0000 @@ -1,3 +1,21 @@ +2010-04-23 Ingo Weinzierl + + Issue225 + + * src/main/webapp/WEB-INF/jsp/index.jsp: Replaced the standard html input + button with an image as the choose button. + + * src/main/resources/applicationMessages.properties, + src/main/resources/applicationMessages_en.properties: Added specific + strings that represent pathes to german and english load button images. + + * src/main/webapp/styles/default.css: New styles to adjust the upload box + and the load button. + + + * src/main/webapp/images/load.png, + src/main/webapp/images/laden.png: Images for project load button. + 2010-04-23 Ingo Weinzierl Issue237 diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/resources/applicationMessages.properties --- a/gnv/src/main/resources/applicationMessages.properties Fri Apr 23 13:22:12 2010 +0000 +++ b/gnv/src/main/resources/applicationMessages.properties Fri Apr 23 14:47:52 2010 +0000 @@ -16,7 +16,7 @@ gnviewer.project.save = Projekt speichern gnviewer.project.load = Projekt laden -gnviewer.project.load.button = Laden +gnviewer.project.load.button.src = ./images/laden.png gnviewer.history.title=\u00dcberblick gnviewer.history.back.button=Bearbeiten diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/resources/applicationMessages_en.properties --- a/gnv/src/main/resources/applicationMessages_en.properties Fri Apr 23 13:22:12 2010 +0000 +++ b/gnv/src/main/resources/applicationMessages_en.properties Fri Apr 23 14:47:52 2010 +0000 @@ -19,7 +19,7 @@ gnviewer.project.save = Save Project gnviewer.project.load = Load Project -gnviewer.project.load.button = Load +gnviewer.project.load.button.src = ./images/load.png gnviewer.fis.fis_marnet = Marnet gnviewer.fis.fis_imis = IMIS diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/webapp/WEB-INF/jsp/index.jsp --- a/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Fri Apr 23 13:22:12 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Fri Apr 23 14:47:52 2010 +0000 @@ -52,8 +52,8 @@
" method="post" enctype="multipart/form-data"> - "/> - +
+
"/>
diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/webapp/images/laden.png Binary file gnv/src/main/webapp/images/laden.png has changed diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/webapp/images/load.png Binary file gnv/src/main/webapp/images/load.png has changed diff -r cb1bae26e7ae -r 7448b6f5f1ed gnv/src/main/webapp/styles/default.css --- a/gnv/src/main/webapp/styles/default.css Fri Apr 23 13:22:12 2010 +0000 +++ b/gnv/src/main/webapp/styles/default.css Fri Apr 23 14:47:52 2010 +0000 @@ -66,6 +66,16 @@ padding: 0; } +#browseDiv { + float: left; + margin-top: 1px; +} + +#loadDiv { + float: right; + margin-left: 5px; +} + p, li, dl, input, select, address, legend, label, fieldset span { font-size: 0.7em; }