Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C5DFBE00C80; Tue, 24 May 2016 04:54: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 C6058E00CA4 for ; Tue, 24 May 2016 04:52:47 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961194037" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:47 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:58 +0100 Message-Id: <1464090003-23469-42-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 041/106] toaster: Remove the pagination-centered class 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:53 -0000 It didn't do a very good job in centering the pagination controls across our different types of tables. Removing this class left-aligns the pagination to the table. It should still work fine, and makes things easier. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css | 5 ----- bitbake/lib/toaster/toastergui/templates/basetable_bottom.html | 2 +- .../lib/toaster/toastergui/templates/detail_pagination_bottom.html | 2 +- bitbake/lib/toaster/toastergui/templates/toastertable-simple.html | 2 +- bitbake/lib/toaster/toastergui/templates/toastertable.html | 2 +- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css index 26e468f..f8a5f9d 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -14,11 +14,6 @@ margin: 0 0 40px 0; } -.pagination-centered { - margin-left: 50%; -} - - select[class^="pagesize"] { margin-bottom: 0; } diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html index 80d5e11..96f405c 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_bottom.html @@ -5,7 +5,7 @@
-
    +
      {%if objects.has_previous %}
    • «
    • {%else%} diff --git a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html index a2ee6b2..211548b 100644 --- a/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html +++ b/bitbake/lib/toaster/toastergui/templates/detail_pagination_bottom.html @@ -7,7 +7,7 @@ {# only paginate if 10 or more rows unfiltered, all pages #} {% if object_count >= 10 %}
      -
        +
          {%if objects.has_previous %}
        • «
        • {%else%} diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html index c713524..e0a203d 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html @@ -77,7 +77,7 @@
          -
            +
            diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable.html b/bitbake/lib/toaster/toastergui/templates/toastertable.html index 73724b5..4f79632 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable.html @@ -91,7 +91,7 @@
            -
              +
              -- 1.9.1