Migrate regitration forms to bootstrap

This commit is contained in:
Paulo Gustavo Veiga
2012-05-19 01:58:37 -03:00
parent 95d02a4d25
commit 65e9625867
6 changed files with 86 additions and 174 deletions

View File

@@ -1,48 +1,23 @@
<%@ include file="/jsp/init.jsp" %>
<script type="text/javascript">
if(typeof isOldIE != "undefined"){
window.onload = function() {
var simpleButtonGenerator = RUZEE.ShadedBorder.create({ corner:8, border:1 });
simpleButtonGenerator.render('forgotPasswordContainer');
$('submitButton').onclick = displayLoading;
};
}
</script>
<div id="forgotPasswordContent">
<div id="forgotPasswordContainer" class="sb">
<div>
<div class="fform">
<h1>
<spring:message code="FORGOT_PASSWORD"/>
</h1>
<p><spring:message code="FORGOT_PASSWORD_MESSAGE"/></p>
<h2>
<spring:message code="FORGOT_PASSWORD_MESSAGE"/>
</h2>
<form:form method="post" commandName="forgotPassword">
<table>
<tbody>
<tr>
<td>
<spring:message code="EMAIL"/>:
</td>
<td>
<form:input path="email" id="email" tabindex="1"/>
<form:errors path="email" cssClass="errorMsg"/>
</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn btn-primary"
id="submitButton">
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
onclick="window.location='<c:url value="mymaps.htm"/>'">
</td>
</tr>
</tbody>
</table>
<fieldset>
<label for="email"><spring:message code="EMAIL"/></label>
<form:input path="email" id="email" tabindex="1" type="email" required="required"/>
<form:errors path="email" cssClass="errorMsg"/>
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn btn-primary"/>
<input type="button" value="<spring:message code="CANCEL"/>" class="btn"
onclick="window.location='<c:url value="c/mymaps.htm"/>'"/>
</fieldset>
</form:form>
</div>
</div>