Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 04863E00DA4; Tue, 24 May 2016 04:55:23 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DC33DE00C40 for ; Tue, 24 May 2016 04:52:59 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 24 May 2016 04:52:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208,217";a="961194207" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:59 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:39:12 +0100 Message-Id: <1464090003-23469-56-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 055/106] toaster: Fix landing 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:55:23 -0000 Layout was messed up due to changes in Bootstrap 3. Signed-off-by: Belen Barros Pena --- .../toastergui/static/css/bootstrap3-transition.css | 21 +++++++++++++++++++++ .../lib/toaster/toastergui/templates/landing.html | 11 ++++------- 2 files changed, 25 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 a832b4d..1f4f7d0 100644 --- a/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css +++ b/bitbake/lib/toaster/toastergui/static/css/bootstrap3-transition.css @@ -208,3 +208,24 @@ a.toggle-errors:focus, a.toggle-warnings:focus { outline: none; } + +/* Landing page */ + +.jumbotron p { + margin-top: 20px; + margin-bottom: 30px; +} + +.jumbotron ul { + margin-left: 10px; + font-size: 21px; + font-weight: 200; +} + +.jumbotron ul > li { + line-height: 30px; +} + +.jumbotron .img-thumbnail { + padding: 0; +} diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html index b19eb5f..0fdf033 100644 --- a/bitbake/lib/toaster/toastergui/templates/landing.html +++ b/bitbake/lib/toaster/toastergui/templates/landing.html @@ -6,10 +6,8 @@ {% block title %} Welcome to Toaster {% endblock %} {% block pagecontent %} -
-
-
+

This is Toaster

@@ -17,8 +15,8 @@

A web interface to OpenEmbedded and BitBake, the Yocto Project build system.

{% if lvs_nos %} -

- +

+ To start building, create your first Toaster project

@@ -55,8 +53,7 @@ Yocto Project
-
-
+ {% endblock %} -- 1.9.1