Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1DE77E00B2F; Tue, 24 May 2016 04:54:35 -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 764DBE00C15 for ; Tue, 24 May 2016 04:52:40 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961193994" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:39 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:49 +0100 Message-Id: <1464090003-23469-33-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 032/106] toaster: Alignment of table controls 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:54:35 -0000 Because we have 3 different types of tables (toastertable, toastertable-simple and non-toastertable), making all the controls look the same required some fiddling with the mark up and the css rules. Signed-off-by: Belen Barros Pena --- .../toaster/toastergui/static/css/bootstrap3-transition.css | 10 +++++----- bitbake/lib/toaster/toastergui/templates/basetable_top.html | 4 +++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css index 24f6b63..c5e400e 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -96,12 +96,12 @@ fieldset[disabled] .btn-primary:hover { width: 200px; } -/* Table controls in layer details pages */ +/* Table controls */ -div[id^="table-chrome-"] .navbar-search { - margin-bottom: 20px; +.navbar-inner > .navbar-search .input-append { + margin-bottom: 5px; } -div[id^="table-chrome-"] .navbar-inner > .navbar-search { - margin-bottom: 0px; +.navbar-search.input-append { + margin-bottom: 20px; } diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index afd6aad..65ee17f 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html @@ -161,11 +161,13 @@