From a1f7a09801c2240b5f9a29683a2b538fcb9991d6 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Fri, 3 Oct 2014 18:03:37 +0100 Subject: bitbake: toaster: changes to the landing page This patch brings in a new landing page to be shown when there are no builds and no projects available. The builds page now displays only only the builds part, without the landing page bits. There is a new projects page that displays the All Projects table as specified in the design. [YOCTO #6682] (Bitbake rev: c6c7c05521daa9bf16c122d7d472330ca4c05e88) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/build.html | 78 +--------------------- 1 file changed, 3 insertions(+), 75 deletions(-) (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 index bef1f15399..f20f041749 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html @@ -6,83 +6,11 @@ {% 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%} -
-
+ {% include "mrb_section.html" %} - {% 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 1 %}