summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
new file mode 100644
index 0000000000..93cf9d7e02
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
@@ -0,0 +1,33 @@
1{% load static %}
2
3<script src="{% static 'js/newcustomimage_modal.js' %}"></script>
4<script>
5 $(document).ready(function (){
6 try {
7 newCustomImageModalInit();
8 } catch (e) {
9 document.write("Sorry, An error has occurred loading this page");
10 console.warn(e);
11 }
12 });
13</script>
14
15<div class="modal hide fade in" id="new-custom-image-modal" aria-hidden="false">
16 <div class="modal-header">
17 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
18 <h3>Name your custom image</h3>
19 </div>
20 <div class="modal-body">
21 <div class="row-fluid">
22 <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>
23 </span></div>
24 <div class="control-group controls">
25 <input type="text" class="huge span5" placeholder="Type the name, something like 'core-image-myimage'">
26 <span class="help-block" style="display:none">Image names cannot contain spaces or capital letters. The only allowed special character is dash (-)</span>
27 <span class="help-block" style="display: none">An image with this name already exists. Image names must be unique: try a different one.</span>
28 </div>
29 </div>
30 <div class="modal-footer">
31 <a href="#" id="create-new-custom-image-btn" class="btn btn-primary btn-large" data-original-title="" title="">Create custom image</a>
32 </div>
33</div>