From patchwork Tue Jun 11 12:22:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stevan Radakovic X-Patchwork-Id: 17797 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6619D25E1A for ; Tue, 11 Jun 2013 12:22:21 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id jz10sf8408769veb.9 for ; Tue, 11 Jun 2013 05:22:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:x-launchpad-project:x-launchpad-branch :x-launchpad-message-rationale:x-launchpad-branch-revision-number :x-launchpad-notification-type:to:from:subject:message-id:date :reply-to:sender:errors-to:precedence:x-generated-by :x-launchpad-hash:x-gm-message-state:x-original-sender :x-original-authentication-results:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=vtfeJV1ywloKv1jJ7vL0DsVnrn3EEf7RoQAgVfsGFS8=; b=KtFrtpouycz3xwW1z/auDLsBl1jDY4S2YweTLi9mZ2QDapbCTEsofR5PHTfmzohMFW b12xUk7aKvwp9wDHOAWByeL8psxk6w05ZoHdtbIED0s6eo2d8CQ+1Xx087Wd3TQ9xrT2 4z7d+f+4k6Wi9NxrSAz6Dqt6OqRuswL5iVTzQbEU9Xxq1BjUQIbkgJaurYzmR33i/VsU zwk0yivVf6QP61IHWayH0QEZ0YDRaPzmz2MGJLmG/BI3h1DtoG+eS0E0QY+1jkh5VOlF ISt1EvNIdTWhhBZlgJUaPodzm2H2PLXRg/fOaric0f1ZiHdxP+tj6zyaj2M8Y+XUw8cL Dqgg== X-Received: by 10.224.59.205 with SMTP id m13mr10781591qah.7.1370953340874; Tue, 11 Jun 2013 05:22:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.97.103 with SMTP id dz7ls2368676qeb.96.gmail; Tue, 11 Jun 2013 05:22:20 -0700 (PDT) X-Received: by 10.58.34.69 with SMTP id x5mr7129599vei.11.1370953340354; Tue, 11 Jun 2013 05:22:20 -0700 (PDT) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [2607:f8b0:400c:c02::22d]) by mx.google.com with ESMTPS id to9si6771042vdc.149.2013.06.11.05.22.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:22:20 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22d; Received: by mail-vb0-f45.google.com with SMTP id p14so2946016vbm.18 for ; Tue, 11 Jun 2013 05:22:20 -0700 (PDT) X-Received: by 10.52.53.36 with SMTP id y4mr6546436vdo.51.1370953340166; Tue, 11 Jun 2013 05:22:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp106503vcb; Tue, 11 Jun 2013 05:22:19 -0700 (PDT) X-Received: by 10.180.85.71 with SMTP id f7mr1175548wiz.31.1370953338784; Tue, 11 Jun 2013 05:22:18 -0700 (PDT) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fb8si5183881wjd.158.2013.06.11.05.22.18 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:22:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UmNac-0007Ao-6G for ; Tue, 11 Jun 2013 12:22:18 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 21380E0246 for ; Tue, 11 Jun 2013 12:22:18 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dashboard X-Launchpad-Branch: ~linaro-validation/lava-dashboard/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 405 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dashboard/trunk] Rev 405: Image reports revamp. Includes new filters in the page as well as the graph for test results. Rev... Message-Id: <20130611122218.16829.59346.launchpad@ackee.canonical.com> Date: Tue, 11 Jun 2013 12:22:18 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: list X-Generated-By: Launchpad (canonical.com); Revision="16667"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 80305a096a35b64b0712991d7612f91da3a26a4d X-Gm-Message-State: ALoCoQm95+Ti8mASEMds88NiP2E4IY8w2UsIYv4DFFo+LOt/Qd6p8O2httCCIegd9raTK3q4cYMR X-Original-Sender: noreply@launchpad.net X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Merge authors: Stevan Radaković (stevanr) Related merge proposals: https://code.launchpad.net/~stevanr/lava-dashboard/image-reports-revamp/+merge/166758 proposed by: Stevan Radaković (stevanr) ------------------------------------------------------------ revno: 405 [merge] committer: Stevan Radakovic branch nick: trunk timestamp: Tue 2013-06-11 14:21:11 +0200 message: Image reports revamp. Includes new filters in the page as well as the graph for test results. Reveiewed by terceiro. added: dashboard_app/static/dashboard_app/js/jquery.flot.dashes.min.js dashboard_app/static/dashboard_app/js/jquery.tooltip.min.js dashboard_app/static/dashboard_app/js/jstorage.min.js modified: dashboard_app/static/dashboard_app/css/image-report.css dashboard_app/static/dashboard_app/js/image-report.js dashboard_app/templates/dashboard_app/image-report.html dashboard_app/views/images.py --- lp:lava-dashboard https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk You are subscribed to branch lp:lava-dashboard. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dashboard/trunk/+edit-subscription === modified file 'dashboard_app/static/dashboard_app/css/image-report.css' --- dashboard_app/static/dashboard_app/css/image-report.css 2012-07-13 04:51:22 +0000 +++ dashboard_app/static/dashboard_app/css/image-report.css 2013-06-10 15:33:53 +0000 @@ -9,7 +9,7 @@ text-align: left; } .inner-table td, .inner-table th { - min-width: 25ex; + min-width: 90px; padding: 3px 4px; border: thin solid black; } @@ -43,3 +43,47 @@ #go-to-bug-dialog { text-align: center; } +#inner-container { + width: 80%; + height:250px; + margin:0 auto; + margin-left: 10px; + float: left; +} +#legend-container { + float: left; + margin-left: 20px; +} +#build_numbers_filter { + margin: 5px 0 0 20px; +} +#outer-container { + overflow: auto; +} +#filters { + border: 1px solid #000000; + clear: both; + margin: 20px 2px 20px 0px; +} +#tests_filter, #graph_type_filter, #target_goal_filter { + margin: 5px 0 10px 20px; +} +#filter_headline { + font-weight: bold; + font-size: 16px; + margin: 5px 0 0 10px; +} +#test_headline, #build_number_headline, #graph_type_headline, #target_goal_headline { + width: 120px; + float: left; +} +#tooltip { + position: absolute; + z-index: 3000; + border: 1px solid #111; + background-color: #eee; + color: #000; + padding: 5px; + opacity: 0.85; +} +#tooltip h3, #tooltip div { margin: 0; } === modified file 'dashboard_app/static/dashboard_app/js/image-report.js' --- dashboard_app/static/dashboard_app/js/image-report.js 2012-08-24 00:24:42 +0000 +++ dashboard_app/static/dashboard_app/js/image-report.js 2013-06-10 15:33:53 +0000 @@ -22,6 +22,260 @@ resultRow.css('height', Math.max(nameRowHeight, resultRowHeight)); } } + +function update_filters(column_data, test_run_names) { + for (iter in column_data) { + build_number = column_data[iter]["number"].split('.')[0]; + $("#build_number_start").append($('