diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/customrecipe.html | 5 | ||||
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html index 4d88be054d..02ca5be1ca 100644 --- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html +++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | name: "{{recipe.name}}", | 28 | name: "{{recipe.name}}", |
| 29 | includedPackagesCount: {{recipe.includes_set.count}}, | 29 | includedPackagesCount: {{recipe.includes_set.count}}, |
| 30 | baseRecipeId: {{recipe.base_recipe.pk}}, | 30 | baseRecipeId: {{recipe.base_recipe.pk}}, |
| 31 | xhrPackageListUrl: "{% url 'xhr_customrecipe_packages' recipe.pk %}", | ||
| 31 | } | 32 | } |
| 32 | }; | 33 | }; |
| 33 | 34 | ||
| @@ -143,12 +144,12 @@ | |||
| 143 | Approx. packages included | 144 | Approx. packages included |
| 144 | <i class="icon-question-sign get-help" title="" data-original-title="The number of packages included is based on information from previous builds and from parsing layers, so we can never be sure it is 100% accurate"></i> | 145 | <i class="icon-question-sign get-help" title="" data-original-title="The number of packages included is based on information from previous builds and from parsing layers, so we can never be sure it is 100% accurate"></i> |
| 145 | </dt> | 146 | </dt> |
| 146 | <dd class="no-packages">{{recipe.get_all_packages.count}}</dd> | 147 | <dd id="total-num-packages">{{recipe.get_all_packages.count}}</dd> |
| 147 | <dt> | 148 | <dt> |
| 148 | Approx. package size | 149 | Approx. package size |
| 149 | <i class="icon-question-sign get-help" title="" data-original-title="Package size is based on information from previous builds, so we can never be sure it is 100% accurate"></i> | 150 | <i class="icon-question-sign get-help" title="" data-original-title="Package size is based on information from previous builds, so we can never be sure it is 100% accurate"></i> |
| 150 | </dt> | 151 | </dt> |
| 151 | <dd>{{approx_pkg_size.size__sum|filtered_filesizeformat}}</dd> | 152 | <dd id="total-size-packages">{{approx_pkg_size.size__sum|filtered_filesizeformat}}</dd> |
| 152 | {% if last_build %} | 153 | {% if last_build %} |
| 153 | <dt>Last build</dt> | 154 | <dt>Last build</dt> |
| 154 | <dd> | 155 | <dd> |
diff --git a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html index a3e8546706..0aefc56259 100644 --- a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html +++ b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html | |||
| @@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | <div id="package-btn-cell-{{data.pk}}"> | 14 | <div id="package-btn-cell-{{data.pk}}"> |
| 15 | <div style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner inline-notification"></div> | 15 | <div style="display: none; font-size: 11px; line-height: 1.3;" class="tooltip-inner inline-notification"></div> |
| 16 | <button class="btn btn-block btn-danger add-rm-package-btn" data-directive="remove" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style=" | 16 | <button class="btn btn-block btn-danger add-rm-package-btn" data-directive="remove" data-id="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style=" |
| 17 | {% if data.pk not in extra.current_packages %} | 17 | {% if data.pk not in extra.current_packages %} |
| 18 | display:none | 18 | display:none |
| 19 | {% endif %} | 19 | {% endif %} |
| @@ -21,7 +21,7 @@ | |||
| 21 | <i class="icon-trash no-tooltip"></i> | 21 | <i class="icon-trash no-tooltip"></i> |
| 22 | Remove package | 22 | Remove package |
| 23 | </button> | 23 | </button> |
| 24 | <button class="btn btn-block add-rm-package-btn" data-directive="add" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style=" | 24 | <button class="btn btn-block add-rm-package-btn" data-directive="add" data-id="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style=" |
| 25 | {% if data.pk in extra.current_packages %} | 25 | {% if data.pk in extra.current_packages %} |
| 26 | display:none | 26 | display:none |
| 27 | {% endif %} | 27 | {% endif %} |
