From 76f1800f11cd424dcf4672886aae44a52722d5cf Mon Sep 17 00:00:00 2001 From: Belen Barros Date: Tue, 11 Nov 2014 12:22:46 +0000 Subject: bitbake: toastergui: Silly UI fixes Small fixes to the UI of the project.html and targets.html templates. In project.html: * Remove some inline styles and replace them with declarations in default.css * Make sure that the 'add' and 'build' buttons in the project configuration areas have nice, rounded corners * Add some space between the machine name and the change icon * Remove the input-prepend class from the build form (we don't need it) * Apply the success class to target names in completed builds * Bold machine and project name in the change notifications to match all other notifications * There is a bug in Twitter Boostrap in tooltips inside buttons, so moving the tooltip in the 'build' button outside the button tag In targets.html, just add a missing space between the semicolon and the first layer name in the add layer notification. (Bitbake rev: 19113c4fe915be7db51ab06dfab5ea0797faea84) Signed-off-by: Belen Barros Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/projectapp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/static/js/projectapp.js') diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js index 356b92fc5a..f0569de04d 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js @@ -477,13 +477,13 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc var oldLayers = []; switch(elementid) { case '#select-machine': - alertText = "You have changed the machine to: " + $scope.machineName + ""; + alertText = "You have changed the machine to: " + $scope.machineName + ""; alertZone = $scope.zone2alerts; data['machineName'] = $scope.machineName; break; case '#change-project-name': data['projectName'] = $scope.projectName; - alertText = "You have changed the project name to: " + $scope.projectName + ""; + alertText = "You have changed the project name to: " + $scope.projectName + ""; alertZone = $scope.zone3alerts; break; case '#change-project-version': -- cgit v1.2.3-54-g00ecf