diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html | 63 |
1 files changed, 35 insertions, 28 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html index caeb302352..5caa68392c 100644 --- a/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html +++ b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html | |||
@@ -12,37 +12,44 @@ | |||
12 | }); | 12 | }); |
13 | </script> | 13 | </script> |
14 | 14 | ||
15 | <div class="modal hide fade in" id="new-custom-image-modal" aria-hidden="false"> | 15 | <div class="modal fade" id="new-custom-image-modal" aria-hidden="false"> |
16 | <div class="modal-header"> | 16 | <div class="modal-dialog"> |
17 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | 17 | <div class="modal-content"> |
18 | <h3>New custom image</h3> | 18 | <div class="modal-header"> |
19 | </div> | 19 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> |
20 | <h3>New custom image</h3> | ||
21 | </div> | ||
20 | 22 | ||
21 | <div class="modal-body"> | 23 | <div class="modal-body"> |
22 | <!-- | 24 | <!-- |
23 | this container is visible if there are multiple image recipes which could | 25 | this container is visible if there are multiple image recipes which could |
24 | be used as a basis for the new custom image; radio buttons are added to it | 26 | be used as a basis for the new custom image; radio buttons are added to it |
25 | via newCustomImageModalSetRecipes() as required | 27 | via newCustomImageModalSetRecipes() as required |
26 | --> | 28 | --> |
27 | <div data-role="image-selector" style="display:none;"> | 29 | <div data-role="image-selector" style="display:none;"> |
28 | <h4>Which image do you want to customise?</h4> | 30 | <h4>Which image do you want to customise?</h4> |
29 | <div data-role="image-selector-radios"></div> | 31 | <span class="help-block text-danger" id="invalid-recipe-help" style="display:none"></span> |
30 | <span class="help-block error" id="invalid-recipe-help" style="display:none"></span> | 32 | <div data-role="image-selector-radios"></div> |
31 | <div class="air"></div> | 33 | <div class="air"></div> |
32 | </div> | 34 | </div> |
33 | 35 | ||
34 | <h4>Name your custom image</h4> | 36 | <h4>Name your custom image</h4> |
35 | 37 | ||
36 | <div class="row-fluid"> | 38 | <div class="row"> |
37 | <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> | 39 | <div class="col-md-10"> |
38 | </span></div> | 40 | <p class="help-block">Image names must be unique. They should not contain spaces or capital letters, and the only allowed special character is dash (-). |
39 | <div class="control-group controls"> | 41 | </p> |
40 | <input type="text" class="huge" placeholder="Type the custom image name" required> | 42 | <div class="form-group"> |
41 | <span class="help-block error" id="invalid-name-help" style="display:none"></span> | 43 | <input type="text" class="form-control input-lg" placeholder="Type the custom image name" required> |
42 | </div> | 44 | </div> |
43 | </div> | 45 | <span class="help-block text-danger" id="invalid-name-help" style="display:none"></span> |
46 | </div> | ||
47 | </div> | ||
48 | </div> | ||
44 | 49 | ||
45 | <div class="modal-footer"> | 50 | <div class="modal-footer"> |
46 | <button id="create-new-custom-image-btn" class="btn btn-primary btn-large" data-original-title="" title="" disabled>Create custom image</button> | 51 | <button id="create-new-custom-image-btn" class="btn btn-primary btn-lg" data-original-title="" title="" disabled>Create custom image</button> |
52 | </div> | ||
53 | </div> | ||
47 | </div> | 54 | </div> |
48 | </div> | 55 | </div> |