diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-08-08 17:50:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-29 13:56:49 +0100 |
commit | 3a4356dbfea07088b38881abe2c2b5d6bb6c7cf7 (patch) | |
tree | 1400c8217a18d1d94fcbb7f892cc12a76b1c596b /bitbake/lib/toaster/toastergui/templates/newproject.html | |
parent | 54530006b745d364d60dcf4ce372a1459d3fff78 (diff) | |
download | ast2050-yocto-poky-3a4356dbfea07088b38881abe2c2b5d6bb6c7cf7.zip ast2050-yocto-poky-3a4356dbfea07088b38881abe2c2b5d6bb6c7cf7.tar.gz |
bitbake: toaster: create project section navigation structure
We create the navigation structure for the project section.
This includes adding URLs for configuration, builds, all layers,
layer details and all targets pages.
Changes to existing pages to exemplify navigation links.
(Bitbake rev: 6f0cb9d106129eb496a4c009d95b0727378e97c1)
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/templates/newproject.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newproject.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html index 8f1867a..6ee27d1 100644 --- a/bitbake/lib/toaster/toastergui/templates/newproject.html +++ b/bitbake/lib/toaster/toastergui/templates/newproject.html @@ -28,8 +28,9 @@ <i class="icon-question-sign get-help" title="This sets the branch for the Yocto Project core layers (meta, meta-yocto and meta-yocto-bsp), and for the layers you use from the OpenEmbedded Metadata Index"></i> </label> <select name="projectversion" id="projectversion"> - <!-- TODO: XHR data from http://layers.openembedded.org/layerindex/branch/master/layers/ --> - <option value="master" {%if projectversion == "master" %}selected{%endif%}>master</option> + {% for br in branches %} + <option value="{{br.id}}"{%if projectversion == br.id %} selected{%endif%}>{{br.name}} ({{br.short_description}})</option> + {% endfor %} </select> </fieldset> |