Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2BACCE00D63; Thu, 9 Jun 2016 06:37:53 -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 C27DBE00D4C for ; Thu, 9 Jun 2016 06:37:49 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 09 Jun 2016 06:37:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,444,1459839600"; d="scan'208";a="118949866" Received: from icarus.isw.intel.com ([10.237.224.37]) by fmsmga004.fm.intel.com with ESMTP; 09 Jun 2016 06:37:29 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Thu, 9 Jun 2016 14:24:15 +0100 Message-Id: <1465478673-23191-3-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 02/20] toaster: build data Build dashboard 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:53 -0000 Make sure the build dashboard page displays correctly with Bootstrap 3. Signed-off-by: Belen Barros Pena --- .../lib/toaster/toastergui/static/css/default.css | 31 ++++- .../toastergui/templates/basebuildpage.html | 2 +- .../toastergui/templates/builddashboard.html | 131 ++++++++++----------- .../toaster/toastergui/templates/customrecipe.html | 2 +- .../toastergui/templates/recipedetails.html | 2 +- 5 files changed, 93 insertions(+), 75 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 30328fd..c275dbb 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -24,9 +24,9 @@ img.logo { height: 30px; vertical-align: bottom; } /* Increase bottom margin of definition lists inside popovers for the Toaster version information in the top navbar, and also inside the right hand columns of our details pages */ .popover-content dd, -.well dd { margin-bottom: 15px; } +.item-info dd { margin-bottom: 15px; } -/* Style the horizonal definition lists */ +/* Style the horizontal definition lists */ .dl-horizontal dt { width: 200px; line-height: 25px; } .dl-horizontal dd { margin-left: 220px; line-height: 25px; } @@ -246,3 +246,30 @@ code { color: #333; background-color: transparent; } /* Style the Toaster screenshot in the landing page */ .img-thumbnail { padding: 0; } + +/* Set the layout for the build information pages */ + +#nav { margin-top: 10px; } +.page-header.build-data { margin-top: 0px; } +.build-data > h1 { margin-top: 8px; } + +/* Style the build outcome information in the build dashboard */ +.log { margin-left: 30px; } +.show-warnings { font-weight: 700; color: #8a6d3b; } +.show-warnings:hover { color: #66512c; } + +/* Style the errors and warnings information in the build dashboard */ +#errors .panel-heading { background-color: transparent; color: #843534; } +#warnings .panel-heading { background-color: transparent; color: #8a6d3b; } +#warnings .panel-heading a:hover { color: #66512c; } +h2.panel-title { font-size: 30px; } +.alert-danger pre, +.alert-warning pre { background-color: transparent; border: none; } +.alert-danger pre { color: #a94442; } +#error-info pre, +#warning-info pre { white-space: pre-wrap; } +.alert-warning pre { color: #8a6d3b; } + +/* Style the wells in the build dashboard */ +.dashboard-section h3 { margin-top: 10px; margin-bottom: 20px; } +.col-md-4.dashboard-section dd { margin-bottom: 10px; } diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 755c538..6162606 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -44,7 +44,7 @@