diff options
author | David Reyna <David.Reyna@windriver.com> | 2017-06-27 13:44:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 16:02:15 +0100 |
commit | 4f2baebf362d71351db044c0646f9bc6e8a39c49 (patch) | |
tree | bcbb07afbe24816f35d0c9d616ac5ea1fcca7f17 /bitbake/lib/toaster/toastergui/templates/project.html | |
parent | 43aaa802c35ecc9d972f3b9adcd060033de1d9de (diff) | |
download | poky-4f2baebf362d71351db044c0646f9bc6e8a39c49.tar.gz |
bitbake: toaster: Add distro selection support
Add the ability to select a distro in the project page,
based on values from the Layer Index. Add a distro selection
page with the add layer feature, based on the add machine
page.
[YOCTO #10632]
(Bitbake rev: a156a4eff67cdc3943494f5be72b96e3db656250)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/project.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index ab7e665b64..11603d1e12 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -77,6 +77,22 @@ | |||
77 | </form> | 77 | </form> |
78 | </div> | 78 | </div> |
79 | 79 | ||
80 | <div class="well well-transparent" id="distro-section"> | ||
81 | <h3>Distro</h3> | ||
82 | |||
83 | <p class="lead"><span id="project-distro-name"></span> <span class="glyphicon glyphicon-edit" id="change-distro-toggle"></span></p> | ||
84 | |||
85 | <form id="select-distro-form" style="display:none;" class="form-inline"> | ||
86 | <span class="help-block">Distro suggestions come from the Layer Index</a></span> | ||
87 | <div class="form-group"> | ||
88 | <input class="form-control" id="distro-change-input" autocomplete="off" value="" data-provide="typeahead" data-minlength="1" data-autocomplete="off" type="text"> | ||
89 | </div> | ||
90 | <button id="distro-change-btn" class="btn btn-default" type="button">Save</button> | ||
91 | <a href="#" id="cancel-distro-change" class="btn btn-link">Cancel</a> | ||
92 | <p class="form-link"><a href="{% url 'projectdistros' project.id %}">View compatible distros</a></p> | ||
93 | </form> | ||
94 | </div> | ||
95 | |||
80 | <div class="well well-transparent"> | 96 | <div class="well well-transparent"> |
81 | <h3>Most built recipes</h3> | 97 | <h3>Most built recipes</h3> |
82 | 98 | ||