diff options
Diffstat (limited to 'bitbake/lib/toaster/bldviewer/templates/task.html')
-rw-r--r-- | bitbake/lib/toaster/bldviewer/templates/task.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldviewer/templates/task.html b/bitbake/lib/toaster/bldviewer/templates/task.html new file mode 100644 index 0000000000..e7253698cd --- /dev/null +++ b/bitbake/lib/toaster/bldviewer/templates/task.html | |||
@@ -0,0 +1,63 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | |||
3 | {% block pagetitle %}Tasks{% endblock %} | ||
4 | {% block pagetable %} | ||
5 | {% if not tasks %} | ||
6 | <p>No tasks were executed in this build!</p> | ||
7 | {% else %} | ||
8 | |||
9 | <tr> | ||
10 | <th>Order</th> | ||
11 | <th>Task</th> | ||
12 | <th>Recipe Version</th> | ||
13 | <th>Task Type</th> | ||
14 | <th>Checksum</th> | ||
15 | <th>Outcome</th> | ||
16 | <th>Message</th> | ||
17 | <th>Logfile</th> | ||
18 | <th>Time</th> | ||
19 | <th>CPU usage</th> | ||
20 | <th>Disk I/O</th> | ||
21 | <th>Script type</th> | ||
22 | <th>File path</th> | ||
23 | <th>Depends</th> | ||
24 | </tr> | ||
25 | |||
26 | {% for task in tasks %} | ||
27 | |||
28 | <tr class="data"> | ||
29 | <td>{{task.order}}</td> | ||
30 | <td><a name="{{task.recipe.name}}.{{task.task_name}}"> | ||
31 | <a href="{% url layer_versions_recipes task.recipe.layer_version_id %}#{{task.recipe.name}}">{{task.recipe.name}}</a>.{{task.task_name}}</a></td> | ||
32 | <td>{{task.recipe.version}}</td> | ||
33 | |||
34 | {% if task.task_executed %} | ||
35 | <td>Executed</td> | ||
36 | {% else %} | ||
37 | <td>Prebuilt</td> | ||
38 | {% endif %} | ||
39 | |||
40 | <td>{{task.sstate_checksum}}</td> | ||
41 | <td>{{task.get_outcome_display}}{% if task.provider %}</br>(by <a href="#{{task.provider.recipe.name}}.{{task.provider.task_name}}">{{task.provider.recipe.name}}.{{task.provider.task_name}}</a>){% endif %}</td> | ||
42 | <td><p>{{task.message}}</td> | ||
43 | <td><a target="_fileview" href="file:///{{task.logfile}}">{{task.logfile}}</a></td> | ||
44 | <td>{{task.elapsed_time}}</td> | ||
45 | <td>{{task.cpu_usage}}</td> | ||
46 | <td>{{task.disk_io}}</td> | ||
47 | <td>{{task.get_script_type_display}}</td> | ||
48 | <td><a target="_fileview" href="file:///{{task.recipe.file_path}}">{{task.recipe.file_path}}</a></td> | ||
49 | <td> | ||
50 | <div style="height: 3em; overflow:auto"> | ||
51 | {% for tt in task.task_dependencies_task.all %} | ||
52 | <a href="#{{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}"> | ||
53 | {{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}</a><br/> | ||
54 | {% endfor %} | ||
55 | </div> | ||
56 | </td> | ||
57 | </tr> | ||
58 | |||
59 | {% endfor %} | ||
60 | |||
61 | {% endif %} | ||
62 | |||
63 | {% endblock %} | ||