From 47d19237ef6c492f7c2226952f8094d853893754 Mon Sep 17 00:00:00 2001 From: Ravi Chintakunta Date: Fri, 10 Jan 2014 16:43:24 -0500 Subject: bitbake: toaster: All Tasks Feature with sorting and filtering - Fixed the all tasks view and template to match the UI design and use the new basetable code. - Added a method to views to add sort order icon to the view context. - Default sort order when the page is loaded is displayed with the sort icon - Filtering of columns (Bitbake rev: b2f8de082c3ae41eb44e6ccdc283849b64d0b0f2) Signed-off-by: Ravi Chintakunta Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/tasks.html | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/templates/tasks.html (limited to 'bitbake/lib/toaster/toastergui/templates/tasks.html') 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 @@ +{% extends "basebuildpage.html" %} +{% load projecttags %} +{% block localbreadcrumb %} +
  • All tasks
  • +{% endblock %} + +{% block buildinfomain %} +
    + +{% include "basetable_top.html" %} + + + {% if not objects %} +

    No tasks were executed in this build!

    + {% else %} + {% for task in objects %} + + + {{task.order}} + + + {{task.recipe.name}} + + + {{task.recipe.version}} + + + {{task.task_name}} + + + + {% if task.task_executed %} + Executed + {% else %} + Not executed + {% endif %} + + + + {{task.get_outcome_display}} + + + {{task.get_sstate_result_display|format_none_and_zero}} + + + {{task.elapsed_time|format_none_and_zero}} + + + {{task.cpu_usage|format_none_and_zero}} + + + {{task.disk_io|format_none_and_zero}} + + + {{task.logfile}} + + + + {% endfor %} + + {% endif %} + +{% include "basetable_bottom.html" %} +
    +{% endblock %} -- cgit v1.2.3-54-g00ecf