summaryrefslogtreecommitdiffstats
path: root/external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html')
-rw-r--r--external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html b/external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html
new file mode 100644
index 00000000..ce462401
--- /dev/null
+++ b/external/poky/bitbake/lib/toaster/toastergui/templates/customise_btn.html
@@ -0,0 +1,19 @@
+<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%}",
+ "xhrLayerUrl": "{% url "xhr_layer" 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>