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 13:44:48 +0100 |
commit | 543586462b66434741f47f2884b4ccdeda5397b5 (patch) | |
tree | 75d02763dbf675f1d3274a5a4251fbbf8cce2b1c /lib/toaster/toastergui/templates/customise_btn.html | |
parent | 4e5472e9ba6850081baa9d56fabc4ddb1aa24846 (diff) | |
download | bitbake-543586462b66434741f47f2884b4ccdeda5397b5.zip |
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.
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 'lib/toaster/toastergui/templates/customise_btn.html')
-rw-r--r-- | lib/toaster/toastergui/templates/customise_btn.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/customise_btn.html b/lib/toaster/toastergui/templates/customise_btn.html new file mode 100644 index 00000000..54d05f9e --- /dev/null +++ b/lib/toaster/toastergui/templates/customise_btn.html @@ -0,0 +1,9 @@ +<button class="btn btn-block layer-exists-{{data.layer_version.id}} customise-btn" style="display:none;" data-recipe="{{data.id}}"> + Customise +</button> + +<button class="btn btn-block layer-add-{{data.layer_version.id}} layerbtn" 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 +</button> + |