diff options
author | David Reyna <David.Reyna@windriver.com> | 2015-03-13 17:10:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-21 00:00:28 +0000 |
commit | d2b20465c3c806efb54a7ef8bedc53f90f27ed4f (patch) | |
tree | e0889be23886e3f00292fc21eb501823428179f3 /bitbake/lib/toaster | |
parent | 1f1230c792eeeef8f137430c32f26fb902c02f50 (diff) | |
download | poky-d2b20465c3c806efb54a7ef8bedc53f90f27ed4f.tar.gz |
bitbake: toaster: display machine and project values in input fields
Explicitly preset the machine and project values in their respective
input fields.
[YOCTO #7170]
(Bitbake rev: 23c83c6a8af12ad1c008372685f7cd9f87023145)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 35147c0f14..0f538b9ffb 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -355,7 +355,7 @@ vim: expandtab tabstop=2 | |||
355 | You cannot really compare the builds for the new machine with the previous ones. | 355 | You cannot really compare the builds for the new machine with the previous ones. |
356 | </div> | 356 | </div> |
357 | <form ng-submit="editProjectSettings('#select-machine')" class="input-append"> | 357 | <form ng-submit="editProjectSettings('#select-machine')" class="input-append"> |
358 | <input type="text" id="machine" autocomplete="off" ng-model="machineName" typeahead="m.name for m in getAutocompleteSuggestions('machines', $viewValue)" typeahead-template-url="suggestion_details" /> | 358 | <input type="text" id="machine" autocomplete="off" ng-model="machineName" value="{[machine.name]}" typeahead="m.name for m in getAutocompleteSuggestions('machines', $viewValue)" typeahead-template-url="suggestion_details" /> |
359 | <input type="submit" id="apply-change-machine" class="btn" type="button" ng-disabled="machineName == machine.name || machineName.length == 0" value="Save"></input> | 359 | <input type="submit" id="apply-change-machine" class="btn" type="button" ng-disabled="machineName == machine.name || machineName.length == 0" value="Save"></input> |
360 | <input type="reset" id="cancel-machine" class="btn btn-link" ng-click="toggle('#select-machine')" value="Cancel"></input> | 360 | <input type="reset" id="cancel-machine" class="btn btn-link" ng-click="toggle('#select-machine')" value="Cancel"></input> |
361 | {% csrf_token %} | 361 | {% csrf_token %} |
@@ -391,7 +391,7 @@ vim: expandtab tabstop=2 | |||
391 | </p> | 391 | </p> |
392 | <div id="change-project-name" style="display:none;"> | 392 | <div id="change-project-name" style="display:none;"> |
393 | <form ng-submit="editProjectSettings('#change-project-name')" class="input-append"> | 393 | <form ng-submit="editProjectSettings('#change-project-name')" class="input-append"> |
394 | <input type="text" class="input-xlarge" id="type-project-name" ng-model="projectName"> | 394 | <input type="text" class="input-xlarge" id="type-project-name" ng-model="projectName" value="{[project.name]}"> |
395 | <input type="submit" class="btn" value="Save" ng-disabled="project.name == projectName"/> | 395 | <input type="submit" class="btn" value="Save" ng-disabled="project.name == projectName"/> |
396 | <input type="reset" class="btn btn-link" value="Cancel" ng-click="toggle('#change-project-name')"> | 396 | <input type="reset" class="btn btn-link" value="Cancel" ng-click="toggle('#change-project-name')"> |
397 | </form> | 397 | </form> |