mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 15:54:55 +01:00
- Add restriction to the input name for the map
- Translate some pending resources.
This commit is contained in:
parent
1811749964
commit
dbf8b0e28c
@ -24,7 +24,6 @@ mindplot.model.FeatureModel = new Class({
|
|||||||
}
|
}
|
||||||
|
|
||||||
mindplot.model.FeatureModel._uuid = mindplot.model.FeatureModel._uuid + 1;
|
mindplot.model.FeatureModel._uuid = mindplot.model.FeatureModel._uuid + 1;
|
||||||
console.log(mindplot.model.FeatureModel._uuid);
|
|
||||||
return mindplot.model.FeatureModel._uuid;
|
return mindplot.model.FeatureModel._uuid;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -15,14 +15,14 @@
|
|||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="title" class="control-label"><spring:message code="NAME"/>: </label>
|
<label for="title" class="control-label"><spring:message code="NAME"/>: </label>
|
||||||
<input type="text" id="title" name="title" required="required"
|
<input type="text" id="title" name="title" required="required"
|
||||||
placeholder="Name of the new map to create"
|
placeholder="<spring:message code="MAP_NAME_HINT"/>"
|
||||||
class="control"/>
|
class="control" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
|
||||||
<label for="description" class="control-label"><spring:message code="DESCRIPTION"/>: </label>
|
<label for="description" class="control-label"><spring:message code="DESCRIPTION"/>: </label>
|
||||||
<textarea type="text" name="description" id="description"
|
<textarea type="text" name="description" id="description"
|
||||||
placeholder="Some description for your map" class="control"></textarea>
|
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" class="control" maxlength="255"></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -246,12 +246,12 @@
|
|||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="newTitle"><spring:message code="NAME"/>:</label>
|
<label class="control-label" for="newTitle"><spring:message code="NAME"/>:</label>
|
||||||
<input class="control" name="title" id="newTitle" type="text" required="required"
|
<input class="control" name="title" id="newTitle" type="text" required="required"
|
||||||
placeholder="<spring:message code="MAP_NAME_HINT"/>" autofocus="autofocus"/>
|
placeholder="<spring:message code="MAP_NAME_HINT"/>" autofocus="autofocus" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="newDec"><spring:message code="DESCRIPTION"/>:</label>
|
<label class="control-label" for="newDec"><spring:message code="DESCRIPTION"/>:</label>
|
||||||
<input class="control" name="description" id="newDec" type="text"
|
<input class="control" name="description" id="newDec" type="text"
|
||||||
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>"/>
|
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@ -277,14 +277,14 @@
|
|||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="title" class="control-label"><spring:message code="NAME"/>: </label>
|
<label for="title" class="control-label"><spring:message code="NAME"/>: </label>
|
||||||
<input name="title" id="title" type="text" required="required"
|
<input name="title" id="title" type="text" required="required"
|
||||||
placeholder="Name of the new map to create" autofocus="autofocus"
|
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" autofocus="autofocus"
|
||||||
class="control"/>
|
class="control" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="description" class="control-label"><spring:message
|
<label for="description" class="control-label"><spring:message
|
||||||
code="DESCRIPTION"/>: </label>
|
code="DESCRIPTION"/>: </label>
|
||||||
<input name="description" id="description" type="text"
|
<input name="description" id="description" type="text"
|
||||||
placeholder="Some description for your map" class="control"/>
|
placeholder="<spring:message code="MAP_DESCRIPTION_HINT"/>" class="control" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@ -309,12 +309,12 @@
|
|||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="renTitle" class="control-label"><spring:message code="NAME"/>: </label>
|
<label for="renTitle" class="control-label"><spring:message code="NAME"/>: </label>
|
||||||
<input name="title" id="renTitle" required="required" autofocus="autofocus"
|
<input name="title" id="renTitle" required="required" autofocus="autofocus"
|
||||||
class="control"/>
|
class="control" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label for="renDescription" class="control-label"><spring:message
|
<label for="renDescription" class="control-label"><spring:message
|
||||||
code="DESCRIPTION"/>:</label>
|
code="DESCRIPTION"/>:</label>
|
||||||
<input name="description" class="control" id="renDescription"/>
|
<input name="description" class="control" id="renDescription" maxlength="255"/>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@ -338,7 +338,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ..."><spring:message
|
<button class="btn btn-primary btn-accept" data-loading-text="<spring:message
|
||||||
|
code="SAVING"/> ..."><spring:message
|
||||||
code="DELETE"/></button>
|
code="DELETE"/></button>
|
||||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user