mirror of
https://git.yoctoproject.org/poky
synced 2026-03-21 06:39:45 +01: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>
16 lines
701 B
HTML
16 lines
701 B
HTML
<button class="btn btn-default btn-block layer-exists-{{data.layer_version.pk}} customise-btn" data-recipe="{{data.pk}}"
|
|
{% if data.layer_version.pk not in extra.current_layers %}
|
|
style="display:none;"
|
|
{% endif %}
|
|
>
|
|
Customise
|
|
</button>
|
|
<button class="btn btn-default btn-block layer-add-{{data.layer_version.pk}} layerbtn" 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 %}
|
|
>
|
|
<i class="glyphicon glyphicon-plus"></i>
|
|
Add layer
|
|
</button>
|