Mercurial > dive4elements > gnv-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
694:271ec4d11a9f | 695:883b366e3b15 |
---|---|
40 exceptionProject = exceptionProject != null ? exceptionProject.replaceAll(" ", ".") : null; | 40 exceptionProject = exceptionProject != null ? exceptionProject.replaceAll(" ", ".") : null; |
41 %> | 41 %> |
42 | 42 |
43 <%-- div container for project loading/saving and error messages related to this --%> | 43 <%-- div container for project loading/saving and error messages related to this --%> |
44 <div id="project"> | 44 <div id="project"> |
45 <table> | 45 <table width="100%"> |
46 <tr> | 46 <tr> |
47 <td> | 47 <td style="float: left; width: 225px;"> |
48 <form id="storeProject" action="<%=response.encodeURL("store.do")%>" method="post"> | 48 <a href="<%=response.encodeURL("store.do")%>"><bean:message key="gnviewer.project.save"/></a> |
49 <input type="submit" name="storeProject" value="<bean:message key="gnviewer.project.save"/>"/> | 49 | |
50 </form> | 50 <a href="#" onclick="toggle('projectload');"><bean:message key="gnviewer.project.load"/></a> |
51 </td> | 51 </td> |
52 <td> | 52 <td style="float: left; width: 400px;"> |
53 <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data"> | 53 <div id="projectload"> |
54 <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load"/>"/> | 54 <form id="loadProject" action="<%=response.encodeURL("load.do")%>" method="post" enctype="multipart/form-data"> |
55 <input type="file" name="document" accept="application/xml"/> | 55 <input type="submit" name="loadProject" value="<bean:message key="gnviewer.project.load.button"/>"/> |
56 </form> | 56 <input type="file" name="document" accept="application/xml"/> |
57 </form> | |
58 </div> | |
57 </td> | 59 </td> |
58 </tr> | 60 </tr> |
59 </table> | 61 </table> |
60 <%if (exceptionProject != null) {%> | 62 <%if (exceptionProject != null) {%> |
61 <div class="projectException"> | 63 <div class="projectException"> |