diff options
| author | Belen Barros Pena <belen.barros.pena@linux.intel.com> | 2016-04-12 15:56:43 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:03 +0100 |
| commit | 443f7b39158c891015a791814b9b1fe2324edc41 (patch) | |
| tree | 3f570a138594273bc7498225e066b7f9a99bf0c5 /bitbake/lib/toaster/toastergui/templates/recipe_btn.html | |
| parent | 79e0eb9e52e9b954aa3b6bc6dee15a75b5eb990c (diff) | |
| download | poky-443f7b39158c891015a791814b9b1fe2324edc41.tar.gz | |
bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3
Convert all the HTML templates, JS and CSS in the project parts of
toaster to use bootstrap 3.
(Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b)
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipe_btn.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/recipe_btn.html | 13 |
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> | ||
