Mercurial > dive4elements > gnv-client
diff gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 695:883b366e3b15
Replaced buttons for saving/loading projects with links.
gnv/trunk@926 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 13 Apr 2010 17:22:49 +0000 |
parents | 271ec4d11a9f |
children | ae1e616ecf94 |
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Tue Apr 13 16:44:30 2010 +0000 +++ b/gnv/src/main/webapp/WEB-INF/jsp/index.jsp Tue Apr 13 17:22:49 2010 +0000 @@ -42,18 +42,20 @@ <%-- div container for project loading/saving and error messages related to this --%> <div id="project"> - <table> + <table width="100%"> <tr> - <td> - <form id="storeProject" action="<%=response.encodeURL("store.do")%>" method="post"> - <input type="submit" name="storeProject" value="<bean:message key="gnviewer.project.save"/>"/> - </form> + <td style="float: left; width: 225px;"> + <a href="<%=response.encodeURL("store.do")%>"><bean:message key="gnviewer.project.save"/></a> + | + <a href="#" onclick="toggle('projectload');"><bean:message key="gnviewer.project.load"/></a> </td> - <td> - <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data"> - <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load"/>"/> - <input type="file" name="document" accept="application/xml"/> - </form> + <td style="float: left; width: 400px;"> + <div id="projectload"> + <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data"> + <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load.button"/>"/> + <input type="file" name="document" accept="application/xml"/> + </form> + </div> </td> </tr> </table>