diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 7c5b7435ff..1a7e9d4c04 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | </thead> | 76 | </thead> |
| 77 | <tbody> | 77 | <tbody> |
| 78 | {% for match in matching_tasks %} | 78 | {% for match in matching_tasks %} |
| 79 | <tr> | 79 | <tr {{ match|task_color }}> |
| 80 | <td> | 80 | <td> |
| 81 | <a href="{%url "task" match.build.pk match.pk%}">{{match.recipe.name}}</a> | 81 | <a href="{%url "task" match.build.pk match.pk%}">{{match.recipe.name}}</a> |
| 82 | </td> | 82 | </td> |
| @@ -87,7 +87,7 @@ | |||
| 87 | <a href="{%url "task" match.build.pk match.pk%}">{{match.get_executed_display}}</a> | 87 | <a href="{%url "task" match.build.pk match.pk%}">{{match.get_executed_display}}</a> |
| 88 | </td> | 88 | </td> |
| 89 | <td> | 89 | <td> |
| 90 | <a href="{%url "task" match.build.pk match.pk%}">{{match.get_outcome_display}}</a><i class="icon-question-sign get-help hover-help" title="{{match.outcome_help}}"></i> | 90 | <a href="{%url "task" match.build.pk match.pk%}">{{match.get_outcome_display}} </a><i class="icon-question-sign get-help hover-help" title="{{match.get_outcome_help}}"></i> |
| 91 | </td> | 91 | </td> |
| 92 | <td> | 92 | <td> |
| 93 | <a href="{%url "task" match.build.pk match.pk%}">{{match.build.completed_on|date:"d/m/y H:i"}}</a> | 93 | <a href="{%url "task" match.build.pk match.pk%}">{{match.build.completed_on|date:"d/m/y H:i"}}</a> |
| @@ -98,8 +98,8 @@ | |||
| 98 | </table> | 98 | </table> |
| 99 | {% else %} | 99 | {% else %} |
| 100 | <p class="alert"> | 100 | <p class="alert"> |
| 101 | We have found no tasks matching this prebuilt task.<br/> | 101 | <strong> We have found no tasks matching this prebuilt task</strong><br/> |
| 102 | The task you are looking for could belong to a build for which Toaster has not data. | 102 | The task you are looking for could belong to a build for which Toaster has no data. |
| 103 | </p> | 103 | </p> |
| 104 | {% endif %} | 104 | {% endif %} |
| 105 | {% elif task.outcome == task.OUTCOME_COVERED %} | 105 | {% elif task.outcome == task.OUTCOME_COVERED %} |
| @@ -119,8 +119,7 @@ | |||
| 119 | <i class="icon-question-sign get-help" title="The location in disk of the task log file"></i> Log file | 119 | <i class="icon-question-sign get-help" title="The location in disk of the task log file"></i> Log file |
| 120 | </dt> | 120 | </dt> |
| 121 | <dd> | 121 | <dd> |
| 122 | <code>{% for t in task.get_related_setscene %} {{t.logfile}}<br/>{% endfor %} | 122 | <code>{% for t in task.get_related_setscene %} {{t.logfile}} {% endfor %}</code> |
| 123 | </code> | ||
| 124 | </dd> | 123 | </dd> |
| 125 | </dl> | 124 | </dl> |
| 126 | {%elif task.outcome == task.OUTCOME_EMPTY%} | 125 | {%elif task.outcome == task.OUTCOME_EMPTY%} |
| @@ -243,10 +242,11 @@ | |||
| 243 | </dl> | 242 | </dl> |
| 244 | 243 | ||
| 245 | {# Performance section - shown only for executed tasks #} | 244 | {# Performance section - shown only for executed tasks #} |
| 246 | {%if task.task_executed %} | 245 | {%if task.elapsed_time or task.cpu_usage or task.disk_io %} |
| 247 | <h2 class="details">Performance</h2> | 246 | <h2 class="details">Performance</h2> |
| 247 | {% endif %} | ||
| 248 | <dl class="dl-horizontal"> | 248 | <dl class="dl-horizontal"> |
| 249 | {% if task.elapsed_time > 0.01 %} | 249 | {% if task.elapsed_time %} |
| 250 | <dt> | 250 | <dt> |
| 251 | <i class="icon-question-sign get-help" title="How long it took the task to finish, expressed in seconds"></i> | 251 | <i class="icon-question-sign get-help" title="How long it took the task to finish, expressed in seconds"></i> |
| 252 | Time (secs) | 252 | Time (secs) |
| @@ -268,8 +268,6 @@ | |||
| 268 | <dd>{{task.disk_io|format_none_and_zero}}</dd> | 268 | <dd>{{task.disk_io|format_none_and_zero}}</dd> |
| 269 | {% endif %} | 269 | {% endif %} |
| 270 | </dl> | 270 | </dl> |
| 271 | {%endif%} | ||
| 272 | |||
| 273 | 271 | ||
| 274 | </div> | 272 | </div> |
| 275 | {% endblock %} | 273 | {% endblock %} |
