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 | 145 |
1 files changed, 145 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..5888513486 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |||
@@ -0,0 +1,145 @@ | |||
1 | {% extends "basebuilddetailpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block extraheadcontent %} | ||
5 | <!-- functions to format package 'installed_package' alias --> | ||
6 | <script> | ||
7 | function fmtAliasHelp(package_name, alias, hover) { | ||
8 | var r = null; | ||
9 | if (alias != null && alias != '') { | ||
10 | r = '<span class="muted"> as ' + alias + ' '; | ||
11 | r += '<i class="icon-question-sign get-help'; | ||
12 | if (hover) { | ||
13 | r+= ' hover-help'; | ||
14 | } | ||
15 | else { | ||
16 | r+= ' heading-help'; | ||
17 | } | ||
18 | r += '"'; | ||
19 | title = package_name + ' was renamed at packaging time and was installed on your system as ' + alias; | ||
20 | r += ' title="' + title + '">'; | ||
21 | r += '</i>'; | ||
22 | r += '</span>'; | ||
23 | document.write(r); | ||
24 | } | ||
25 | } | ||
26 | </script> | ||
27 | {% endblock extraheadcontent %} | ||
28 | {% block localbreadcrumb %} | ||
29 | {% if target %} | ||
30 | <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li> | ||
31 | <li>{{package.fullpackagespec}} {% if package.alias %} as {{package.alias}}{% endif %}</li> | ||
32 | {% else %} | ||
33 | <li><a href="{% url "packages" build.id %}"> Packages </a></li> | ||
34 | <li>{{package.fullpackagespec}}</li> | ||
35 | {% endif %} | ||
36 | {% endblock localbreadcrumb %} | ||
37 | |||
38 | {% block pagedetailinfomain %} | ||
39 | <div class="row span11"> | ||
40 | <div class="page-header"> | ||
41 | {% block title %} | ||
42 | <h1>{{package.fullpackagespec}}</h1> | ||
43 | {% endblock title %} | ||
44 | </div> <!-- page-header --> | ||
45 | </div> <!-- row span11 page-header --> | ||
46 | |||
47 | {% block twocolumns %} | ||
48 | <div class="row span7 tabbable"> | ||
49 | {% block tabcontent %} | ||
50 | {% endblock tabcontent %} | ||
51 | </div> <!-- row span7 --> | ||
52 | |||
53 | <div class="row span4 well"> | ||
54 | <h2>Package information</h2> | ||
55 | |||
56 | <!-- info presented as definition list --> | ||
57 | <dl> | ||
58 | <dt> | ||
59 | Size | ||
60 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The size of the package"></i> | ||
61 | </dt> | ||
62 | <dd> | ||
63 | {% comment %} | ||
64 | if recipe is absent, filesize is not 0 | ||
65 | {% endcomment %} | ||
66 | {% if package.recipe_id > 0 %} | ||
67 | {{package.size|filtered_filesizeformat}} | ||
68 | {% if target.file_size %} | ||
69 | ({{package.size|multiply:100|divide:target.file_size}}% of included package size) | ||
70 | {% endif %} | ||
71 | |||
72 | {% endif %} | ||
73 | </dd> | ||
74 | |||
75 | <dt> | ||
76 | License | ||
77 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The license under which this package is distributed"></i> | ||
78 | </dt> | ||
79 | <dd>{{package.license}}</dd> | ||
80 | |||
81 | {% comment %} | ||
82 | # Removed per review on 1/18/2014 until license data population | ||
83 | # problemse are resolved. | ||
84 | <dt> | ||
85 | License files | ||
86 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the license files that apply to the package"></i> | ||
87 | </dt> | ||
88 | <dd></dd> | ||
89 | {% endcomment %} | ||
90 | |||
91 | <dt> | ||
92 | Recipe | ||
93 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the recipe building this package"></i> | ||
94 | </dt> | ||
95 | <dd> | ||
96 | {% if package.recipe_id > 0 %} | ||
97 | <a href="{% url "recipe" build.id package.recipe_id %}"> {{package.recipe.name}} </a> | ||
98 | {% else %} | ||
99 | {{package.recipe.name}} | ||
100 | {% endif %} | ||
101 | </dd> | ||
102 | |||
103 | <dt> | ||
104 | Recipe version | ||
105 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The version of the recipe building this package"></i> | ||
106 | </dt> | ||
107 | <dd>{{package.recipe.version}}</dd> | ||
108 | |||
109 | <dt> | ||
110 | Layer | ||
111 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the layer providing the recipe that builds this package"></i> | ||
112 | </dt> | ||
113 | <dd> | ||
114 | {{package.recipe.layer_version.layer.name}} | ||
115 | {% if package.recipe.layer_version.layer.name|format_none_and_zero != "" %} | ||
116 | {% comment %} | ||
117 | # Removed per team meeting of 1/29/2014 until | ||
118 | # decision on index search algorithm | ||
119 | <a href="http://layers.openembedded.org" target="_blank"> | ||
120 | <i class="icon-share get-info"></i> | ||
121 | </a> | ||
122 | {% endcomment %} | ||
123 | {% endif %} | ||
124 | </dd> | ||
125 | |||
126 | <dt> | ||
127 | Layer branch | ||
128 | <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> | ||
129 | </dt> | ||
130 | <dd>{{package.recipe.layer_version.branch}}</dd> | ||
131 | <dt> | ||
132 | Layer commit | ||
133 | <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> | ||
134 | </dt> | ||
135 | |||
136 | <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd> | ||
137 | <dt> | ||
138 | Layer directory | ||
139 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the layer providing the recipe that builds this package"></i> | ||
140 | </dt> | ||
141 | <dd><code>{{package.recipe.layer_version.layer.local_path}}</code></dd> | ||
142 | </dl> | ||
143 | </div> <!-- row4 well --> | ||
144 | {% endblock twocolumns %} | ||
145 | {% endblock pagedetailinfomain %} | ||