Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E25DDE00CDE; Tue, 24 May 2016 04:53:01 -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 D6F35E00C4B for ; Tue, 24 May 2016 04:52:30 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961193963" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:30 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:38 +0100 Message-Id: <1464090003-23469-22-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 021/106] toaster: Fix "custom image details" layout 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:53:01 -0000 Set the right grid markup for the page content, and correctly align content and breadcrumb. The patch also sets a sane length for the table search input field. Signed-off-by: Belen Barros Pena --- .../static/css/bootstrap3-transition.css | 18 +++ .../toaster/toastergui/templates/customrecipe.html | 124 +++++++++++---------- .../toaster/toastergui/templates/toastertable.html | 2 +- 3 files changed, 82 insertions(+), 62 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css index 497163b..ae861a7 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -35,6 +35,10 @@ ul.configuration-list { /* Breadcrumbs */ +.breadcrumb { + padding: 8px 0; +} + .breadcrumb > li + li::before { content: ""; } @@ -62,3 +66,17 @@ fieldset[disabled] .btn-primary:hover { background-color: #04c; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); } + +/* Table search input field */ + +.navbar-search { + width: 60%; +} + +.navbar-search .input-append { + width: 90%; +} + +.navbar-search .input-append input[type="text"] { + width: 80%; +} diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html index 6dbdf47..0cac42f 100644 --- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html +++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html @@ -5,7 +5,7 @@ {% block pagecontent %} {% with recipe.get_base_recipe_file as base_recipe_file %} -
+
- -
- -