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_dependencies.html | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.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_dependencies.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html new file mode 100644 index 0000000000..a0c5a1e4f0 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html | |||
@@ -0,0 +1,99 @@ | |||
1 | {% extends "package_detail_base.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block tabcontent %} | ||
5 | <ul class="nav nav-pills"> | ||
6 | <li class=""> | ||
7 | <a href="{% url 'package_built_detail' build.id package.id %}"> | ||
8 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the files produced by this package."></i> | ||
9 | Generated files ({{package.buildfilelist_package.count}}) | ||
10 | </a> | ||
11 | </li> | ||
12 | <li class="active"> | ||
13 | <a href="{% url 'package_built_dependencies' build.id package.id %}"> | ||
14 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the runtime packages required by this package."></i> | ||
15 | Runtime dependencies ({{dependency_count}}) | ||
16 | </a> | ||
17 | </li> | ||
18 | </ul> | ||
19 | <div class="tab-content"> | ||
20 | <div class="tab-pane active" id="dependencies"> | ||
21 | {% ifequal runtime_deps|length 0 %} | ||
22 | <div class="alert alert-info"> | ||
23 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. | ||
24 | </div> | ||
25 | {% else %} | ||
26 | <div class="alert alert-info"> | ||
27 | <strong>{{package.fullpackagespec}}</strong> is <strong>not included</strong> in any image. This page shows you the projected runtime dependencies if you include <strong>{{package.fullpackagespec}}</strong> in future builds. | ||
28 | </div> | ||
29 | <table class="table table-bordered table-hover"> | ||
30 | <thead> | ||
31 | <tr> | ||
32 | <th>Package</th> | ||
33 | <th>Version</th> | ||
34 | <th class="sizecol span2">Size</th> | ||
35 | </tr> | ||
36 | </thead> | ||
37 | <tbody> | ||
38 | {% for runtime_dep in runtime_deps %} | ||
39 | <tr {{runtime_dep.size|format_vpackage_rowclass}} > | ||
40 | {% if runtime_dep.size != -1 %} | ||
41 | <td> | ||
42 | <a href="{% url 'package_built_detail' build.id runtime_dep.depends_on_id %}"> | ||
43 | {{runtime_dep.name}} | ||
44 | </a> | ||
45 | </td> | ||
46 | {% else %} | ||
47 | <td> | ||
48 | {{runtime_dep.name|format_vpackage_namehelp}} | ||
49 | </td> | ||
50 | {% endif %} | ||
51 | <td>{{runtime_dep.version}}</td> | ||
52 | <td class="sizecol">{{runtime_dep.size|filtered_filesizeformat}}</td> | ||
53 | </tr> | ||
54 | {% endfor %} | ||
55 | </tbody> | ||
56 | </table> | ||
57 | {% endifequal %} | ||
58 | {% ifnotequal other_deps|length 0 %} | ||
59 | <h3>Other runtime relationships</h3> | ||
60 | <table class="table table-bordered table-hover"> | ||
61 | <thead> | ||
62 | <tr> | ||
63 | <th>Package</th> | ||
64 | <th>Version</th> | ||
65 | <th class="sizecol span2">Size</th> | ||
66 | <th> | ||
67 | <i class="icon-question-sign get-help" title="Five relationship types exist: recommends, suggests, provides, replaces and conflicts"></i> | ||
68 | Relationship type | ||
69 | </th> | ||
70 | </tr> | ||
71 | </thead> | ||
72 | <tbody> | ||
73 | {% for other_dep in other_deps %} | ||
74 | <tr {{other_dep.size|format_vpackage_rowclass}} > | ||
75 | {% if other_dep.size != -1 %} | ||
76 | <td> | ||
77 | <a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}"> | ||
78 | {{other_dep.name}} | ||
79 | </a> | ||
80 | </td> | ||
81 | {% else %} | ||
82 | <td> | ||
83 | {{other_dep.name|format_vpackage_namehelp}} | ||
84 | </td> | ||
85 | {% endif %} | ||
86 | <td>{{other_dep.version}}</td> | ||
87 | <td class="sizecol">{{other_dep.size|filtered_filesizeformat}}</td> | ||
88 | <td> | ||
89 | {{other_dep.dep_type_display}} | ||
90 | <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> | ||
91 | </td> | ||
92 | </tr> | ||
93 | {% endfor %} | ||
94 | </tbody> | ||
95 | </table> | ||
96 | {% endifnotequal %} | ||
97 | </div> <!-- tab-pane --> | ||
98 | </div> <!-- tab-content --> | ||
99 | {% endblock tabcontent %} | ||