From 877dcd709e4cd54847e756e7a8dc1de6fa926967 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Tue, 25 Mar 2014 18:53:08 -0700 Subject: bitbake: toaster: add support for empty states in pages Add support for empty states in the top build page, the all packages page, and the all tasks page. [YOCTO #4865] (Bitbake rev: eaff7b50d7102c97b75df185b9ef917970319d59) Signed-off-by: David Reyna Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/build.html | 50 +++++++++++++++++----- 1 file changed, 40 insertions(+), 10 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 8f557e9686..38ab2bfd7b 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html @@ -1,11 +1,30 @@ {% 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%} {% endblock %} -- cgit v1.2.3-54-g00ecf