Fix publish page.

This commit is contained in:
Paulo Gustavo Veiga 2014-02-09 04:54:36 -03:00
parent 2a37167b01
commit 06d3f0cd25
3 changed files with 36 additions and 30 deletions

View File

@ -35,8 +35,11 @@
<input type="text" name="lastname" id="lastname" required="required" class="form-control" value="${user.lastname}"/> <input type="text" name="lastname" id="lastname" required="required" class="form-control" value="${user.lastname}"/>
</div> </div>
</div> </div>
<br/> <div class="form-group">
<input type="submit" id="changeUserInfoBtn" class="btn btn-primary" class="form-control" value="<spring:message code="SAVE_CHANGES"/>"/> <div class="col-sm-offset-8 col-sm-2">
<input type="submit" id="changeUserInfoBtn" class="btn btn-primary" class="form-control" value="<spring:message code="SAVE_CHANGES"/>"/>
<div>
</div>
</fieldset> </fieldset>
</form> </form>
@ -58,8 +61,11 @@
<input type="password" name="password" id="repassword" required="required" class="form-control"/> <input type="password" name="password" id="repassword" required="required" class="form-control"/>
</div> </div>
</div> </div>
<br/> <div class="form-group">
<input type="submit" id="changePasswordBtn" class="btn btn-primary" value="<spring:message code="CHANGE_PASSWORD"/>"/> <div class="col-sm-offset-8 col-sm-2">
<input type="submit" id="changePasswordBtn" class="btn btn-primary" value="<spring:message code="CHANGE_PASSWORD"/>"/>
</div>
</div>
</fieldset> </fieldset>
</form> </form>
</div> </div>
@ -67,7 +73,6 @@
<div id="languageMsg" class="alert"> <div id="languageMsg" class="alert">
</div> </div>
<form action="#" method="POST" id="languageForm" class="form-horizontal"> <form action="#" method="POST" id="languageForm" class="form-horizontal">
<fieldset>
<div class="form-group"> <div class="form-group">
<label for="language" class="col-sm-3 control-label"><strong><spring:message code="LANGUAGE"/>:</strong></label> <label for="language" class="col-sm-3 control-label"><strong><spring:message code="LANGUAGE"/>:</strong></label>
<div class="col-sm-8"> <div class="col-sm-8">
@ -100,20 +105,19 @@
</option> </option>
</select></div> </select></div>
</div> </div>
<br/> <div class="form-group">
<input type="submit" id="changeLanguageBtn" class="btn btn-primary" <div class="col-sm-offset-8 col-sm-2">
value="<spring:message code="CHANGE_LANGUAGE"/>"/> <input type="submit" id="changeLanguageBtn" class="btn btn-primary" value="<spring:message code="CHANGE_LANGUAGE"/>"/>
</fieldset> </div>
</div>
</form> </form>
</div> </div>
<div class="tab-pane fade" id="deleteAccountPanel"> <div class="tab-pane fade" id="deleteAccountPanel">
<div id="deleteAccountMsg" class="alert alert-danger" style="display: block;"><spring:message code="WARNING_DELETE_USER"/></div> <div id="deleteAccountMsg" class="alert alert-danger" style="display: block;"><spring:message code="WARNING_DELETE_USER"/></div>
<form action="#" method="POST" id="deleteAccountForm"> <form action="#" method="POST" id="deleteAccountForm">
<fieldset> <div class="form-group" style="text-align:right">
<input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/> <input type="checkbox" name="confirmAccountDelete" id="accountMarkedForDelete" required="required"/> <input type="submit" id="deleteAccountBtn" class="btn btn-primary" value="<spring:message code="DELETE__ACCOUNT"/>"/>
<input type="submit" id="deleteAccountBtn" class="btn btn-primary" </div>
value="<spring:message code="DELETE__ACCOUNT"/>"/>
</fieldset>
</form> </form>
</div> </div>
</div> </div>

View File

@ -29,15 +29,15 @@
<div class="row"> <div class="row">
<div id="login" class="fform col-md-8"> <div id="login" class="fform col-md-8">
<form action="/c/j_spring_openid_security_check" method="get" id="openid_form"> <form action="/c/j_spring_openid_security_check" method="get" id="openid_form">
<input type="hidden" name="action" value="verify"/> <input type="hidden" name="action" value="verify" class="form-control"/>
<fieldset> <fieldset>
<div id="openid_choice"> <div id="openid_choice">
</br> </br>
<div id="openid_btns"></div> <div id="openid_btns"></div>
</div> </div>
<div id="openid_input_area"> <div id="openid_input_area">
<input id="openid_identifier" name="openid_identifier" type="text" value="http://"/> <input id="openid_identifier" name="openid_identifier" type="text" value="http://" class="form-control"/>
<input id="openid_submit" type="submit" value="Sign-In"/> <input id="openid_submit" type="submit" value="Sign-In" class="form-control" class="btn-primary btn"/>
</div> </div>
<noscript> <noscript>
<p>OpenID is service that allows you to log-on to many different websites using a single indentity. <p>OpenID is service that allows you to log-on to many different websites using a single indentity.

View File

@ -3,8 +3,7 @@
<style type="text/css"> <style type="text/css">
#wizardContainer input { #wizardContainer input {
width: 50px; width: 80px;
height: 25px;
display: inline-block; display: inline-block;
} }
</style> </style>
@ -27,21 +26,24 @@
<li class="active"><a href="#embedTab" data-toggle="pill"><spring:message code="EMBED"/></a></li> <li class="active"><a href="#embedTab" data-toggle="pill"><spring:message code="EMBED"/></a></li>
<li><a href="#publicUrlTab" data-toggle="pill"><spring:message code="PUBLIC_URL"/></a></li> <li><a href="#publicUrlTab" data-toggle="pill"><spring:message code="PUBLIC_URL"/></a></li>
</ul> </ul>
<br/>
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane fade active in" id="embedTab"> <div class="tab-pane fade active in" id="embedTab">
<spring:message code="BLOG_INCLUSION"/> <spring:message code="BLOG_INCLUSION"/>
<div id="wizardContainer"> <div id="wizardContainer">
<form class="form-inline" action="#"> <form class="form-inline" action="#">
<label for="frameWidth"><spring:message code="FRAME_WIDTH"/>:</label> <div class="form-group">
<input type="number" id="frameWidth" name="frameWidth" value="600" class="col-md-2" min="0"/> <label for="frameWidth" class="form-label"><spring:message code="FRAME_WIDTH"/>:</label>
<input type="number" id="frameWidth" name="frameWidth" value="600" class="col-md-2 form-control" min="0"/>
<label for="frameHeight"><spring:message code="FRAME_HEIGHT"/>:</label> </div>
<input type="number" id="frameHeight" name="frameHeight" value="400" class="col-md-2" min="0"/> <div class="form-group">
<label for="frameHeight" class="form-label"><spring:message code="FRAME_HEIGHT"/>:</label>
<label for="mapZoom"><spring:message code="ZOOM"/> %:</label> <input type="number" id="frameHeight" name="frameHeight" value="400" class="col-md-2 form-control" min="0"/>
<input type="number" id="mapZoom" name="mapZoom" value="80" class="col-md-2" min="10" max="200" </div>
step="10"/> <div class="form-group">
<label for="mapZoom" class="form-label"><spring:message code="ZOOM"/> %:</label>
<input type="number" id="mapZoom" name="mapZoom" value="80" class="col-md-2 form-control" min="10" max="200" step="10"/>
</div>
</form> </form>
</div> </div>
<label><spring:message code="BLOG_SNIPPET"/></label> <label><spring:message code="BLOG_SNIPPET"/></label>
@ -53,7 +55,7 @@ solid black" src="${baseUrl}/c/maps/${mindmap.id}/embed?zoom=1"&gt; &lt;/iframe&
<p><spring:message code="DIRECT_LINK_EXPLANATION"/></p> <p><spring:message code="DIRECT_LINK_EXPLANATION"/></p>
<input name="url" value="${baseUrl}/c/maps/${mindmap.id}/public" <input name="url" value="${baseUrl}/c/maps/${mindmap.id}/public"
style="width:400px;cursor: text" style="width:400px;cursor: text"
readonly="readonly"/> readonly="readonly" class="form-control"/>
</div> </div>
</div> </div>
</div> </div>