summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/recipe.html
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /bitbake/lib/toaster/toastergui/templates/recipe.html
downloadpoky-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/recipe.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html273
1 files changed, 273 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html
new file mode 100644
index 0000000000..6e9cd23424
--- /dev/null
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -0,0 +1,273 @@
1{% extends "basebuilddetailpage.html" %}
2
3{% load projecttags %}
4
5{% block localbreadcrumb %}
6<li><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
7<li>{{object.name}}_{{object.version}} </li>
8{% endblock %}
9
10{% block pagedetailinfomain %}
11
12<!-- Begin container -->
13
14<div class="row span11">
15 <div class="page-header">
16 <h1>{{object.name}}_{{object.version}}</h1>
17 </div>
18</div>
19
20<div class="row span7 tabbable">
21 <ul class="nav nav-pills">
22 <li class="active">
23 <a href="#information" data-toggle="tab">
24 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Build-related information about the recipe"></i>
25 Recipe details
26 </a>
27 </li>
28 <li>
29 <a href="#packages-built" data-toggle="tab">
30 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The packaged output resulting from building the recipe"></i>
31 Packages ({{packages.count}})
32 </a>
33 </li>
34 <li>
35 <a href="#dependencies" data-toggle="tab">
36 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The recipe build-time dependencies (i.e. other recipes)"></i>
37 Build dependencies ({{object.r_dependencies_recipe.all.count}})
38 </a>
39 </li>
40 <li>
41 <a href="#brought-in-by" data-toggle="tab">
42 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The recipe build-time reverse dependencies (i.e. the recipes that depend on this recipe)"></i>
43 Reverse build dependencies ({{object.r_dependencies_depends.all.count}})
44 </a>
45 </li>
46 </ul>
47 <div class="tab-content">
48 <div class="tab-pane active" id="information" name="information">
49 <dl class="dl-horizontal">
50 <dt>
51 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The name of the layer providing the recipe"></i>
52 Layer
53 </dt>
54 <dd>{{layer.name}}</dd>
55 <dt>
56 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the layer providing the recipe"></i>
57 Layer directory
58 </dt>
59 <dd><code>{{layer.local_path}}</code></dd>
60 <dt>
61 <i class="icon-question-sign get-help" data-toggle="tooltip" title="Path to the recipe .bb file"></i>
62 Recipe file
63 </dt>
64 <dd><code>{{object.file_path}}</code></dd>
65 <dt>
66 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git branch of the layer providing the recipe"></i>
67 Layer branch
68 </dt>
69 <dd>{{layer_version.branch}}</dd>
70 <dt>
71 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The Git commit of the layer providing the recipe"></i>
72 Layer commit
73 </dt>
74 <dd class="iscommit">{{layer_version.commit}}</dd>
75 </dl>
76
77 <h2 class="details">Tasks</h2>
78 {% if not tasks %}
79 <div class="alert alert-info">
80 <strong>{{object.name}}_{{object.version}}</strong> does not have any tasks in this build.
81 </div>
82 {% else %}
83 <table class="table table-bordered table-hover">
84 <thead>
85 <th>
86 <i class="icon-question-sign get-help" title="The running sequence of each task in the build"></i>
87 Order
88 </th>
89 <th>
90 <i class="icon-question-sign get-help" title="The name of the task"></i>
91 Task
92 </th>
93 <th>
94 <i class="icon-question-sign get-help" title="This value tells you if a task had to run (executed) in order to generate the task output, or if the output was provided by another task and therefore the task didn't need to run (not executed)"></i>
95 Executed
96 </th>
97 <th>
98 <i class="icon-question-sign get-help" title="This column tells you if 'executed' tasks succeeded or failed. The column also tells you why 'not executed' tasks did not need to run"></i>
99 Outcome
100 </th>
101 <th>
102 <i class="icon-question-sign get-help" title="This column tells you if a task tried to restore output from the <code>sstate-cache</code> directory or mirrors, and reports the result: Succeeded, Failed or File not in cache"></i>
103 Cache attempt
104 </th>
105 </thead>
106 <tbody>
107
108 {% for task in tasks %}
109
110 <tr {{ task|task_color }} >
111
112 <td><a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.order}}</a></td>
113 <td>
114 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.task_name}}</a>
115 {% if task.get_description %}<i class="icon-question-sign get-help hover-help" title="" data-original-title="{{task.get_description}}"></i> {% endif %}
116 </td>
117
118 <td><a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_executed_display}}</a></td>
119
120 <td>
121 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_outcome_display}} </a>
122 <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i>
123 </td>
124 <td>
125 {% ifnotequal task.sstate_result task.SSTATE_NA %}
126 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_sstate_result_display}}</a>
127 {% endifnotequal %}
128 </td>
129
130 </tr>
131
132 {% endfor %}
133 </tbody>
134 </table>
135 {% endif %}
136 </div>
137 <div class="tab-pane" id="packages-built" name="packages-built">
138 {% if not packages %}
139 <div class="alert alert-info">
140 <strong>{{object.name}}_{{object.version}}</strong> does not build any packages.
141 </div>
142 {% else %}
143 <table class="table table-bordered table-hover" style="margin-top:10px;">
144 <thead>
145 <tr>
146 <th>
147 Package
148 </th>
149 <th>
150 Version
151 </th>
152 <th class="sizecol span2">
153 Size
154 </th>
155 </tr>
156 </thead>
157 <tbody>
158
159 {% for package in packages|dictsort:"name" %}
160
161 <tr>
162 <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td>
163 <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.version}}_{{package.revision}}</a></td>
164 <td class="sizecol"><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.size|filtered_filesizeformat}}</a></td>
165 </tr>
166
167 {% endfor %}
168
169 </tbody>
170 </table>
171 {% endif %}
172 </div>
173 <div class="tab-pane" id="dependencies" name="dependencies">
174
175 {% if not object.r_dependencies_recipe.all %}
176 <div class="alert alert-info">
177 <strong>{{object.name}}_{{object.version}}</strong> has no build dependencies.
178 </div>
179 {% else %}
180 <table class="table table-bordered table-hover">
181 <thead>
182 <tr>
183 <th>
184 Recipe
185 </th>
186 <th>
187 Version
188 </th>
189 </tr>
190 </thead>
191 <tbody>
192
193 {% for rr in object.r_dependencies_recipe.all|dictsort:"depends_on.name" %}
194 <tr>
195 <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a></td>
196 <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.version}}</a></td>
197 </tr>
198 {% endfor %}
199
200 </tbody>
201 </table>
202 {% endif %}
203
204 </div>
205 <div class="tab-pane" id="brought-in-by" name="brought-in-by">
206
207 {% if not object.r_dependencies_depends.all %}
208 <div class="alert alert-info">
209 <strong>{{object.name}}_{{object.version}}</strong> has no reverse build dependencies.
210 </div>
211 {% else %}
212 <table class="table table-bordered table-hover">
213 <thead>
214 <tr>
215 <th>
216 Recipe
217 </th>
218 <th>
219 Version
220 </th>
221 </tr>
222 </thead>
223 <tbody>
224
225 {% for rr in object.r_dependencies_depends.all|dictsort:"recipe.name" %}
226 <tr>
227 <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a></td>
228 <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.version}}</a></td>
229 </tr>
230 {% endfor %}
231
232 </tbody>
233 </table>
234 {% endif %}
235
236 </div>
237 </div>
238</div>
239
240<div class="row span4 well">
241 <h2>About {{object.name}}</h2>
242 <dl>
243 {% if object.summary %}
244 <dt>Summary</dt>
245 <dd><p>{{object.summary}}</p></dd>
246 {% endif %}
247 {% if object.description %}
248 <dt>Description</dt>
249 <dd><p>{{object.description}}</dd>
250 {% endif %}
251 {% if object.homepage %}
252 <dt>Homepage</dt>
253 <dd><a href="{{object.homepage}}">{{object.homepage}}</a></dd>
254 {% endif %}
255 {% if object.bugtracker %}
256 <dt>Bugtracker</dt>
257 <dd><a href="{{object.bugtracker}}">{{object.bugtracker}}</a></dd>
258 {% endif %}
259 {% if object.section %}
260 <dt>
261 Section
262 <i class="icon-question-sign get-help" data-toggle="tooltip" title="The section in which recipes should be categorized"></i>
263 </dt>
264 <dd>{{object.section}}</dd>
265 {% endif %}
266 {% if object.license %}
267 <dt>License</dt>
268 <dd>{{object.license}}</dd>
269 {% endif %}
270 </dl>
271</div>
272
273{% endblock %}