Fix import dialog...

This commit is contained in:
Paulo Gustavo Veiga 2014-02-09 04:34:25 -03:00
parent 2b89fdccca
commit 2a37167b01
4 changed files with 27 additions and 16 deletions

View File

@ -81,7 +81,7 @@
<div class="alert alert-info col-md-offset12"> <div class="alert alert-info col-md-offset12">
<span class="label label-danger"><spring:message code="WARNING"/></span> <spring:message <span class="label label-danger"><spring:message code="WARNING"/></span> <spring:message
code="NO_PRODUCTION_DATABASE_CONFIGURED"/>&nbsp;<a code="NO_PRODUCTION_DATABASE_CONFIGURED"/>&nbsp;<a
href="http://www.wisemapping.org/documentation/configu"><spring:message code="HERE"/></a>. href="https://wisemapping.atlassian.net/wiki/display/WS/Database+Configuration"><spring:message code="HERE"/></a>.
</div> </div>
</div> </div>
</c:if> </c:if>

View File

@ -9,20 +9,25 @@
<div class="errorMessage"></div> <div class="errorMessage"></div>
<fieldset> <fieldset>
<div class="form-group"> <div class="form-group">
<label for="mapFile" class="control-label"><spring:message code="MIND_FILE"/>: </label> <label for="mapFile" class="control-label col-sm-2 "><spring:message code="MIND_FILE"/>: </label>
<input type="file" name="file" id="mapFile" required="required" class="control"/> <div class="col-sm-10">
<input type="file" name="file" id="mapFile" required="required" class="form-control"/>
</div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="title" class="control-label"><spring:message code="NAME"/>: </label> <label for="title" class="control-label col-sm-2 "><spring:message code="NAME"/>: </label>
<input type="text" id="title" name="title" required="required" <div class="col-sm-10">
placeholder="<spring:message code="MAP_NAME_HINT"/>" <input type="text" id="title" name="title" required="required"
class="control" maxlength="255"/> placeholder="<spring:message code="MAP_NAME_HINT"/>"
class="form-control" maxlength="255"/>
</div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="description" class="control-label col-sm-2"><spring:message code="DESCRIPTION"/>: </label>
<label for="description" class="control-label"><spring:message code="DESCRIPTION"/>: </label> <div class="col-sm-10">
<textarea type="text" name="description" id="description" <textarea type="text" name="description" id="description"
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" class="control" maxlength="255"></textarea> placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" class="form-control" maxlength="255"></textarea>
</div>
</div> </div>
</fieldset> </fieldset>

View File

@ -39,6 +39,7 @@
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/> <link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" language="javascript" src="js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script> <script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script>
<script src="js/less.js" type="text/javascript"></script> <script src="js/less.js" type="text/javascript"></script>

View File

@ -44,7 +44,7 @@
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-sm-12"> <div class="col-sm-10 col-sm-offset-2">
<c:if test="${requestScope.captchaEnabled}"> <c:if test="${requestScope.captchaEnabled}">
${requestScope.captchaHtml} ${requestScope.captchaHtml}
<p> <p>
@ -62,13 +62,18 @@
<spring:message code="REGISTRATION_CLICK_ADVICE"/> <spring:message code="REGISTRATION_CLICK_ADVICE"/>
</p> </p>
</div> </div>
<div class="form-group">
<input type="submit" value="<spring:message code="REGISTER"/>" <div class="col-sm-offset-2 col-sm-10">
<input type="submit" value="<spring:message code="REGISTER"/>"
data-loading-text="<spring:message code="REGISTER"/> ..." id="submitButton" data-loading-text="<spring:message code="REGISTER"/> ..." id="submitButton"
class="btn btn-primary"> class="btn btn-primary">
<input type="button" value="<spring:message code="CANCEL"/>" <input type="button" value="<spring:message code="CANCEL"/>"
onclick="window.location='c/<c:url value="maps/"/>'" class="btn"> onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
</form:form> <div>
<div>
</fieldset>
</form:form>
</div> </div>