summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/task.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-05-11 18:58:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 18:04:09 +0100
commitc5a16235b8b56102703bc264768ba386ebe90611 (patch)
tree1a3822b4225ac5de88cc812e14ec0080ffec0a4b /bitbake/lib/toaster/toastergui/templates/task.html
parent35d75c83522a050f0e35a33f73317461e2adf554 (diff)
downloadpoky-c5a16235b8b56102703bc264768ba386ebe90611.tar.gz
bitbake: toaster: fix html5 compliance
This patch brings needed changes in all views so that each view passes the HTML5 compliance test by the W3C Markup Service. (Bitbake rev: 6e60ed8ab71e4300ab571f42b7af5011086df697) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/task.html37
1 files changed, 19 insertions, 18 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html
index 907c621834..6e06ddfa31 100644
--- a/bitbake/lib/toaster/toastergui/templates/task.html
+++ b/bitbake/lib/toaster/toastergui/templates/task.html
@@ -22,19 +22,20 @@
22</h2> 22</h2>
23{%if task.task_executed %} 23{%if task.task_executed %}
24 {# executed tasks outcome #} 24 {# executed tasks outcome #}
25 <dl class="dl-horizontal"> 25 {% if task.logfile %}
26 {% if task.logfile %} 26 {% if MANAGED and build.project %}
27 {% if MANAGED and build.project %}
28 <a class="btn btn-large" href="{% url 'build_artifact' build.id "tasklogfile" task.pk %}" style="margin:15px;">Download task log</a> 27 <a class="btn btn-large" href="{% url 'build_artifact' build.id "tasklogfile" task.pk %}" style="margin:15px;">Download task log</a>
29 {% else %} 28 {% else %}
29 <dl class="dl-horizontal">
30 <dt> 30 <dt>
31 <i class="icon-question-sign get-help" title="Path the task log file"></i> Log file 31 <i class="icon-question-sign get-help" title="Path the task log file"></i> Log file
32 </dt> 32 </dt>
33 <dd> 33 <dd>
34 <code>{{task.logfile}}</code> 34 <code>{{task.logfile}}</code>
35 </dd> 35 </dd>
36 {% endif %} 36 </dl>
37 {% endif %} 37 {% endif %}
38 {% endif %}
38 {# show stack trace for failed task #} 39 {# show stack trace for failed task #}
39 {% if task.outcome == task.OUTCOME_FAILED and log_head %} 40 {% if task.outcome == task.OUTCOME_FAILED and log_head %}
40 <h3>Python stack trace</h3> 41 <h3>Python stack trace</h3>
@@ -45,7 +46,6 @@
45 <code>{{log_body}}</code><br><a id="full-trace-hide" class="btn btn-mini collapsed" style="font-family:Helvetica Neue" data-target="#fulltrace" data-toggle="collapse">Collapse stack trace<i class="icon-caret-up"></i></a></div></pre> 46 <code>{{log_body}}</code><br><a id="full-trace-hide" class="btn btn-mini collapsed" style="font-family:Helvetica Neue" data-target="#fulltrace" data-toggle="collapse">Collapse stack trace<i class="icon-caret-up"></i></a></div></pre>
46 </div> 47 </div>
47 {% endif %} 48 {% endif %}
48 </dl>
49{% else %} 49{% else %}
50{# not executed tasks outcome #} 50{# not executed tasks outcome #}
51 {% if task.outcome == task.OUTCOME_PREBUILT %} 51 {% if task.outcome == task.OUTCOME_PREBUILT %}
@@ -155,15 +155,16 @@
155 155
156{# Execution section #} 156{# Execution section #}
157 {% if task.task_executed %} 157 {% if task.task_executed %}
158 <h2> 158 <h2>
159 Executed 159 Executed
160 <i class="icon-question-sign get-help heading-help" title="'Executed' tasks are those that need to run in order to generate the task output"></i> 160 <i class="icon-question-sign get-help heading-help" title="'Executed' tasks are those that need to run in order to generate the task output"></i>
161 {% else %} 161 {% else %}
162 <h2 class="muted"> 162 <h2 class="muted">
163 Not Executed 163 Not Executed
164 <i class="icon-question-sign get-help heading-help" title="'Not executed' tasks don't need to run because their outcome is provided by another task"></i> 164 <i class="icon-question-sign get-help heading-help" title="'Not executed' tasks don't need to run because their outcome is provided by another task"></i>
165 {% endif %} 165 {% endif %}
166 </h2> 166 </h2>
167
167<dl class="dl-horizontal"> 168<dl class="dl-horizontal">
168 <dt> 169 <dt>
169 <i class="icon-question-sign get-help" title="To make builds more efficient, the build system detects changes in the 'inputs' to a given task by creating a 'task signature'. If the signature changes, the build system assumes the inputs have changed and the task needs to be rerun"></i> 170 <i class="icon-question-sign get-help" title="To make builds more efficient, the build system detects changes in the 'inputs' to a given task by creating a 'task signature'. If the signature changes, the build system assumes the inputs have changed and the task needs to be rerun"></i>
@@ -172,12 +173,12 @@
172 <dd> 173 <dd>
173 {{task.sstate_checksum}} 174 {{task.sstate_checksum}}
174 </dd> 175 </dd>
176</dl>
175 {% if task.sstate_result != task.SSTATE_NA %} 177 {% if task.sstate_result != task.SSTATE_NA %}
176 </dl>
177 <div class="alert alert-info">Attempting to restore output from sstate cache 178 <div class="alert alert-info">Attempting to restore output from sstate cache
178 <i class="icon-question-sign get-help get-help-blue" title="The build system is searching for the task output in your <code>sstate-cache</code> directory and mirrors. If the build system finds the task output, it will reuse it instead of building it from scratch by running the real task. Reusing the task output makes the build faster"></i> 179 <i class="icon-question-sign get-help get-help-blue" title="The build system is searching for the task output in your <code>sstate-cache</code> directory and mirrors. If the build system finds the task output, it will reuse it instead of building it from scratch by running the real task. Reusing the task output makes the build faster"></i>
179 </div> 180 </div>
180 <dl class="dl-horizontal"> 181 <dl class="dl-horizontal">
181 <dt> 182 <dt>
182 <i class="icon-question-sign get-help" title="The name of the file searched for in your <code>sstate-cache</code> directory and mirrors"></i> 183 <i class="icon-question-sign get-help" title="The name of the file searched for in your <code>sstate-cache</code> directory and mirrors"></i>
183 File searched for 184 File searched for
@@ -274,27 +275,27 @@
274 <h2 class="details">Performance</h2> 275 <h2 class="details">Performance</h2>
275{% endif %} 276{% endif %}
276 <dl class="dl-horizontal"> 277 <dl class="dl-horizontal">
277 {% if task.elapsed_time %} 278 {% if task.elapsed_time %}
278 <dt> 279 <dt>
279 <i class="icon-question-sign get-help" title="How long it took the task to finish in seconds"></i> 280 <i class="icon-question-sign get-help" title="How long it took the task to finish in seconds"></i>
280 Time (secs) 281 Time (secs)
281 </dt> 282 </dt>
282 <dd>{{task.elapsed_time|format_none_and_zero|floatformat:2}}</dd> 283 <dd>{{task.elapsed_time|format_none_and_zero|floatformat:2}}</dd>
283 {% endif %} 284 {% endif %}
284 {% if task.cpu_usage > 0 %} 285 {% if task.cpu_usage > 0 %}
285 <dt> 286 <dt>
286 <i class="icon-question-sign get-help" title="The percentage of task CPU utilization"></i> 287 <i class="icon-question-sign get-help" title="The percentage of task CPU utilization"></i>
287 CPU usage 288 CPU usage
288 </dt> 289 </dt>
289 <dd>{{task.cpu_usage|format_none_and_zero|floatformat:2}}%</dd> 290 <dd>{{task.cpu_usage|format_none_and_zero|floatformat:2}}%</dd>
290 {% endif %} 291 {% endif %}
291 {% if task.disk_io > 0 %} 292 {% if task.disk_io > 0 %}
292 <dt> 293 <dt>
293 <i class="icon-question-sign get-help" title="Number of miliseconds the task spent doing disk input and output"></i> 294 <i class="icon-question-sign get-help" title="Number of miliseconds the task spent doing disk input and output"></i>
294 Disk I/O (ms) 295 Disk I/O (ms)
295 </dt> 296 </dt>
296 <dd>{{task.disk_io|format_none_and_zero}}</dd> 297 <dd>{{task.disk_io|format_none_and_zero}}</dd>
297 {% endif %} 298 {% endif %}
298 </dl> 299 </dl>
299 300
300</div> 301</div>