summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/recipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/recipe.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/recipe.html102
1 files changed, 66 insertions, 36 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html
index 2aaff6b6bc..97e7b99842 100644
--- a/bitbake/lib/toaster/toastergui/templates/recipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/recipe.html
@@ -14,7 +14,7 @@
14 14
15<div class="row"> 15<div class="row">
16 <div class="col-md-12"> 16 <div class="col-md-12">
17 <div class="page-header"> 17 <div class="page-header build-data">
18 <h1>{{object.name}}_{{object.version}}</h1> 18 <h1>{{object.name}}_{{object.version}}</h1>
19 </div> 19 </div>
20 </div> 20 </div>
@@ -22,28 +22,33 @@
22 22
23<div class="row"> 23<div class="row">
24 <div class="col-md-8 tabbable"> 24 <div class="col-md-8 tabbable">
25 <ul class="nav nav-pills"> 25 <ul class="nav nav-tabs">
26 <li class="{{tab_states.1}}"> 26 <li class="{{tab_states.1}}">
27 <a href="#information" data-toggle="tab"> 27 <a href="#information" data-toggle="tab">
28 <i class="icon-question-sign get-help" title="Build-related information about the recipe"></i> 28 <span class="glyphicon glyphicon-question-sign get-help" title="Build-related
29 information about the recipe"></span>
29 Recipe details 30 Recipe details
30 </a> 31 </a>
31 </li> 32 </li>
32 <li> 33 <li>
33 <a href="{% url "recipe_packages" build.pk object.id %}"> 34 <a href="{% url "recipe_packages" build.pk object.id %}">
34 <i class="icon-question-sign get-help" title="The packaged output resulting from building the recipe"></i> 35 <span class="glyphicon glyphicon-question-sign get-help" title="The packaged
36 output resulting from building the recipe"></span>
35 Packages ({{package_count}}) 37 Packages ({{package_count}})
36 </a> 38 </a>
37 </li> 39 </li>
38 <li class="{{tab_states.3}}"> 40 <li class="{{tab_states.3}}">
39 <a href="#dependencies" data-toggle="tab"> 41 <a href="#dependencies" data-toggle="tab">
40 <i class="icon-question-sign get-help" title="The recipe build-time dependencies (i.e. other recipes)"></i> 42 <span class="glyphicon glyphicon-question-sign get-help" title="The recipe
43 build-time dependencies (i.e. other recipes)"></span>
41 Build dependencies ({{object.r_dependencies_recipe.all.count}}) 44 Build dependencies ({{object.r_dependencies_recipe.all.count}})
42 </a> 45 </a>
43 </li> 46 </li>
44 <li class="{{tab_states.4}}"> 47 <li class="{{tab_states.4}}">
45 <a href="#brought-in-by" data-toggle="tab"> 48 <a href="#brought-in-by" data-toggle="tab">
46 <i class="icon-question-sign get-help" title="The recipe build-time reverse dependencies (i.e. the recipes that depend on this recipe)"></i> 49 <span class="glyphicon glyphicon-question-sign get-help" title="The recipe
50 build-time reverse dependencies (i.e. the recipes that
51 depend on this recipe)"></span>
47 Reverse build dependencies ({{object.r_dependencies_depends.all.count}}) 52 Reverse build dependencies ({{object.r_dependencies_depends.all.count}})
48 </a> 53 </a>
49 </li> 54 </li>
@@ -52,34 +57,39 @@
52 <div class="tab-pane {{tab_states.1}}" id="information"> 57 <div class="tab-pane {{tab_states.1}}" id="information">
53 <dl class="dl-horizontal"> 58 <dl class="dl-horizontal">
54 <dt> 59 <dt>
55 <i class="icon-question-sign get-help" title="The name of the layer providing the recipe"></i> 60 <span class="glyphicon glyphicon-question-sign get-help" title="The name of
61 the layer providing the recipe"></span>
56 Layer 62 Layer
57 </dt> 63 </dt>
58 <dd>{{layer.name}}</dd> 64 <dd>{{layer.name}}</dd>
59 65
60 <dt> 66 <dt>
61 <i class="icon-question-sign get-help" title="Path to the recipe .bb file"></i> 67 <span class="glyphicon glyphicon-question-sign get-help" title="Path to the
68 recipe .bb file"></span>
62 Recipe file 69 Recipe file
63 </dt> 70 </dt>
64 <dd><code>{{object.file_path}} {% if object.pathflags %}<i>({{object.pathflags}})</i>{% endif %}</code></dd> 71 <dd><code>{{object.file_path}} {% if object.pathflags %}<i>({{object.pathflags}})</i>{% endif %}</code></dd>
65 {% if layer_version.branch %} 72 {% if layer_version.branch %}
66 <dt> 73 <dt>
67 <i class="icon-question-sign get-help" title="The Git branch of the layer providing the recipe"></i> 74 <span class="glyphicon glyphicon-question-sign get-help"
75 title="The Git branch of the layer providing the
76 recipe"></span>
68 Layer branch 77 Layer branch
69 </dt> 78 </dt>
70 <dd>{{layer_version.branch}}</dd> 79 <dd>{{layer_version.branch}}</dd>
71 {% endif %} 80 {% endif %}
72 <dt> 81 <dt>
73 <i class="icon-question-sign get-help" title="The Git commit of the layer providing the recipe"></i> 82 <span class="glyphicon glyphicon-question-sign get-help" title="The Git
83 commit of the layer providing the recipe"></span>
74 Layer commit 84 Layer commit
75 </dt> 85 </dt>
76 <dd class="iscommit">{{layer_version.commit}}</dd> 86 <dd class="iscommit">{{layer_version.commit}}</dd>
77 {% if object.provides_set.all %} 87 {% if object.provides_set.all %}
78 <dt> 88 <dt>
79 <i class="icon-question-sign get-help" 89 <span class="glyphicon glyphicon-question-sign get-help"
80 title="A list of aliases by which a particular recipe can be known. The additional aliases are 90 title="A list of aliases by which a particular recipe can be known. The additional aliases are
81 synonyms for the recipe and can be useful satisfying dependencies of other recipes during 91 synonyms for the recipe and can be useful satisfying dependencies of other recipes during
82 the build"></i> 92 the build"></span>
83 PROVIDES 93 PROVIDES
84 </dt> 94 </dt>
85 <dd><code>{% for provider in object.provides_set.all %}{{ provider.name }}&nbsp;{% endfor %}</code></dd> 95 <dd><code>{% for provider in object.provides_set.all %}{{ provider.name }}&nbsp;{% endfor %}</code></dd>
@@ -92,30 +102,45 @@
92 <strong>{{object.name}}_{{object.version}}</strong> does not have any tasks in this build. 102 <strong>{{object.name}}_{{object.version}}</strong> does not have any tasks in this build.
93 </div> 103 </div>
94 {% else %} 104 {% else %}
105 <div class="table-responsive">
95 <table class="table table-bordered table-hover"> 106 <table class="table table-bordered table-hover">
96 <thead> 107 <thead>
97 <tr> 108 <tr>
98 <th> 109 <th>
99 <i class="icon-question-sign get-help" title="The running sequence of each task in the build"></i> 110 <span class="glyphicon glyphicon-question-sign
111 get-help" title="The running sequence of each task
112 in the build"></span>
100 Order 113 Order
101 </th> 114 </th>
102 <th> 115 <th>
103 <i class="icon-question-sign get-help" title="The name of the task"></i> 116 <span class="glyphicon glyphicon-question-sign get-help" title="The name
117 of the task"></span>
104 Task 118 Task
105 </th> 119 </th>
106 <th> 120 <th>
107 <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> 121 <span class="glyphicon glyphicon-question-sign get-help" title="This
122 value tells you if a task had to run (executed) in
123 order to generate the task output, or if the output was
124 provided by another task and therefore the task didn't need
125 to run (not executed)"></span>
108 Executed 126 Executed
109 </th> 127 </th>
110 <th> 128 <th>
111 <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> 129 <span class="glyphicon glyphicon-question-sign get-help" title="This
130 column tells you if 'executed' tasks succeeded or
131 failed. The column also tells you why 'not executed'
132 tasks did not need to run"></span>
112 Outcome 133 Outcome
113 </th> 134 </th>
114 <th> 135 <th>
115 <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> 136 <span class="glyphicon glyphicon-question-sign get-help" title="This
137 column tells you if a task tried to restore output
138 from the <code>sstate-cache</code> directory or
139 mirrors, and reports the result: Succeeded, Failed or File
140 not in cache"></span>
116 Cache attempt 141 Cache attempt
117 </th> 142 </th>
118 </tr> 143 </tr>
119 </thead> 144 </thead>
120 <tbody> 145 <tbody>
121 146
@@ -123,26 +148,30 @@
123 148
124 <tr {{ task|task_color }} > 149 <tr {{ task|task_color }} >
125 150
126 <td><a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.order}}</a></td> 151 <td>{{task.order}}</td>
127 <td> 152 <td>
128 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.task_name}}</a> 153 <a href="{% url "task" build.pk task.pk %}">{{task.task_name}}</a>
129 {% if task.get_description %}<i class="icon-question-sign get-help hover-help" title="" data-original-title="{{task.get_description}}"></i> {% endif %} 154 {% if task.get_description %}<span class="glyphicon
155 glyphicon-question-sign get-help hover-help"
156 title="{{task.get_description}}"></span>
157 {% endif %}
130 </td> 158 </td>
131 159
132 <td><a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_executed_display}}</a></td> 160 <td>{{task.get_executed_display}}</td>
133 161
134 <td> 162 <td>{{task.get_outcome_display}}
135 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_outcome_display}} </a>
136 {% if task.outcome = task.OUTCOME_FAILED %} 163 {% if task.outcome = task.OUTCOME_FAILED %}
137 <a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}"> 164 <a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}">
138 <i class="icon-download-alt" title="Download task log file"></i> 165 <span class="glyphicon glyphicon-download-alt
166 get-help" title="Download task log
167 file"></span>
139 </a> 168 </a>
140 {% endif %} 169 {% endif %}
141 <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i> 170 <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i>
142 </td> 171 </td>
143 <td> 172 <td>
144 {% ifnotequal task.sstate_result task.SSTATE_NA %} 173 {% ifnotequal task.sstate_result task.SSTATE_NA %}
145 <a {{ task|task_color }} href="{% url "task" build.pk task.pk %}">{{task.get_sstate_result_display}}</a> 174 {{task.get_sstate_result_display}}
146 {% endifnotequal %} 175 {% endifnotequal %}
147 </td> 176 </td>
148 177
@@ -151,6 +180,7 @@
151 {% endfor %} 180 {% endfor %}
152 </tbody> 181 </tbody>
153 </table> 182 </table>
183 </div>
154 {% endif %} 184 {% endif %}
155 </div> 185 </div>
156 <div class="tab-pane {{tab_states.3}}" id="dependencies"> 186 <div class="tab-pane {{tab_states.3}}" id="dependencies">
@@ -177,13 +207,13 @@
177 <tr> 207 <tr>
178 <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a> 208 <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.name}}</a>
179 {% if rr.via %} 209 {% if rr.via %}
180 <span class="muted">satisfied via {{rr.via.name}}</span> 210 <span class="text-muted">satisfied via <code class="text-muted">{{rr.via.name}}</code></span>
181 <i class="icon-question-sign get-help hover-help" 211 <span class="glyphicon glyphicon-question-sign get-help hover-help"
182 title="This dependency is satisfied by the PROVIDES value 212 title="This dependency is satisfied by the PROVIDES value
183 {{rr.via.name}} in the {{rr.depends_on.name}} recipe"></i> 213 <code>{{rr.via.name}}</code> in the <code>{{rr.depends_on.name}}</code> recipe"></span>
184 {% endif %} 214 {% endif %}
185 </td> 215 </td>
186 <td><a href="{% url "recipe" build.pk rr.depends_on.pk %}">{{rr.depends_on.version}}</a></td> 216 <td>{{rr.depends_on.version}}</td>
187 </tr> 217 </tr>
188 {% endfor %} 218 {% endfor %}
189 219
@@ -216,13 +246,13 @@
216 <tr> 246 <tr>
217 <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a> 247 <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.name}}</a>
218 {% if rr.via %} 248 {% if rr.via %}
219 <span class="muted"> satisfied via {{rr.via.name}}</span> 249 <span class="text-muted"> satisfied via <code class="text-muted">{{rr.via.name}}</code></span>
220 <i class="icon-question-sign get-help hover-help" 250 <span class="glyphicon glyphicon-question-sign get-help hover-help"
221 title="This dependency is satisfied by the PROVIDES value 251 title="This dependency is satisfied by the PROVIDES value
222 {{rr.via.name}} in the {{rr.depends_on.name}} recipe"></i> 252 <code>{{rr.via.name}}</code> in the <code>{{rr.depends_on.name}}</code> recipe"></i>
223 {% endif %} 253 {% endif %}
224 </td> 254 </td>
225 <td><a href="{% url "recipe" build.pk rr.recipe.pk %}">{{rr.recipe.version}}</a></td> 255 <td>{{rr.recipe.version}}</td>
226 </tr> 256 </tr>
227 {% endfor %} 257 {% endfor %}
228 258
@@ -257,7 +287,7 @@
257 {% if object.section %} 287 {% if object.section %}
258 <dt> 288 <dt>
259 Section 289 Section
260 <i class="icon-question-sign get-help" title="The section in which recipes should be categorized"></i> 290 <span class="glyphicon glyphicon-question-sign get-help" title="The section in which recipes should be categorized"></span>
261 </dt> 291 </dt>
262 <dd>{{object.section}}</dd> 292 <dd>{{object.section}}</dd>
263 {% endif %} 293 {% endif %}