Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0BE62E00DFA; Tue, 24 May 2016 04:55:50 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1C499E00C65 for ; Tue, 24 May 2016 04:53:17 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 24 May 2016 04:53:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961194455" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:53:16 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:39:33 +0100 Message-Id: <1464090003-23469-77-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464090003-23469-1-git-send-email-belen.barros.pena@linux.intel.com> References: <1464090003-23469-1-git-send-email-belen.barros.pena@linux.intel.com> Subject: [PATCH 076/106] toaster: 'Project builds' page 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: Tue, 24 May 2016 11:55:50 -0000 Some small changes to make sure the page displays properly with Bootstrap 3. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/static/css/default.css | 6 ++++++ bitbake/lib/toaster/toastergui/templates/mrb_section.html | 14 ++++++-------- .../toastergui/templates/projectbuilds-toastertable.html | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 795fe41..676f39a 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -121,3 +121,9 @@ h3 > .glyphicon-question-sign { font-size: 14px; } #layers-in-project-list .tooltip-inner { max-width: 600px; } #no-layers-in-project { margin-top: 20px; } #no-layers-in-project ul { margin-top: 10px; } + +/* Create a class for additional top margin that we can use in headings */ +.top-air { margin-top: 40px; } + +/* Add some bottom margin to our h2's */ +h2 { margin-bottom: 25px; } diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index ffb268d..100f680 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -21,15 +21,13 @@ {%if mru and mru.count > 0%} {%if mrb_type == 'project' %} - + {% if project.is_default %} + + {% endif %} + {% else %}