diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/tasks.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/tasks.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html new file mode 100644 index 0000000000..6831f106c0 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html | |||
@@ -0,0 +1,67 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% block localbreadcrumb %} | ||
4 | <li>All tasks</li> | ||
5 | {% endblock %} | ||
6 | |||
7 | {% block buildinfomain %} | ||
8 | <div class="span10"> | ||
9 | <div class="page-header"> | ||
10 | <h1> Tasks </h1> | ||
11 | </div> | ||
12 | {% include "basetable_top.html" %} | ||
13 | |||
14 | |||
15 | {% if not objects %} | ||
16 | <p>No tasks were executed in this build!</p> | ||
17 | {% else %} | ||
18 | {% for task in objects %} | ||
19 | <tr {{ task|task_color }} > | ||
20 | <td class="order"> | ||
21 | <a href="{%url "task" build.pk task.pk%} ">{{task.order}}</a> | ||
22 | </td> | ||
23 | <td class="recipe_name" > | ||
24 | <a href="{% url "recipe" build.pk task.recipe.pk %}">{{task.recipe.name}}</a> | ||
25 | </td> | ||
26 | <td class="recipe_version"> | ||
27 | <a href="{% url "recipe" build.pk task.recipe.pk %}">{{task.recipe.version}}</a> | ||
28 | </td> | ||
29 | <td class="task_name"> | ||
30 | <a href="{%url "task" build.pk task.pk%} ">{{task.task_name}}</a> | ||
31 | </td> | ||
32 | <td class="executed"> | ||
33 | <a href="{%url "task" build.pk task.pk%} "> | ||
34 | {% if task.task_executed %} | ||
35 | Executed | ||
36 | {% else %} | ||
37 | Not executed | ||
38 | {% endif %} | ||
39 | </a> | ||
40 | </td> | ||
41 | <td class="outcome"> | ||
42 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_outcome_display}}</a> | ||
43 | </td> | ||
44 | <td class="cache_attempt"> | ||
45 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_sstate_result_display|format_none_and_zero}}</a> | ||
46 | </td> | ||
47 | <td class="time_taken"> | ||
48 | {{task.elapsed_time|format_none_and_zero}} | ||
49 | </td> | ||
50 | <td class="cpu_used"> | ||
51 | {{task.cpu_usage|format_none_and_zero}} | ||
52 | </td> | ||
53 | <td class="disk_io"> | ||
54 | {{task.disk_io|format_none_and_zero}} | ||
55 | </td> | ||
56 | <td class="task_log"> | ||
57 | {{task.logfile}} | ||
58 | </td> | ||
59 | </tr> | ||
60 | |||
61 | {% endfor %} | ||
62 | |||
63 | {% endif %} | ||
64 | |||
65 | {% include "basetable_bottom.html" %} | ||
66 | </div> | ||
67 | {% endblock %} | ||