- Fix layout

This commit is contained in:
Paulo Gustavo Veiga 2012-09-15 12:59:56 -03:00
parent 15e03c690f
commit f1c9c95ed5
3 changed files with 44 additions and 45 deletions

View File

@ -102,9 +102,6 @@ div#headerButtons activelink a, div#headerButtons activelink a:hover {
#footer { #footer {
border-top: 1px black solid; border-top: 1px black solid;
padding-top: 15px; padding-top: 15px;
position: absolute;
bottom: 0;
left: 0;
width: 100%; width: 100%;
background: #ffffff; background: #ffffff;
} }

View File

@ -3,6 +3,9 @@
@import "pageHeaders.css"; @import "pageHeaders.css";
html, body {
height: 100%;
}
div#register { div#register {
margin: 40px auto; margin: 40px auto;
@ -30,7 +33,7 @@ div.pageBodyContent ol li {
div.pageBody { div.pageBody {
min-height: 500px; min-height: 80%;
} }
div.pageBodyContent { div.pageBodyContent {

View File

@ -1,57 +1,56 @@
<%@page pageEncoding="UTF-8" %> <%@page pageEncoding="UTF-8" %>
<%@include file="/jsp/init.jsp" %> <%@include file="/jsp/init.jsp" %>
<div> <div class="fform">
<div class="fform">
<h1><spring:message code="USER_REGISTRATION"/></h1> <h1><spring:message code="USER_REGISTRATION"/></h1>
<p><spring:message code="REGISTRATION_TITLE_MSG"/></p> <p><spring:message code="REGISTRATION_TITLE_MSG"/></p>
<form:form method="post" commandName="user"> <form:form method="post" commandName="user">
<fieldset> <fieldset>
<label for="email"><spring:message code="EMAIL"/></label> <label for="email"><spring:message code="EMAIL"/></label>
<form:input path="email" id="email" type="email" required="required"/> <form:input path="email" id="email" type="email" required="required"/>
<form:errors path="email" cssClass="errorMsg"/> <form:errors path="email" cssClass="errorMsg"/>
<label for="firstname"><spring:message code="FIRSTNAME"/></label> <label for="firstname"><spring:message code="FIRSTNAME"/></label>
<form:input path="firstname" id="firstname" required="required"/> <form:input path="firstname" id="firstname" required="required"/>
<form:errors path="firstname" cssClass="errorMsg"/> <form:errors path="firstname" cssClass="errorMsg"/>
<label for="lastname"><spring:message code="LASTNAME"/></label> <label for="lastname"><spring:message code="LASTNAME"/></label>
<form:input path="lastname" id="lastname" required="required"/> <form:input path="lastname" id="lastname" required="required"/>
<form:errors path="lastname" cssClass="errorMsg"/> <form:errors path="lastname" cssClass="errorMsg"/>
<label for="password"><spring:message code="PASSWORD"/></label> <label for="password"><spring:message code="PASSWORD"/></label>
<form:password path="password" id="password" required="required"/> <form:password path="password" id="password" required="required"/>
<form:errors path="password" cssClass="errorMsg"/> <form:errors path="password" cssClass="errorMsg"/>
<label for="retypePassword"><spring:message code="RETYPE_PASSWORD"/></label> <label for="retypePassword"><spring:message code="RETYPE_PASSWORD"/></label>
<form:password path="retypePassword" id="retypePassword"/> <form:password path="retypePassword" id="retypePassword"/>
<form:errors path="retypePassword" cssClass="errorMsg"/> <form:errors path="retypePassword" cssClass="errorMsg"/>
<c:if test="${requestScope.captchaEnabled}"> <c:if test="${requestScope.captchaEnabled}">
${requestScope.captchaHtml} ${requestScope.captchaHtml}
<p>
<form:errors path="captcha" cssClass="errorMsg"/>
</p>
</c:if>
<div>
<p> <p>
<form:errors path="captcha" cssClass="errorMsg"/> <spring:message code="TERM_OF_THE_SERVICE"/>
<spring:message code="WISEMAPPING_ACCOUNT_MESSAGE"/> <a href="c/termsOfUse"
target="_blank"><spring:message
code="HERE"/></a>.
<spring:message code="REGISTRATION_CLICK_ADVICE"/>
</p> </p>
</c:if> </div>
<div> <input type="submit" value="<spring:message code="REGISTER"/>"
<p> data-loading-text="<spring:message code="REGISTER"/> ..." id="submitButton"
<spring:message code="TERM_OF_THE_SERVICE"/> class="btn btn-primary">
<spring:message code="WISEMAPPING_ACCOUNT_MESSAGE"/> <a href="c/termsOfUse" target="_blank"><spring:message <input type="button" value="<spring:message code="CANCEL"/>"
code="HERE"/></a>. onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
<spring:message code="REGISTRATION_CLICK_ADVICE"/> </form:form>
</p>
</div>
<input type="submit" value="<spring:message code="REGISTER"/>"
data-loading-text="<spring:message code="REGISTER"/> ..." id="submitButton"
class="btn btn-primary">
<input type="button" value="<spring:message code="CANCEL"/>"
onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
</form:form>
</div>
</div> </div>