diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html')
-rw-r--r-- | poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html b/poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html new file mode 100644 index 0000000000..0bdbc2a416 --- /dev/null +++ b/poky/bitbake/lib/toaster/toastergui/templates/package_built_detail.html @@ -0,0 +1,65 @@ +{% extends "package_detail_base.html" %} +{% load projecttags %} + +{% block tabcontent %} + {% with packageFileCount=package.buildfilelist_package.count %} + <!-- Generated Files --> + {% if package.buildtargetlist_package.count == 0 %} + {# Not included case #} + <ul class="nav nav-tabs"> + <li class="active"> <a href="#"> + <span class="glyphicon glyphicon-question-sign get-help" title="Files added to a root file system when you include {{package.name}} in an image"></span> + Generated files ({{packageFileCount}}) + </a></li> + <li class=""><a href="{% url 'package_built_dependencies' build.id package.id %}"> + <span class="glyphicon glyphicon-question-sign get-help" title="Projected runtime dependencies when you include {{package.name}} in an image"></span> + Runtime dependencies ({{dependency_count}}) + </a></li> + </ul> + <div class="tab-content"> + <div class="tab-pane active" id="files"> + <!-- Package file list or if empty, alert pane --> + {% if packageFileCount > 0 %} + <div class="alert alert-info"> + <strong>{{package.fullpackagespec}}</strong> is <strong>not included</strong> in any image. This page shows you the files that would be added to an image root file system with <strong>{{package.fullpackagespec}}</strong> included in it. + </div> + {% include "tablesort.html" %} + <tbody> + {% for file in objects %} + <tr> + <td class="path">{{file.path}}</td> + <td class="filesize sizecol">{{file.size|filtered_filesizeformat}}</td> + </tr> + {% endfor %} + </tbody> + </table> + + {% else %} + <div class="alert alert-info"> + <strong>{{package.fullpackagespec}}</strong> does not generate any files. + </div> + {% endif %} + + </div> <!-- tab-pane active --> + </div> <!-- tab-content --> + {% else %} + {# Included case #} + <div class="tab-content"> + <div class="tab-pane active"> + <div class="lead well"> + Package included in: + {% for itarget in package.buildtargetlist_package.all|dictsort:"target.target" %} + <a href="{% url 'package_included_detail' build.id itarget.target.id package.id %}"> + {% if forloop.counter0 > 0 %} + , + {% endif %} + {{itarget.target.target}} + </a> + {% endfor %} + </div> + </div> <!-- tab-pane active --> + </div> <!-- tab-content --> + {% endif %} + + {% endwith %} +{% endblock tabcontent %} |