summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/package_built_detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_built_detail.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_built_detail.html71
1 files changed, 71 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_detail.html b/bitbake/lib/toaster/toastergui/templates/package_built_detail.html
new file mode 100644
index 0000000000..fe856a3cb6
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/package_built_detail.html
@@ -0,0 +1,71 @@
1{% extends "package_detail_base.html" %}
2{% load projecttags %}
3
4{% block tabcontent %}
5 {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %}
6 <!-- Generated Files -->
7 {% if package.buildtargetlist_package.count == 0 %}
8 {# Not included case #}
9 <ul class="nav nav-pills">
10 <li class="active"> <a href="#">
11 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the files produced by this package."></i>
12 Generated files ({{packageFileCount}})
13 </a></li>
14 <li class=""><a href="{% url 'package_built_dependencies' build.id package.id %}">
15 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the runtime packages required by this package."></i>
16 Runtime dependencies ({{dependency_count}})
17 </a></li>
18 </ul>
19 <div class="tab-content">
20 <div class="tab-pane active" id="files">
21 <!-- Package file list or if empty, alert pane -->
22 {% if packageFileCount > 0 %}
23 <div class="alert alert-info">
24 {{fullPackageSpec}} is <strong>not included</strong> in any image. These are the files that would be added to an image root file system if you were to include it in future builds.
25 </div>
26 <table class="table table-bordered table-hover">
27 <thead>
28 <tr>
29 <th>File</th>
30 <th>Size</th>
31 </tr>
32 </thead>
33 {% for file in package.buildfilelist_package.all|dictsort:"path" %}
34 <tbody>
35 <tr>
36 <td>{{file.path}}</td>
37 <td>{{file.size|filtered_filesizeformat}}</td>
38 </tr>
39 </tbody>
40 {% endfor %}
41 </table>
42
43 {% else %}
44 <div class="alert alert-info">
45 <strong>{{fullPackageSpec}}</strong> does not generate any files.
46 </div>
47 {% endif %}
48
49 </div> <!-- tab-pane active -->
50 </div> <!-- tab-content -->
51 {% else %}
52 {# Included case #}
53 <div class="tab-content">
54 <div class="tab-pane active">
55 <div class="lead well">
56 Package included in:
57 {% for itarget in package.buildtargetlist_package.all|dictsort:"target.target" %}
58 <a href="{% url 'package_included_detail' build.id itarget.target.id package.id %}">
59 {% if forloop.counter0 > 0 %}
60 ,&nbsp;
61 {% endif %}
62 {{itarget.target.target}}
63 </a>
64 {% endfor %}
65 </div>
66 </div> <!-- tab-pane active -->
67 </div> <!-- tab-content -->
68 {% endif %}
69
70 {% endwith %}
71{% endblock tabcontent %}