Fix the modal dialog that shows layer dependencies to make sure it displays correctly with Bootstrap 3.
Signed-off-by: Belen Barros Pena <[email protected]> --- bitbake/lib/toaster/toastergui/static/html/layer_deps_modal.html | 2 +- bitbake/lib/toaster/toastergui/static/js/layerDepsModal.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/html/layer_deps_modal.html b/bitbake/lib/toaster/toastergui/static/html/layer_deps_modal.html index 7826fb5..e843d8d 100644 --- a/bitbake/lib/toaster/toastergui/static/html/layer_deps_modal.html +++ b/bitbake/lib/toaster/toastergui/static/html/layer_deps_modal.html @@ -13,7 +13,7 @@ </div> <div class="modal-footer"> <button class="btn btn-primary" type="submit">Add layers</button> - <button class="btn" type="reset" data-dismiss="modal">Cancel</button> + <button class="btn btn-link" type="reset" data-dismiss="modal">Cancel</button> </div> </form> </div><!-- /.modal-content --> diff --git a/bitbake/lib/toaster/toastergui/static/js/layerDepsModal.js b/bitbake/lib/toaster/toastergui/static/js/layerDepsModal.js index 825f9dc..b79049e 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerDepsModal.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerDepsModal.js @@ -33,11 +33,11 @@ function showLayerDepsModal(layer, dependencies, title, body, addToProject, succ var deplistHtml = ""; for (var i = 0; i < dependencies.length; i++) { - deplistHtml += "<li><label class=\"checkbox\"><input name=\"dependencies\" value=\""; + deplistHtml += "<li><div class=\"checkbox\"><label><input name=\"dependencies\" value=\""; deplistHtml += dependencies[i].id; deplistHtml +="\" type=\"checkbox\" checked=\"checked\"/>"; deplistHtml += dependencies[i].name; - deplistHtml += "</label></li>"; + deplistHtml += "</label></div></li>"; } $('#dependencies-list').html(deplistHtml); -- 1.9.1 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
