From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../lib/toaster/toastergui/templates/tasks.html | 133 +++++++++++++++++++++ 1 file changed, 133 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..77d38b00de --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html @@ -0,0 +1,133 @@ +{% extends "basebuildpage.html" %} +{% load projecttags %} + +{% block localbreadcrumb %} +
  • {{title}}
  • +{% endblock %} + +{% block nav-tasks %} + {% if 'Tasks' == title %} +
  • Tasks
  • + {% else %} +
  • Tasks
  • + {% endif %} +{% endblock %} +{% block nav-buildtime %} + {% if 'Time' == title %} +
  • Time
  • + {% else %} +
  • Time
  • + {% endif %} +{% endblock %} +{% block nav-cpuusage %} + {% if 'CPU usage' == title %} +
  • CPU usage
  • + {% else %} +
  • CPU usage
  • + {% endif %} +{% endblock %} +{% block nav-diskio %} + {% if 'Disk I/O' == title %} +
  • Disk I/O
  • + {% else %} +
  • Disk I/O
  • + {% endif %} +{% endblock %} + +{% block buildinfomain %} +
    +{% if not request.GET.filter and not request.GET.search and not objects.paginator.count %} + + +
    + No data was recorded for this build. +
    + +{% else %} + + + + {% if objects.paginator.count == 0 %} +
    +
    +
    + {% if request.GET.search %}{% endif %} + + +
    +
    +
    + + + {% else %} + {% include "basetable_top.html" %} + + {% for task in objects %} + + + {{task.order}} + + + {{task.recipe.name}} + + + {{task.recipe.version}} + + + {{task.task_name}} {% if task.get_description %} {% endif %} + + + {{task.get_executed_display}} + + + {{task.get_outcome_display}} + + + + {{task.get_sstate_result_display|format_none_and_zero}} + + + {{task.elapsed_time|format_none_and_zero|floatformat:2}} + + + {{task.cpu_usage|format_none_and_zero|floatformat:2}}{% if task.cpu_usage %}%{% endif %} + + + {{task.disk_io|format_none_and_zero}} + + + {{task.logfile}} + + + {% endfor %} + + {% include "basetable_bottom.html" %} + {% endif %} {# objects.paginator.count #} +{% endif %} {# empty #} +
    + + + +{% endblock %} -- cgit v1.2.3-54-g00ecf