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_included_dependencies.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_included_dependencies.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html new file mode 100644 index 0000000000..642ca69568 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html | |||
@@ -0,0 +1,110 @@ | |||
1 | {% extends "package_detail_base.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block title %} | ||
5 | <h1> | ||
6 | {{package.fullpackagespec}} | ||
7 | <script> fmtAliasHelp("{{package.name}}", "{{package.alias}}", false) </script> | ||
8 | <small>({{target.target}})</small> | ||
9 | </h1> | ||
10 | {% endblock title %} | ||
11 | |||
12 | {% block tabcontent %} | ||
13 | {% with packageFileCount=package.buildfilelist_package.count %} | ||
14 | {% include "package_included_tabs.html" with active_tab="dependencies" %} | ||
15 | <div class="tab-content"> | ||
16 | <div class="tab-pane active" id="dependencies"> | ||
17 | {% ifnotequal runtime_deps|length 0 %} | ||
18 | <table class="table table-bordered table-hover"> | ||
19 | <thead> | ||
20 | <tr> | ||
21 | <th>Package</th> | ||
22 | <th>Version</th> | ||
23 | <th class='sizecol span2'>Size</th> | ||
24 | </tr> | ||
25 | </thead> | ||
26 | <tbody> | ||
27 | {% for runtime_dep in runtime_deps %} | ||
28 | <tr {{runtime_dep.size|format_vpackage_rowclass}} > | ||
29 | {% if runtime_dep.size != -1 %} | ||
30 | <td> | ||
31 | <a href="{% url 'package_included_detail' build.id target.id runtime_dep.depends_on_id %}"> | ||
32 | {{runtime_dep.name}} | ||
33 | </a> | ||
34 | <script>fmtAliasHelp("{{runtime_dep.name}}", "{{runtime_dep.alias}}", true)</script> | ||
35 | </td> | ||
36 | {% else %} | ||
37 | <td> | ||
38 | {{runtime_dep.name|format_vpackage_namehelp}} | ||
39 | </td> | ||
40 | {% endif %} | ||
41 | <td>{{runtime_dep.version}} </td> | ||
42 | <td class='sizecol'>{{runtime_dep.size|filtered_filesizeformat}} </td> | ||
43 | </tr> | ||
44 | {% endfor %} | ||
45 | </tbody> | ||
46 | </table> | ||
47 | {% else %} | ||
48 | <div class="alert alert-info"> | ||
49 | <strong>{{package.fullpackagespec}}</strong> has no runtime dependencies. | ||
50 | </div> | ||
51 | {% endifnotequal %} | ||
52 | |||
53 | {% ifnotequal other_deps|length 0 %} | ||
54 | <h3>Other runtime relationships</h3> | ||
55 | <table class="table table-bordered table-hover"> | ||
56 | <thead> | ||
57 | <tr> | ||
58 | <th>Package</th> | ||
59 | <th>Version</th> | ||
60 | <th class='sizecol span2'>Size</th> | ||
61 | <th> | ||
62 | <i class="icon-question-sign get-help" title="Five relationship types exist: recommends, suggests, provides, replaces and conflicts"></i> | ||
63 | Relationship type | ||
64 | </th> | ||
65 | </tr> | ||
66 | </thead> | ||
67 | <tbody> | ||
68 | {% for other_dep in other_deps %} | ||
69 | {% if other_dep.installed %} | ||
70 | <tr {{other_dep.size|format_vpackage_rowclass}}> | ||
71 | {% if other_dep.size != -1 %} | ||
72 | <td> | ||
73 | <a href="{% url 'package_included_detail' build.id target.id other_dep.depends_on_id %}"> | ||
74 | {{other_dep.name}} | ||
75 | <script> | ||
76 | fmtAliasHelp("{{other_dep.name}}","{{other_dep.alias}}", true) | ||
77 | </script> | ||
78 | </a> | ||
79 | </td> | ||
80 | {% else %} | ||
81 | <td> | ||
82 | {{other_dep.name|format_vpackage_namehelp}} | ||
83 | </td> | ||
84 | {% endif %} | ||
85 | <td>{{other_dep.version}} </td> | ||
86 | <td class='sizecol'>{{other_dep.size|filtered_filesizeformat}} </td> | ||
87 | <td> | ||
88 | {{other_dep.dep_type_display}} | ||
89 | <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> | ||
90 | </td> | ||
91 | </tr> | ||
92 | {% else %} | ||
93 | <tr class="muted"> | ||
94 | <td>{{other_dep.name}}</td> | ||
95 | <td>{{other_dep.version}}</td> | ||
96 | <td></td> | ||
97 | <td> | ||
98 | {{other_dep.dep_type_display}} | ||
99 | <i class="icon-question-sign get-help hover-help" title="{{other_dep.dep_type_help}}" ></i> | ||
100 | </td> | ||
101 | </tr> | ||
102 | {% endif %} | ||
103 | {% endfor %} | ||
104 | </tbody> | ||
105 | </table> | ||
106 | {% endifnotequal %} | ||
107 | </div> <!-- end tab-pane --> | ||
108 | </div> <!-- end tab content --> | ||
109 | {% endwith %} | ||
110 | {% endblock tabcontent %} | ||