diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html new file mode 100644 index 0000000000..de965ab797 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
@@ -0,0 +1,67 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | |||
3 | {% block pagetitle %}Tasks{% endblock %} | ||
4 | {% block pagetable %} | ||
5 | {% if not objects %} | ||
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>Time</th> | ||
18 | <th>CPU usage</th> | ||
19 | <th>Disk I/O</th> | ||
20 | <th>Script type</th> | ||
21 | <th>Filesystem</th> | ||
22 | <th>Depends</th> | ||
23 | </tr> | ||
24 | |||
25 | {% for task in objects %} | ||
26 | |||
27 | <tr class="data"> | ||
28 | <td>{{task.order}}</td> | ||
29 | <td><a name="{{task.recipe.name}}.{{task.task_name}}"> | ||
30 | <a href="{% url "layer_versions_recipes" task.recipe.layer_version_id %}#{{task.recipe.name}}">{{task.recipe.name}}</a>.{{task.task_name}}</a></td> | ||
31 | <td>{{task.recipe.version}}</td> | ||
32 | |||
33 | {% if task.task_executed %} | ||
34 | <td>Executed</td> | ||
35 | {% else %} | ||
36 | <td>Prebuilt</td> | ||
37 | {% endif %} | ||
38 | |||
39 | <td>{{task.sstate_checksum}}</td> | ||
40 | <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> | ||
41 | <td><p>{{task.message}}</td> | ||
42 | <td>{{task.elapsed_time}}</td> | ||
43 | <td>{{task.cpu_usage}}</td> | ||
44 | <td>{{task.disk_io}}</td> | ||
45 | <td>{{task.get_script_type_display}}</td> | ||
46 | <td> <table> | ||
47 | <tr><td> Recipe</td><td><a target="_fileview" href="file:///{{task.recipe.file_path}}">{{task.recipe.file_path}}</a></td></tr> | ||
48 | <tr><td> Source</td><td><a target="_fileview" href="file:///{{task.file_name}}">{{task.file_name}}:{{task.line_number}}</a></td></tr> | ||
49 | <tr><td> Workdir</td><td><a target="_fileview" href="file:///{{task.work_directory}}">{{task.work_directory}}</a></td></tr> | ||
50 | <tr><td> Log</td><td><a target="_fileview" href="file:///{{task.logfile}}">{{task.logfile}}</a><br/></td></tr> | ||
51 | </table> | ||
52 | </td> | ||
53 | <td> | ||
54 | <div style="height: 3em; overflow:auto"> | ||
55 | {% for tt in task.task_dependencies_task.all %} | ||
56 | <a href="#{{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}"> | ||
57 | {{tt.depends_on.recipe.name}}.{{tt.depends_on.task_name}}</a><br/> | ||
58 | {% endfor %} | ||
59 | </div> | ||
60 | </td> | ||
61 | </tr> | ||
62 | |||
63 | {% endfor %} | ||
64 | |||
65 | {% endif %} | ||
66 | |||
67 | {% endblock %} | ||