diff options
Diffstat (limited to 'yocto-poky/bitbake/lib/toaster/toastergui/templates/recipe_btn.html')
-rw-r--r-- | yocto-poky/bitbake/lib/toaster/toastergui/templates/recipe_btn.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/yocto-poky/bitbake/lib/toaster/toastergui/templates/recipe_btn.html b/yocto-poky/bitbake/lib/toaster/toastergui/templates/recipe_btn.html new file mode 100644 index 000000000..77c1b235b --- /dev/null +++ b/yocto-poky/bitbake/lib/toaster/toastergui/templates/recipe_btn.html @@ -0,0 +1,8 @@ +<button data-recipe-name="{{data.name}}" class="btn btn-block layer-exists-{{data.layer_version.pk}} build-recipe-btn" style="display:none; margin-top: 5px;" > + Build recipe +</button> +<button class="btn 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"> + <i class="icon-plus"></i> + Add layer + <i title="" class="icon-question-sign get-help" data-original-title="To build this target, you must first add the {{data.layer_version.layer.name}} layer to your project"></i> +</button> |