summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/machine_btn.html
blob: d2cb55bab4b5402bca5ff7ab87f5a2c6371188c0 (plain)
1
2
3
4
5
6
7
8
<a href="{% url 'project' extra.pid %}?setMachine={{data.name}}" class="btn btn-block layer-exists-{{data.layer_version.id}}" style="margin-top: 5px; display:none">
  Select machine</a>
<button class="btn btn-block layerbtn layer-add-{{data.layer_version.id}}" data-layer='{ "id": {{data.layer_version.id}}, "name":  "{{data.layer_version.layer.name}}", "layerdetailurl": "{%url 'layerdetails' extra.pid data.layer_version.id %}"}' data-directive="add">
  <i class="icon-plus"></i>
  Add layer
  <i title="" class="icon-question-sign get-help" data-original-title="To enable this machine, you must first add the {{data.layer_version.layer.name}} layer to your project"></i>
</button>