summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static
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
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')
-rw-r--r--bitbake/lib/toaster/toastergui/static/css/default.css2
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectapp.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css
index da9697c408..8e60fd8b56 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -15,6 +15,7 @@
15.get-help-yellow:hover { color: #B38942; cursor: pointer; } 15.get-help-yellow:hover { color: #B38942; cursor: pointer; }
16.get-help-red { color: #B94A48; font-size: 16px; padding-left: 2px; } 16.get-help-red { color: #B94A48; font-size: 16px; padding-left: 2px; }
17.get-help-red:hover { color: #943A38; cursor: pointer; } 17.get-help-red:hover { color: #943A38; cursor: pointer; }
18.build-form .get-help { margin-left: 5px; }
18.manual { margin: 11px 15px;} 19.manual { margin: 11px 15px;}
19.heading-help { font-size: 14px; } 20.heading-help { font-size: 14px; }
20 21
@@ -157,6 +158,7 @@ input.huge { font-size: 17.5px; padding: 11px 19px; }
157.build-form .input-append { margin-bottom: 0px; } 158.build-form .input-append { margin-bottom: 0px; }
158.build-form .btn-large { padding: 11px 35px; } 159.build-form .btn-large { padding: 11px 35px; }
159.build-form p { font-size:17.5px ;margin:12px 0 0 10px;} 160.build-form p { font-size:17.5px ;margin:12px 0 0 10px;}
161#layer-container form, #target-container form { margin-bottom: 0px; }
160.btn-primary .icon-question-sign, .btn-danger .icon-question-sign { color: #fff; } 162.btn-primary .icon-question-sign, .btn-danger .icon-question-sign { color: #fff; }
161.btn-primary .icon-question-sign:hover, .btn-danger .icon-question-sign:hover { color: #999; } 163.btn-primary .icon-question-sign:hover, .btn-danger .icon-question-sign:hover { color: #999; }
162a code { color: #0088CC; } 164a code { color: #0088CC; }
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':