summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/recipe_btn.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipe_btn.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe_btn.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe_btn.html b/bitbake/lib/toaster/toastergui/templates/recipe_btn.html
index baab06eb52..e3729643a5 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe_btn.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe_btn.html
@@ -1,16 +1,17 @@
1<button data-recipe-name="{{data.name}}" class="btn btn-block layer-exists-{{data.layer_version.pk}} build-recipe-btn" style="margin-top: 5px; 1<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;
2 {% if data.layer_version.pk not in extra.current_layers %} 2 {% if data.layer_version.pk not in extra.current_layers %}
3 display:none; 3 display:none;
4 {% endif %}" 4 {% endif %}"
5 > 5 >
6 Build recipe 6 Build recipe
7</button> 7</a>
8<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" 8<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"
9 {% if data.layer_version.pk in extra.current_layers %} 9 {% if data.layer_version.pk in extra.current_layers %}
10 style="display:none;" 10 style="display:none;"
11 {% endif %} 11 {% endif %}
12> 12>
13 <i class="icon-plus"></i> 13 <span class="glyphicon glyphicon-plus"></span>
14 Add layer 14 Add layer
15 <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> 15 <span class="glyphicon glyphicon-question-sign get-help" title="To build this
16</button> 16 recipe you must first add the {{data.layer_version.layer.name}} layer to your project"></i>
17</a>