summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js/projectapp.js
diff options
context:
space:
mode:
authorBelen Barros <belen.barros.pena@intel.com>2014-11-11 12:22:46 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-12 17:04:50 +0000
commit76f1800f11cd424dcf4672886aae44a52722d5cf (patch)
tree8ec0f3e9fea1040929f5d4342945b9a0d0efb359 /bitbake/lib/toaster/toastergui/static/js/projectapp.js
parent3a338a2be74764f6f36f28abd4f469d8514b62b6 (diff)
downloadpoky-76f1800f11cd424dcf4672886aae44a52722d5cf.tar.gz
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 <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/projectapp.js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectapp.js4
1 files changed, 2 insertions, 2 deletions
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
477 var oldLayers = []; 477 var oldLayers = [];
478 switch(elementid) { 478 switch(elementid) {
479 case '#select-machine': 479 case '#select-machine':
480 alertText = "You have changed the machine to: <b>" + $scope.machineName + "</b>"; 480 alertText = "You have changed the machine to: <strong>" + $scope.machineName + "</strong>";
481 alertZone = $scope.zone2alerts; 481 alertZone = $scope.zone2alerts;
482 data['machineName'] = $scope.machineName; 482 data['machineName'] = $scope.machineName;
483 break; 483 break;
484 case '#change-project-name': 484 case '#change-project-name':
485 data['projectName'] = $scope.projectName; 485 data['projectName'] = $scope.projectName;
486 alertText = "You have changed the project name to: <b>" + $scope.projectName + "</b>"; 486 alertText = "You have changed the project name to: <strong>" + $scope.projectName + "</strong>";
487 alertZone = $scope.zone3alerts; 487 alertZone = $scope.zone3alerts;
488 break; 488 break;
489 case '#change-project-version': 489 case '#change-project-version':