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">
<span class="label label-danger"><spring:message code="WARNING"/></span> <spring:message
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>
</c:if>

View File

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

View File

@ -39,6 +39,7 @@
<link rel="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 src="js/less.js" type="text/javascript"></script>

View File

@ -44,7 +44,7 @@
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<div class="col-sm-10 col-sm-offset-2">
<c:if test="${requestScope.captchaEnabled}">
${requestScope.captchaHtml}
<p>
@ -62,12 +62,17 @@
<spring:message code="REGISTRATION_CLICK_ADVICE"/>
</p>
</div>
<div class="form-group">
<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"
class="btn btn-primary">
<input type="button" value="<spring:message code="CANCEL"/>"
onclick="window.location='c/<c:url value="maps/"/>'" class="btn">
<div>
<div>
</fieldset>
</form:form>
</div>