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 --- .../toastergui/templates/builddashboard.html | 198 +++++++++++++++++++++ 1 file changed, 198 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/templates/builddashboard.html (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html') diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html new file mode 100644 index 0000000000..fa4b194eb9 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -0,0 +1,198 @@ +{% extends "basebuildpage.html" %} +{% load humanize %} +{% load projecttags %} + +{% block parentbreadcrumb %} +{{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}}) +{% endblock %} + +{% block buildinfomain %} + +
+ +
+ + +
+
+
+ + {%if build.outcome == build.SUCCEEDED%}Completed{%elif build.outcome == build.FAILED%}Failed{%else%}{%endif%} + on + {{build.completed_on|date:"d/m/y H:i"}} + +{% if build.warnings_no or build.errors_no %} + with +{% endif %} +{%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 %} +{% if build.errors_no %} + and +{% endif %} + {{build.warnings_no}} warning{{build.warnings_no|pluralize}} +{% endif %} + Build time: {{ build.timespent|sectohms }} +{%endif%} +
+
+
+ +{% if build.errors_no %} +
+
+ +
+
+
+ {% for error in logmessages %}{% if error.level == 2 %} +
+
{{error.message}}
+
+ {% endif %}{% endfor %} +
+
+
+
+
+{% endif %} + +{%if build.outcome == build.SUCCEEDED%} + +
+ {% if hasImages %} +

Images

+ {% for target in targets %} + {% if target.target.is_image %} +
+

{{target.target}} +

+
+
Packages included
+
{{target.npkg}}
+
Total package size
+
{{target.pkgsz|filtered_filesizeformat}}
+
+ + License manifest +
+
{{target.target.license_manifest_path}}
+
+ + Image files +
+
+
    + {% for i in target.imageFiles %} +
  • {{i.path}} + ({{i.size|filtered_filesizeformat}})
  • + {% endfor %} +
+
+
+
+ {% endif %} + {% endfor %} + {% endif %} +
+ +{%else%} + +{%endif%} + + +
+

Build summary

+
+

Configuration

+
+
Machine
{{build.machine}}
+
Distro
{{build.distro}}
+
Layers
{% for i in build.layer_version_build.all|dictsort:"layer.name" %}
{{i.layer.name}}
{%endfor%} +
+
+
+

Tasks

+
+
Total number of tasks
{{build.task_build.all.count}}
+
+ Tasks executed + +
+
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
+
+ Tasks not executed + +
+
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
+
+ Reuse + +
+
+{% query build.task_build order__gt=0 as texec %} +{% if noexectask.count|multiply:100|divide:texec.count < 0 %} +0 +{% else %} +{{noexectask.count|multiply:100|divide:texec.count}} +{% endif %} +% +
+
+
+
+

Recipes & Packages

+
+
Recipes built
{{recipecount}}
+
Packages built
{{packagecount}}
+
+
+
+ +{% if build.warnings_no %} +
+
+ +
+
+
+ {% for warning in logmessages %}{% if warning.level == 1 %} +
+
{{warning.message}}
+
+ {% endif %}{% endfor %} +
+
+
+
+
+{% endif %} + + + +{% endblock %} -- cgit v1.2.3-54-g00ecf