Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 475D0E00D9D; Thu, 9 Jun 2016 06:37:58 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B2A5AE00D5F for ; Thu, 9 Jun 2016 06:37:53 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 09 Jun 2016 06:37:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,444,1459839600"; d="scan'208,217";a="118949912" Received: from icarus.isw.intel.com ([10.237.224.37]) by fmsmga004.fm.intel.com with ESMTP; 09 Jun 2016 06:37:38 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Thu, 9 Jun 2016 14:24:23 +0100 Message-Id: <1465478673-23191-11-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465478673-23191-1-git-send-email-belen.barros.pena@linux.intel.com> References: <1465478673-23191-1-git-send-email-belen.barros.pena@linux.intel.com> Subject: [PATCH 10/20] toaster: build data Task details to Bootstrap 3 X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 13:37:58 -0000 Make sure the task details page displays correctly with Bootstrap 3. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/templates/task.html | 159 +++++++++++++++------ 1 file changed, 112 insertions(+), 47 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 77391b4..86789bd 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html @@ -13,19 +13,20 @@
- {% elif task.sstate_result == task.SSTATE_FAILED%} -
+
Failed to restore output from sstate cache. The file was found but could not be unpacked.
@@ -193,13 +245,16 @@ {% endif %}
- + Task order
{{task.order}}
{% if task.task_executed %}
- + Task script type
{{task.get_script_type_display}}
@@ -212,29 +267,31 @@
{{task.source_url}}
-->
- + Dependencies
-
- + Reverse dependencies
-
@@ -245,28 +302,36 @@
{% if task.elapsed_time %}
- + Time (secs)
{{task.elapsed_time|format_none_and_zero|floatformat:2}}
{% endif %} {% if task.cpu_time_user > 0 %}
- + User CPU time (secs)
{{task.cpu_time_user|format_none_and_zero|floatformat:2}}
{% endif %} {% if task.cpu_time_system > 0 %}
- + System CPU time (secs)
{{task.cpu_time_system|format_none_and_zero|floatformat:2}}
{% endif %} {% if task.disk_io > 0 %}
- + Disk I/O (bytes)
{{task.disk_io|format_none_and_zero|intcomma}}
-- 1.9.1