Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D5FEAE00CFE; Tue, 24 May 2016 04:53:06 -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 A0A04E00B30 for ; Tue, 24 May 2016 04:52:33 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961193973" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:33 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:41 +0100 Message-Id: <1464090003-23469-25-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 024/106] toaster: Fix layer 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:06 -0000 Adapt layout to Bootstrap 3 grid. Signed-off-by: Belen Barros Pena --- .../static/css/bootstrap3-transition.css | 17 ++++++++ .../toaster/toastergui/templates/layerdetails.html | 48 ++++++++++++---------- .../toastergui/templates/toastertable-simple.html | 4 +- 3 files changed, 46 insertions(+), 23 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css index ae861a7..714c30a 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -18,6 +18,7 @@ margin-left: 50%; } + select[class^="pagesize-"]{ margin-bottom: 0; } @@ -80,3 +81,19 @@ fieldset[disabled] .btn-primary:hover { .navbar-search .input-append input[type="text"] { width: 80%; } + +/* Definition lists in the layer details page */ + +#information .dl-horizontal dd { + margin-left: 220px; +} + +#information .dl-horizontal dt { + width: 200px; +} + +/* Table controls in layer details pages */ + +div[id^="table-chrome-"] .navbar-search { + margin-bottom: 20px; +} diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 2f254da..dc6018b 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -6,7 +6,7 @@ {% block title %} {{layerversion.layer.name}} - {{project.name}} - Toaster {% endblock %} {% block pagecontent %} -
+
+
-
+
-
-

About {{layerversion.layer.name}}

-
+
+
+

About {{layerversion.layer.name}}

+
-
+
Summary -
-
+ +
{{layerversion.layer.summary|default_if_none:''}}
@@ -249,8 +253,8 @@
Description -
-
+ +
{{layerversion.layer.description|default_if_none:''}} @@ -266,10 +270,12 @@
layer index link -
- {% endif %} + + {% endif %} -
+
+
+
{% endblock %} diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html index 6ef220b..4357872 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html @@ -26,7 +26,7 @@ {% include 'toastertable-filter.html' %} -