Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 71F73E00B4F; Tue, 24 May 2016 04:52:19 -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 F2046E00B97 for ; Tue, 24 May 2016 04:52:16 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961193839" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:16 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:22 +0100 Message-Id: <1464090003-23469-6-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 005/106] toaster: Fix layout of 'All builds' page 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:52:19 -0000 From: Belen Adapt the layout to the Bootstrap 3 grid rules. Signed-off-by: Belen --- .../toaster/toastergui/static/css/bootstrap3-transition.css | 10 ++++++++++ .../lib/toaster/toastergui/templates/builds-toastertable.html | 6 ++++-- bitbake/lib/toaster/toastergui/templates/mrb_section.html | 2 +- bitbake/lib/toaster/toastergui/templates/toastertable.html | 8 ++++---- 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css index d3297e3..6f5b1f0 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -11,3 +11,13 @@ .navbar .btn-group .btn#new-project-button { margin-top: 5px; } + +/* Changes to the tables pagination */ + +.pagination { + margin: 0 0 40px 0; +} + +.pagination-centered { + margin-left: 50%; +} diff --git a/bitbake/lib/toaster/toastergui/templates/builds-toastertable.html b/bitbake/lib/toaster/toastergui/templates/builds-toastertable.html index 505a568..9b4f3fe 100644 --- a/bitbake/lib/toaster/toastergui/templates/builds-toastertable.html +++ b/bitbake/lib/toaster/toastergui/templates/builds-toastertable.html @@ -13,12 +13,14 @@ {% block pagecontent %} -
+
{% with mru=mru mrb_type=mrb_type %} {% include 'mrb_section.html' %} {% endwith %} -

+ {% url 'builds' as xhr_table_url %} {% include 'toastertable.html' %} diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 9d92010..4ec5885 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -29,7 +29,7 @@ {% endif %} {% else %} -