Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3EAF8E00BDC; Fri, 16 Oct 2015 07:33:05 -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 CA35DE00BD2 for ; Fri, 16 Oct 2015 07:33:03 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 16 Oct 2015 07:33:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,689,1437462000"; d="scan'208";a="582182938" Received: from bbryczek-mobl.ger.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.3.107]) by FMSMGA003.fm.intel.com with ESMTP; 16 Oct 2015 07:33:01 -0700 From: Elliot Smith To: toaster@yoctoproject.org Date: Fri, 16 Oct 2015 15:32:51 +0100 Message-Id: <1445005977-14892-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [review-request][PATCH 0/6] Hide all projects except command-line builds in analysis mode 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: Fri, 16 Oct 2015 14:33:05 -0000 The UI currently shows all the navigation elements in both analysis and build modes, even if they are irrelevant or broken. As a temporary measure (until we merge the two modes), hide most of the navigation and UI elements when in analysis mode, so the user only gets to see the command-line builds project. Changes since a9053ac0829eb01f6f002587854d01e47a78e6f0 (poky master) are in git://git.yoctoproject.org/poky-contrib, elliot/toaster/hide_new_project_buttons-8514 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/hide_new_project_buttons-8514 Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8514 Elliot Smith (6): toaster: Add BUILD_MODE flag to context toaster: Show mode-appropriate landing page toaster: Hide top bar buttons in analysis mode toaster: Hide builds for non-cli projects in analysis mode toaster: Run tests in build mode toaster: Remove all navigation when not in build mode bitbake/lib/toaster/toastergui/templates/base.html | 22 +++-- .../lib/toaster/toastergui/templates/landing.html | 103 ++++++++++++--------- bitbake/lib/toaster/toastergui/tests.py | 6 ++ bitbake/lib/toaster/toastergui/views.py | 36 ++++++- bitbake/lib/toaster/toastermain/settings.py | 6 +- bitbake/lib/toaster/toastermain/urls.py | 2 +- 6 files changed, 113 insertions(+), 62 deletions(-) -- Elliot Smith Software Engineer Intel OTC --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.