mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
Convert all the HTML templates, JS and CSS in the project parts of toaster to use bootstrap 3. (Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
888 B
HTML
18 lines
888 B
HTML
<a data-recipe-name="{{data.name}}" class="btn btn-default btn-block layer-exists-{{data.layer_version.pk}} build-recipe-btn" style="margin-top: 5px;
|
|
{% if data.layer_version.pk not in extra.current_layers %}
|
|
display:none;
|
|
{% endif %}"
|
|
>
|
|
Build recipe
|
|
</a>
|
|
<a class="btn btn-default btn-block layerbtn layer-add-{{data.layer_version.pk}}" data-layer='{ "id": {{data.layer_version.pk}}, "name": "{{data.layer_version.layer.name}}", "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.pk%}"}' data-directive="add"
|
|
{% if data.layer_version.pk in extra.current_layers %}
|
|
style="display:none;"
|
|
{% endif %}
|
|
>
|
|
<span class="glyphicon glyphicon-plus"></span>
|
|
Add layer
|
|
<span class="glyphicon glyphicon-question-sign get-help" title="To build this
|
|
recipe you must first add the {{data.layer_version.layer.name}} layer to your project"></i>
|
|
</a>
|