The markup for modal dialogs has changed in Bootstrap 3, so had to be
changed accordingly in the custom image modal dialogs.

Signed-off-by: Belen Barros Pena <[email protected]>
---
 .../toastergui/templates/newcustomimage_modal.html | 50 ++++++++++++----------
 1 file changed, 27 insertions(+), 23 deletions(-)

diff --git a/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html 
b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
index 54c5887..2fb5396 100644
--- a/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
+++ b/bitbake/lib/toaster/toastergui/templates/newcustomimage_modal.html
@@ -13,36 +13,40 @@
 </script>
 
 <div class="modal fade" 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>New custom image</h3>
-  </div>
+  <div class="modal-dialog">
+    <div class="modal-content">
+      <div class="modal-header">
+        <button type="button" class="close" data-dismiss="modal" 
aria-hidden="true">??</button>
+        <h3>New custom image</h3>
+      </div>
 
-  <div class="modal-body">
-    <!--
+      <div class="modal-body">
+        <!--
     this container is visible if there are multiple image recipes which could
     be used as a basis for the new custom image; radio buttons are added to it
     via newCustomImageModalSetRecipes() as required
     -->
-    <div data-role="image-selector" style="display:none;">
-      <h4>Which image do you want to customise?</h4>
-      <div data-role="image-selector-radios"></div>
-      <span class="help-block error" id="invalid-recipe-help" 
style="display:none"></span>
-      <div class="air"></div>
-    </div>
+        <div data-role="image-selector" style="display:none;">
+          <h4>Which image do you want to customise?</h4>
+          <div data-role="image-selector-radios"></div>
+          <span class="help-block error" id="invalid-recipe-help" 
style="display:none"></span>
+          <div class="air"></div>
+        </div>
 
-    <h4>Name your custom image</h4>
+        <h4>Name your custom image</h4>
 
-    <div class="row">
-      <span class="help-block col-md-8">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="row">
+          <span class="help-block col-md-8">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 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>
   </div>
 </div>
-- 
1.9.1

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to