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/build.html | 140 +++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/templates/build.html (limited to 'bitbake/lib/toaster/toastergui/templates/build.html') diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html new file mode 100644 index 0000000000..faabd22f8b --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/build.html @@ -0,0 +1,140 @@ +{% extends "base.html" %} + +{% load static %} +{% load projecttags %} +{% load humanize %} + +{% block pagecontent %} +
+ {% if not objects.paginator.count and not request.GET.filter and not request.GET.search %} + +
+ +
+
+

This is Toaster

+

A web interface to BitBake, the Yocto Project build system.

+

+ Show me the manual + I want to contribute +

+
+
+ Yocto Project +
+
+
+ {% endif %} + + {%if mru.count > 0%} + + {% for build in mru %} +
+
+ + {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} +
+ {% if build.errors_no %} + {{build.errors_no}} error{{build.errors_no|pluralize}} + {% endif %} +
+
+ {% if build.warnings_no %} + {{build.warnings_no}} warning{{build.warnings_no|pluralize}} + {% endif %} +
+ + {%endif%}{%if build.outcome == build.IN_PROGRESS %} +
+
+
+
+
+
ETA: in {{build.eta|naturaltime}}
+ {%endif%} +
+
+ + {% endfor %}{%endif%} + + {% if not objects.paginator.count and not request.GET.filter and not request.GET.search %} + + {% if mru.count == 0 %} + +
+ Toaster has not recorded any builds yet. Go build something with Knotty or Hob +
+ {% endif %} + {% else %} + + + {% if objects.paginator.count == 0 %} +
+
+
+ {% if request.GET.search %}{% endif %} + + +
+
+
+ + + {% else %} + {% include "basetable_top.html" %} + + {% for build in objects %} + + {%if build.outcome == build.SUCCEEDED%}{%elif build.outcome == build.FAILED%}{%else%}{%endif%} + {% for t in build.target_set.all %} {{t.target}}
{% endfor %} + {{build.machine}} + {{build.started_on|date:"d/m/y H:i"}} + {{build.completed_on|date:"d/m/y H:i"}} + {% query build.task_build outcome=4 order__gt=0 as exectask%}{% if exectask.count == 1 %}{{exectask.0.recipe.name}}.{{exectask.0.task_name}}{% elif exectask.count > 1%}{{exectask.count}}{%endif%} + {% if build.errors_no %}{{build.errors_no}} error{{build.errors_no|pluralize}}{%endif%} + {% if build.warnings_no %}{{build.warnings_no}} warning{{build.warnings_no|pluralize}}{%endif%} + {{build.timespent|sectohms}} + {{build.cooker_log_path}} + + {% if build.outcome == build.SUCCEEDED %} + {{fstypes|get_dict_value:build.id}} + {% endif %} + + + + {% endfor %} + + + {% include "basetable_bottom.html" %} + {% endif %} {# objects.paginator.count #} +{% endif %} {# empty #} +
+ +{% endblock %} -- cgit v1.2.3-54-g00ecf