Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mail.openembedded.org (Postfix) with ESMTP id CC42776FF2 for ; Fri, 4 Sep 2015 10:05:59 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 04 Sep 2015 03:06:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,468,1437462000"; d="scan'208";a="797677880" Received: from unknown (HELO lp.ger.corp.intel.com) ([10.252.26.200]) by orsmga002.jf.intel.com with ESMTP; 04 Sep 2015 03:05:59 -0700 From: Elliot Smith To: bitbake-devel@lists.openembedded.org Date: Fri, 4 Sep 2015 11:05:19 +0100 Message-Id: <1441361119-30697-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [PATCH] toaster: Changes to navigation X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussion that advance bitbake development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2015 10:06:02 -0000 From: Belen Barros Pena This patch: * Changes the breadcrumb to provide access to either the project builds or the project configuration, as appropriate * Changes the left navigation in the project configuration to reflect the hierarchical relationship between the basic configuration and all other configuration pages * Changes the left navigation in the build history to bring it in line with the changes in the project configuration This way the breadcrumb explicitly exposes the hierarchy of the application, which is its correct behaviour, making it easier to move around within Toaster. Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith --- bitbake/lib/toaster/toastergui/static/css/default.css | 5 +++++ .../lib/toaster/toastergui/templates/basebuilddetailpage.html | 5 +++-- bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 11 +++++++++-- bitbake/lib/toaster/toastergui/templates/baseprojectpage.html | 6 +++--- bitbake/lib/toaster/toastergui/templates/layerdetails.html | 5 +++-- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 9723db3..cce3e31 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css @@ -10,6 +10,7 @@ /* Style the breadcrumb */ .breadcrumb { display: inline-block; background-color: transparent; } +.breadcrumb li:first-child { padding-right: 10px; } /* Styles for the help information */ .get-help { color: #CCCCCC; } @@ -112,6 +113,10 @@ th > a, th > span { font-weight: normal; } .btn-group + .btn-group { margin-right: 10px; } .navbar-inner > .btn-group { margin-top: 6px; } +/* Styles for the parent item in the left navigation */ + +.nav > li > a.nav-parent { font-size: 18px; line-height: 25px; } + /* Other styles */ .dropdown-menu { padding: 10px; } select { width: auto; } diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html index 8657845..22ca50c 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html @@ -6,7 +6,8 @@
@@ -14,7 +15,7 @@ $( function () { $('#breadcrumb > li').append('→'); $('#breadcrumb > li:last').addClass("active"); - $('#breadcrumb > li:last > span').remove(); + $('#breadcrumb > li:last > span, #breadcrumb > li:first > span').remove(); });
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index f399ba4..d441df8 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -8,7 +8,8 @@