summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html112
1 files changed, 112 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..c67f60e20b
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html
@@ -0,0 +1,112 @@
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 %}
6 <ul class="nav nav-pills">
7 <li class="">
8 <a href="{% url 'package_built_detail' build.id package.id %}">
9 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Shows the files produced by this package."></i>
10 Generated files ({{package.buildfilelist_package.count}})
11 </a>
12 </li>
13 <li class="active">
14 <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>
18 </li>
19 </ul>
20 <div class="tab-content">
21 <div class="tab-pane active" id="dependencies">
22 {% ifequal runtime_deps|length 0 %}
23 <div class="alert alert-info">
24 <strong>{{fullPackageSpec}}</strong> has no runtime dependencies.
25 </div>
26 {% else %}
27 <div class="alert alert-info">
28 <strong>{{fullPackageSpec}}</strong> is <strong>not included</strong> in any image. These are its projected runtime dependencies if you were to include it in future builds.
29 </div>
30 <table class="table table-bordered table-hover">
31 <thead>
32 <tr>
33 <th>Package</th>
34 <th>Version</th>
35 <th>Size</th>
36 </tr>
37 </thead>
38 {% for runtime_dep in runtime_deps %}
39 <tbody>
40 {% ifequal runtime_dep.version '' %}
41 <tr class="muted">
42 <td>{{runtime_dep.name}}</td>
43 <td>{{runtime_dep.version}}</td>
44 <td></td>
45 </div>
46 </tr>
47 {% else %}
48 <tr>
49 <td>
50 <a href="{% url 'package_built_detail' build.id runtime_dep.depends_on_id %}">
51 {{runtime_dep.name}}
52 </a>
53 </td>
54 <td>{{runtime_dep.version}}</td>
55 <td>{{runtime_dep.size|filtered_filesizeformat}}</td>
56 </tr>
57 {% endifequal %}
58 </tbody>
59 {% endfor %}
60 </table>
61 {% endifequal %}
62 {% ifnotequal other_deps|length 0 %}
63 <h3>Other runtime relationships</h3>
64 <table class="table table-bordered table-hover">
65 <thead>
66 <tr>
67 <th>Package</th>
68 <th>Version</th>
69 <th>Size</th>
70
71 <th>
72 <i class="icon-question-sign get-help" title="There are 5 relationship types: recommends, suggests, provides, replaces and conflicts"></i>
73 Relationship type
74 </th>
75 </tr>
76 </thead>
77
78 {% for other_dep in other_deps %}
79 <tbody>
80 {% ifequal other_dep.version '' %}
81 <tr class="muted">
82 <td>{{other_dep.name}}</td>
83 <td>{{other_dep.version}}</td>
84 <td></td>
85 <td>
86 {{other_dep.dep_type_display}}
87 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
88 </td>
89 </tr>
90 {% else %}
91 <tr>
92 <td>
93 <a href="{% url 'package_built_detail' build.id other_dep.depends_on_id %}">
94 {{other_dep.name}}
95 </a>
96 </td>
97 <td>{{other_dep.version}}</td>
98 <td>{{other_dep.size|filtered_filesizeformat}}</td>
99 <td>
100 {{other_dep.dep_type_display}}
101 <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i>
102 </td>
103 </tr>
104 </tbody>
105 {% endifequal %}
106 {% endfor %}
107 </table>
108 {% endifnotequal %}
109 </div> <!-- tab-pane -->
110 </div> <!-- tab-content -->
111 {% endwith %}
112{% endblock tabcontent %}