diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /bitbake/lib/toaster/toastergui/templates/package_built_detail.html | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_built_detail.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_built_detail.html | 65 |
1 files changed, 65 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..0fe01165da --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/package_built_detail.html | |||
@@ -0,0 +1,65 @@ | |||
1 | {% extends "package_detail_base.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block tabcontent %} | ||
5 | {% with 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="Files added to a root file system when you include {{package.name}} in an image"></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="Projected runtime dependencies when you include {{package.name}} in an image"></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 | <strong>{{package.fullpackagespec}}</strong> is <strong>not included</strong> in any image. This page shows you the files added to an image root file system if you include <strong>{{package.fullpackagespec}}</strong> in future builds. | ||
25 | </div> | ||
26 | {% include "tablesort.html" %} | ||
27 | <tbody> | ||
28 | {% for file in objects %} | ||
29 | <tr> | ||
30 | <td class="path">{{file.path}}</td> | ||
31 | <td class="filesize sizecol">{{file.size|filtered_filesizeformat}}</td> | ||
32 | </tr> | ||
33 | {% endfor %} | ||
34 | </tbody> | ||
35 | </table> | ||
36 | |||
37 | {% else %} | ||
38 | <div class="alert alert-info"> | ||
39 | <strong>{{package.fullpackagespec}}</strong> does not generate any files. | ||
40 | </div> | ||
41 | {% endif %} | ||
42 | |||
43 | </div> <!-- tab-pane active --> | ||
44 | </div> <!-- tab-content --> | ||
45 | {% else %} | ||
46 | {# Included case #} | ||
47 | <div class="tab-content"> | ||
48 | <div class="tab-pane active"> | ||
49 | <div class="lead well"> | ||
50 | Package included in: | ||
51 | {% for itarget in package.buildtargetlist_package.all|dictsort:"target.target" %} | ||
52 | <a href="{% url 'package_included_detail' build.id itarget.target.id package.id %}"> | ||
53 | {% if forloop.counter0 > 0 %} | ||
54 | , | ||
55 | {% endif %} | ||
56 | {{itarget.target.target}} | ||
57 | </a> | ||
58 | {% endfor %} | ||
59 | </div> | ||
60 | </div> <!-- tab-pane active --> | ||
61 | </div> <!-- tab-content --> | ||
62 | {% endif %} | ||
63 | |||
64 | {% endwith %} | ||
65 | {% endblock tabcontent %} | ||