summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-01-29 14:38:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 13:29:21 +0000
commit998f9af193aec78abaddfbedd7dac161ed9d538d (patch)
treeb955076ede19dd5395d11963e7d490d9f2a43b11 /bitbake/lib/toaster/toastergui/templates
parent9976e4f169ad39bcbe5ca34c866318d654adaa59 (diff)
downloadpoky-998f9af193aec78abaddfbedd7dac161ed9d538d.tar.gz
bitbake: toaster: customrecipe Add dependency tracking to package selection
Update the states of the packages in the package selection UI to reflect whether it's likely that 1st level dependencies for the package will be also added. (Bitbake rev: 119569d83c3fb1d1bd162624819b3f9c63a791c4) 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 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/customrecipe.html5
-rw-r--r--bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html4
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 %}