mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
Improve import layout.
This commit is contained in:
parent
fc1ee1ff2e
commit
a832d72bac
@ -163,7 +163,7 @@
|
|||||||
<definition name="importMap" extends="pageTemplate">
|
<definition name="importMap" extends="pageTemplate">
|
||||||
<put name="title" value="IMPORT_MINDMAP"/>
|
<put name="title" value="IMPORT_MINDMAP"/>
|
||||||
<put name="details" value="IMPORT_MINDMAP_INFO"/>
|
<put name="details" value="IMPORT_MINDMAP_INFO"/>
|
||||||
<put name="body" value="/jsp/mindmapImportError.jsp"/>
|
<put name="body" value="/jsp/mindmapImport.jsp"/>
|
||||||
</definition>
|
</definition>
|
||||||
|
|
||||||
<definition name="activationAccountConfirmation" extends="pageTemplate">
|
<definition name="activationAccountConfirmation" extends="pageTemplate">
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
|
|
||||||
<form action="<c:url value='/c/j_spring_security_check'/>" method="POST">
|
<form action="<c:url value='/c/j_spring_security_check'/>" method="POST">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="email">
|
<label for="email"><spring:message code="EMAIL"/></label>
|
||||||
<spring:message code="EMAIL"/>
|
|
||||||
<input type='email' tabindex="1" id="email" name='j_username' required="required"/>
|
<input type='email' tabindex="1" id="email" name='j_username' required="required"/>
|
||||||
|
|
||||||
<label for="password"><spring:message code="PASSWORD"/></label>
|
<label for="password"><spring:message code="PASSWORD"/></label>
|
||||||
|
@ -1,43 +1,29 @@
|
|||||||
<%@ include file="/jsp/init.jsp" %>
|
<%@ include file="/jsp/init.jsp" %>
|
||||||
<div id="importContainer">
|
|
||||||
|
<div class="fform">
|
||||||
|
<h1>
|
||||||
|
<spring:message code="${requestScope.title}"/>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<p><spring:message code="${requestScope.details}"/></p>
|
||||||
<form:form method="post" commandName="importMap" enctype="multipart/form-data">
|
<form:form method="post" commandName="importMap" enctype="multipart/form-data">
|
||||||
<table>
|
<fieldset>
|
||||||
<tr>
|
<label for="title"><spring:message code="NAME"/></label>
|
||||||
<td class="formLabel">
|
<form:input path="title" id="title" tabindex="1" required="required"/>
|
||||||
<spring:message code="NAME"/>:
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<form:input path="title" id="title" tabindex="1"/>
|
|
||||||
<form:errors path="title" cssClass="errorMsg"/>
|
<form:errors path="title" cssClass="errorMsg"/>
|
||||||
</td>
|
|
||||||
</tr>
|
<label for="title"><spring:message code="DESCRIPTION"/></label>
|
||||||
<tr>
|
|
||||||
<td class="formLabel">
|
|
||||||
<spring:message code="DESCRIPTION"/>:
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<form:input path="description" id="description" tabindex="2"/>
|
<form:input path="description" id="description" tabindex="2"/>
|
||||||
<form:errors path="description" cssClass="errorMsg"/>
|
<form:errors path="description" cssClass="errorMsg"/>
|
||||||
</td>
|
|
||||||
</tr>
|
<label for="mapFile"><spring:message code="FREE_MIND_FILE"/></label>
|
||||||
<tr>
|
<input type="file" name="mapFile" id="mapFile"/>
|
||||||
<td class="formLabel">
|
|
||||||
<span class="fieldRequired">*</span>
|
|
||||||
<spring:message code="FREE_MIND_FILE"/>:
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<input type="file" name="mapFile"/>
|
|
||||||
<form:errors path="mapFile" cssClass="errorMsg"/>
|
<form:errors path="mapFile" cssClass="errorMsg"/>
|
||||||
</td>
|
</fieldset>
|
||||||
</tr>
|
|
||||||
<tr>
|
<input type="submit" value="<spring:message code="IMPORT"/>" class="btn btn-primary"/>
|
||||||
<td> </td>
|
|
||||||
<td>
|
|
||||||
<input type="submit" value="<spring:message code="IMPORT"/>" class="btn btn-primary">
|
|
||||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
|
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
|
||||||
onclick="window.location='/c/mymaps.htm'">
|
onclick="window.location='/c/mymaps.htm'">
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</form:form>
|
</form:form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
<%@ include file="/jsp/init.jsp" %>
|
|
||||||
|
|
||||||
<h1>
|
|
||||||
<spring:message code="${requestScope.title}"/>
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
<p style="font-weight:bold;">
|
|
||||||
<spring:message code="${requestScope.details}"/>
|
|
||||||
</p>
|
|
||||||
<jsp:include page="/jsp/mindmapImport.jsp"/>
|
|
Loading…
Reference in New Issue
Block a user