From 620553df864634e7061c9124ea70a90e5c067cde Mon Sep 17 00:00:00 2001 From: Dave Lerner Date: Thu, 23 Jan 2014 11:47:41 -0600 Subject: 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 Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../templates/package_included_detail.html | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/templates/package_included_detail.html (limited to 'bitbake/lib/toaster/toastergui/templates/package_included_detail.html') 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 @@ +{% extends "package_detail_base.html" %} +{% load projecttags %} + +{% block title %} +{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} +

{{fullPackageSpec}} ({{target.target}})

+{% endwith %} +{% endblock title %} + +{% block tabcontent %} +{% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} + {% include "package_included_tabs.html" with active_tab="detail" %} +
+
+ {% if packageFileCount > 0 %} + + + + + + + + {% for file in package.buildfilelist_package.all|dictsort:"path" %} + + + + + + + {% endfor %} +
FileSize
+ + {{file.path}} + + {{file.size|filtered_filesizeformat}}
+ + {% else %} +
+ {{fullPackageSpec}} does not generate any files. +
+ {% endif %} +
+
+ +{% endwith %} +{% endblock tabcontent %} -- cgit v1.2.3-54-g00ecf