summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/package_included_detail.html
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2014-01-23 11:47:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-17 15:38:52 +0000
commit620553df864634e7061c9124ea70a90e5c067cde (patch)
treed196d7dbea61da09846e9a645f245ab931889516 /bitbake/lib/toaster/toastergui/templates/package_included_detail.html
parent47634378ac516496bcc155e001983973f241ee61 (diff)
downloadpoky-620553df864634e7061c9124ea70a90e5c067cde.tar.gz
bitbake: toaster: Implementation of package detail views
Adds new package detail views. The views are based on specifications found in attachments to: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4328 specifically: design-1.5.1-package-details.pdf, and design-1.1.1-included-package-details. This patch includes a redefinition of constant numbers for task dependency tasks. This is needed in order to achieve sorting criteria from the design. This change invalidates currently dependency information for currently existing builds, as it breaks compatibility. [YOCTO #4328] (Bitbake rev: 6855925c06e7e5bb15ae9d0c08d77f3a9a2574bc) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_included_detail.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_included_detail.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_detail.html b/bitbake/lib/toaster/toastergui/templates/package_included_detail.html
new file mode 100644
index 0000000000..018de3eb42
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/package_included_detail.html
@@ -0,0 +1,46 @@
1{% extends "package_detail_base.html" %}
2{% load projecttags %}
3
4{% block title %}
5{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %}
6 <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1>
7{% endwith %}
8{% endblock title %}
9
10{% block tabcontent %}
11{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %}
12 {% include "package_included_tabs.html" with active_tab="detail" %}
13 <div class="tab-content">
14 <div class="tab-pane active" id="files">
15 {% if packageFileCount > 0 %}
16 <table class="table table-bordered table-hover">
17 <thead>
18 <tr>
19 <th>File</th>
20 <th>Size</th>
21 </tr>
22 </thead>
23 {% for file in package.buildfilelist_package.all|dictsort:"path" %}
24 <tbody>
25 <tr>
26 <td>
27 <a href="{% url 'image_information_dir' build.id target.id file.id %}">
28 {{file.path}}
29 </a>
30 </td>
31 <td>{{file.size|filtered_filesizeformat}}</td>
32 </tr>
33 </tbody>
34 {% endfor %}
35 </table>
36
37 {% else %}
38 <div class="alert alert-info">
39 <strong>{{fullPackageSpec}}</strong> does not generate any files.
40 </div>
41 {% endif %}
42 </div> <!-- end tab-pane -->
43 </div> <!-- end tab content -->
44
45{% endwith %}
46{% endblock tabcontent %}