mirror of
git://git.yoctoproject.org/poky
synced 2026-05-19 01:51:01 +00: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>
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{# TODO move to snippets dir #}
|
|
{% if data.is_locale_package %}
|
|
<p class="text-center">
|
|
<span class="text-muted">Locale package</span>
|
|
<span class="glyphicon glyphicon-question-sign get-help hover-help"
|
|
title="This package is included in your image
|
|
based on the locale specified in the IMAGE_LINGUAS variable"
|
|
style="visibility: hidden;">
|
|
</span>
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
<div id="package-btn-cell-{{data.pk}}">
|
|
<div style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner inline-notification"></div>
|
|
<button class="btn btn-block btn-danger add-rm-package-btn" data-directive="remove" data-id="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style="
|
|
{% if data.pk not in extra.current_packages %}
|
|
display:none
|
|
{% endif %}
|
|
">
|
|
<i class="icon-trash no-tooltip"></i>
|
|
Remove package
|
|
</button>
|
|
<button class="btn btn-default btn-block add-rm-package-btn" data-directive="add" data-id="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style="
|
|
{% if data.pk in extra.current_packages %}
|
|
display:none
|
|
{% endif %}
|
|
">
|
|
<i class="glyphicon glyphicon-plus"></i>
|
|
Add package
|
|
</button>
|
|
</div>
|
|
|
|
{% endif %}
|