diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_detail_base.html | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html new file mode 100644 index 0000000000..a7aaab6de7 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |||
@@ -0,0 +1,125 @@ | |||
1 | {% extends "basebuilddetailpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block localbreadcrumb %} | ||
5 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | ||
6 | {% if target %} | ||
7 | <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li> | ||
8 | {% else %} | ||
9 | <li><a href="{% url "packages" build.id %}"> Packages </a></li> | ||
10 | {% endif %} | ||
11 | <li>{{fullPackageSpec}}</li> | ||
12 | {% endwith %} | ||
13 | {% endblock localbreadcrumb %} | ||
14 | |||
15 | {% block pagedetailinfomain %} | ||
16 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | ||
17 | |||
18 | <div class="row span11"> | ||
19 | <div class="page-header"> | ||
20 | {% block title %} | ||
21 | <h1>{{fullPackageSpec}}</h1> | ||
22 | {% endblock title %} | ||
23 | </div> <!-- page-header --> | ||
24 | </div> <!-- row span11 page-header --> | ||
25 | |||
26 | {% block twocolumns %} | ||
27 | <div class="row span7 tabbable"> | ||
28 | {% block tabcontent %} | ||
29 | {% endblock tabcontent %} | ||
30 | </div> <!-- row span7 --> | ||
31 | |||
32 | <div class="row span4 well"> | ||
33 | <h2>Package information</h2> | ||
34 | |||
35 | <!-- info presented as definition list --> | ||
36 | <dl> | ||
37 | <dt> | ||
38 | Size | ||
39 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The size of the package"></i> | ||
40 | </dt> | ||
41 | <dd> | ||
42 | {% comment %} | ||
43 | if recipe is absent, filesize is not 0 | ||
44 | {% endcomment %} | ||
45 | {% if package.recipe_id > 0 %} | ||
46 | {{package.size|filtered_filesizeformat}} | ||
47 | {% if target.file_size %} | ||
48 | ({{package.size|multiply:100|divide:target.file_size}}% of included package size) | ||
49 | {% endif %} | ||
50 | |||
51 | {% endif %} | ||
52 | </dd> | ||
53 | |||
54 | <dt> | ||
55 | License | ||
56 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The license under which this package is distributed"></i> | ||
57 | </dt> | ||
58 | <dd>{{package.license}}</dd> | ||
59 | |||
60 | {% comment %} | ||
61 | # Removed per review on 1/18/2014 until license data population | ||
62 | # problemse are resolved. | ||
63 | <dt> | ||
64 | License files | ||
65 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Location in disk of the license files that apply to the package"></i> | ||
66 | </dt> | ||
67 | <dd></dd> | ||
68 | {% endcomment %} | ||
69 | |||
70 | <dt> | ||
71 | Recipe | ||
72 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the recipe building this package"></i> | ||
73 | </dt> | ||
74 | <dd> | ||
75 | {% if package.recipe_id > 0 %} | ||
76 | <a href="{% url "recipe" build.id package.recipe_id %}"> {{package.recipe.name}} </a> | ||
77 | {% else %} | ||
78 | {{package.recipe.name}} | ||
79 | {% endif %} | ||
80 | </dd> | ||
81 | |||
82 | <dt> | ||
83 | Recipe version | ||
84 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The version of the recipe building this package"></i> | ||
85 | </dt> | ||
86 | <dd>{{package.recipe.version}}</dd> | ||
87 | |||
88 | <dt> | ||
89 | Layer | ||
90 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the layer providing the recipe that builds this package"></i> | ||
91 | </dt> | ||
92 | <dd> | ||
93 | {{package.recipe.layer_version.layer.name}} | ||
94 | {% if package.recipe.layer_version.layer.name|format_none_and_zero != "" %} | ||
95 | {% comment %} | ||
96 | # Removed per team meeting of 1/29/2014 until | ||
97 | # decision on index search algorithm | ||
98 | <a href="http://layers.openembedded.org" target="_blank"> | ||
99 | <i class="icon-share get-info"></i> | ||
100 | {% endcomment %} | ||
101 | </a> | ||
102 | {% endif %} | ||
103 | </dd> | ||
104 | |||
105 | <dt> | ||
106 | Layer branch | ||
107 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git branch of the layer providing the recipe that builds this package"></i> | ||
108 | </dt> | ||
109 | <dd>{{package.recipe.layer_version.branch}}</dd> | ||
110 | <dt> | ||
111 | Layer commit | ||
112 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git commit of the layer providing the recipe that builds this package"></i> | ||
113 | </dt> | ||
114 | |||
115 | <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd> | ||
116 | <dt> | ||
117 | Layer directory | ||
118 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Location in disk of the layer providing the recipe that builds this package"></i> | ||
119 | </dt> | ||
120 | <dd><code>{{package.recipe.layer_version.layer.local_path}}</code></dd> | ||
121 | </dl> | ||
122 | </div> <!-- row4 well --> | ||
123 | {% endblock twocolumns %} | ||
124 | {% endwith %} | ||
125 | {% endblock pagedetailinfomain %} | ||