mirror of
https://git.yoctoproject.org/poky
synced 2026-03-25 10:02:22 +01:00
The placeholder text in the form where you name your new custom images didn't display fully. This patch fixes the styles so that the text shows properly. It also changes the text itself to make it a bit shorter. [YOCTO #9122] (Bitbake rev: 9df802182b0b96295b148a1681c2265e72d8306b) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{% load static %}
|
||
|
||
<script src="{% static 'js/newcustomimage_modal.js' %}"></script>
|
||
<script>
|
||
$(document).ready(function (){
|
||
try {
|
||
newCustomImageModalInit();
|
||
} catch (e) {
|
||
document.write("Sorry, An error has occurred loading this page");
|
||
console.warn(e);
|
||
}
|
||
});
|
||
</script>
|
||
|
||
<div class="modal hide fade in" id="new-custom-image-modal" aria-hidden="false">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h3>Name your custom image</h3>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="row-fluid">
|
||
<span class="help-block span8">Image names must be unique. They should not contain spaces or capital letters, and the only allowed special character is dash (-).<p></p>
|
||
</span></div>
|
||
<div class="control-group controls">
|
||
<input type="text" class="huge" placeholder="Type the custom image name" required>
|
||
<span class="help-block error" id="invalid-name-help" style="display:none"></span>
|
||
</div>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button id="create-new-custom-image-btn" class="btn btn-primary btn-large" data-original-title="" title="" disabled>Create custom image</button>
|
||
</div>
|
||
</div>
|