diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/projectpage.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/projectpage.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectpage.js b/bitbake/lib/toaster/toastergui/static/js/projectpage.js index 3013416dd1..6d92490ba2 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectpage.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectpage.js | |||
@@ -75,7 +75,7 @@ function projectPageInit(ctx) { | |||
75 | imported = JSON.parse(imported); | 75 | imported = JSON.parse(imported); |
76 | 76 | ||
77 | if (imported.deps_added.length === 0) { | 77 | if (imported.deps_added.length === 0) { |
78 | message = "You have imported <strong><a href=\""+imported.imported_layer.layerdetailurl+"\">"+imported.imported_layer.name+"</a></strong> and added it to your project."; | 78 | message = "You have imported <strong><a class=\"alert-link\" href=\""+imported.imported_layer.layerdetailurl+"\">"+imported.imported_layer.name+"</a></strong> and added it to your project."; |
79 | } else { | 79 | } else { |
80 | 80 | ||
81 | var links = "<a href=\""+imported.imported_layer.layerdetailurl+"\">"+imported.imported_layer.name+"</a>, "; | 81 | var links = "<a href=\""+imported.imported_layer.layerdetailurl+"\">"+imported.imported_layer.name+"</a>, "; |
@@ -145,7 +145,7 @@ function projectPageInit(ctx) { | |||
145 | for (var i in layers){ | 145 | for (var i in layers){ |
146 | var layerObj = layers[i]; | 146 | var layerObj = layers[i]; |
147 | 147 | ||
148 | var projectLayer = $("<li><a></a><span class=\"icon-trash\" data-toggle=\"tooltip\" title=\"Remove\"></span></li>"); | 148 | var projectLayer = $("<li><a></a><span class=\"glyphicon glyphicon-trash\" data-toggle=\"tooltip\" title=\"Remove\"></span></li>"); |
149 | 149 | ||
150 | projectLayer.data('layer', layerObj); | 150 | projectLayer.data('layer', layerObj); |
151 | projectLayer.children("span").tooltip(); | 151 | projectLayer.children("span").tooltip(); |
@@ -208,7 +208,7 @@ function projectPageInit(ctx) { | |||
208 | } | 208 | } |
209 | 209 | ||
210 | for (var i in recipes){ | 210 | for (var i in recipes){ |
211 | var freqTargetCheck = $('<li><label class="checkbox"><input type="checkbox" /><span class="freq-target-name"></span></label></li>'); | 211 | var freqTargetCheck = $('<li><div class="checkbox"><label><input type="checkbox" /><span class="freq-target-name"></span></label></li>'); |
212 | freqTargetCheck.find(".freq-target-name").text(recipes[i]); | 212 | freqTargetCheck.find(".freq-target-name").text(recipes[i]); |
213 | freqTargetCheck.find("input").val(recipes[i]); | 213 | freqTargetCheck.find("input").val(recipes[i]); |
214 | freqTargetCheck.click(function(){ | 214 | freqTargetCheck.click(function(){ |
@@ -285,7 +285,7 @@ function projectPageInit(ctx) { | |||
285 | machineChangeCancel.click(); | 285 | machineChangeCancel.click(); |
286 | 286 | ||
287 | /* Show the alert message */ | 287 | /* Show the alert message */ |
288 | var message = $('<span class="lead">You have changed the machine to: <strong><span id="notify-machine-name"></span></strong></span>'); | 288 | var message = $('<span>You have changed the machine to: <strong><span id="notify-machine-name"></span></strong></span>'); |
289 | message.find("#notify-machine-name").text(currentMachineAddSelection); | 289 | message.find("#notify-machine-name").text(currentMachineAddSelection); |
290 | libtoaster.showChangeNotification(message); | 290 | libtoaster.showChangeNotification(message); |
291 | }, | 291 | }, |