diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-09-28 21:45:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 14:11:37 +0100 |
commit | d98c771a9aa047a71a30b570aba544c043d05447 (patch) | |
tree | 2fdcddd23547a1a6cea72cb9ed7e576f4d8a5c5e /bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html | |
parent | 37948cc5d0e9274a2ca0ec70a5b4788fa26e55e5 (diff) | |
download | poky-d98c771a9aa047a71a30b570aba544c043d05447.tar.gz |
bitbake: toaster: Add Image customisation frontend feature
Add the Image customisation front end feature to Toaster.
Caveat - This feature is currently in development and should not be
enabled by default.
(Bitbake rev: 543586462b66434741f47f2884b4ccdeda5397b5)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html new file mode 100644 index 0000000000..b766aeac93 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html | |||
@@ -0,0 +1,16 @@ | |||
1 | <button class="btn btn-block btn-danger add-rm-package-btn" id="package-rm-btn-{{data.pk}}" data-directive="remove" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" style=" | ||
2 | {% if data.pk not in extra.current_packages %} | ||
3 | display:none | ||
4 | {% endif %} | ||
5 | "> | ||
6 | <i class="icon-trash no-tooltip"></i> | ||
7 | Remove package | ||
8 | </a> | ||
9 | <button class="btn btn-block add-rm-package-btn" data-directive="add" id="package-add-btn-{{data.pk}}" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" style=" | ||
10 | {% if data.pk in extra.current_packages %} | ||
11 | display:none | ||
12 | {% endif %} | ||
13 | "> | ||
14 | <i class="icon-plus"></i> | ||
15 | Add package | ||
16 | </button> | ||