Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 85661E00BE2; Fri, 16 Oct 2015 09:25:37 -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.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 293B4E00B88 for ; Fri, 16 Oct 2015 09:25:35 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 16 Oct 2015 09:25:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,689,1437462000"; d="scan'208";a="812716882" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga001.fm.intel.com with ESMTP; 16 Oct 2015 09:25:34 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.151]) by IRSMSX154.ger.corp.intel.com ([169.254.12.252]) with mapi id 14.03.0248.002; Fri, 16 Oct 2015 17:25:32 +0100 From: "Barros Pena, Belen" To: "Smith, Elliot" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request][PATCH 0/6] Hide all projects except command-line builds in analysis mode Thread-Index: AQHRCC9HElEdaS/t/0SREL5a0xqWKQ== Date: Fri, 16 Oct 2015 16:25:31 +0000 Message-ID: References: <1445005977-14892-1-git-send-email-elliot.smith@intel.com> In-Reply-To: <1445005977-14892-1-git-send-email-elliot.smith@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.6.150930 x-originating-ip: [10.252.22.129] MIME-Version: 1.0 Subject: Re: [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 16:25:37 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <5AAD38DE14D0D549B56C0AB38842231C@intel.com> Content-Transfer-Encoding: quoted-printable On 16/10/2015 15:32, "toaster-bounces@yoctoproject.org on behalf of Elliot Smith" wrote: >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 This works for me. Thanks! Bel=E9n >http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=3Delliot/toaster/= hi >de_new_project_buttons-8514 > >Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D8514 > >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. > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster