Return-Path: X-Original-To: apmail-continuum-commits-archive@www.apache.org Delivered-To: apmail-continuum-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0346176CB for ; Sat, 14 Feb 2015 16:50:47 +0000 (UTC) Received: (qmail 18080 invoked by uid 500); 14 Feb 2015 16:50:47 -0000 Delivered-To: apmail-continuum-commits-archive@continuum.apache.org Received: (qmail 18035 invoked by uid 500); 14 Feb 2015 16:50:47 -0000 Mailing-List: contact commits-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list commits@continuum.apache.org Received: (qmail 18026 invoked by uid 99); 14 Feb 2015 16:50:47 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 16:50:47 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 433ACAC0016 for ; Sat, 14 Feb 2015 16:50:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1659811 - in /continuum/trunk/continuum-webapp/src/main/webapp: WEB-INF/jsp/buildResult.jsp css/continuum.css Date: Sat, 14 Feb 2015 16:50:46 -0000 To: commits@continuum.apache.org From: batkinson@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150214165047.433ACAC0016@hades.apache.org> Author: batkinson Date: Sat Feb 14 16:50:46 2015 New Revision: 1659811 URL: http://svn.apache.org/r1659811 Log: Added in-progress indicator to output when tailing. Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp continuum/trunk/continuum-webapp/src/main/webapp/css/continuum.css Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp?rev=1659811&r1=1659810&r2=1659811&view=diff ============================================================================== --- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp (original) +++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResult.jsp Sat Feb 14 16:50:46 2015 @@ -49,9 +49,18 @@ $('#noBuildOutput').show(); } } - toggleOutput(); // Show appropriate initial controls + function showTail(show) { + var $oa = $('#outputArea'), tailClass = 'tail-output'; + if (show) { + $oa.addClass(tailClass); + } else { + $oa.removeClass(tailClass); + } + } + showTail(buildInProgress); // Show tail indicator if in-progress + function scrollToBottom($textArea) { var newHeight = $textArea.attr('scrollHeight'); $textArea.attr('scrollTop', newHeight); @@ -79,6 +88,7 @@ if (autoScroll) { scrollToBottom($ta); } + showTail(parsed.buildInProgress); if (!parsed.buildInProgress) { location.reload(); // reload page when complete } Modified: continuum/trunk/continuum-webapp/src/main/webapp/css/continuum.css URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/css/continuum.css?rev=1659811&r1=1659810&r2=1659811&view=diff ============================================================================== --- continuum/trunk/continuum-webapp/src/main/webapp/css/continuum.css (original) +++ continuum/trunk/continuum-webapp/src/main/webapp/css/continuum.css Sat Feb 14 16:50:46 2015 @@ -32,6 +32,10 @@ td.tdLabel { font-family: monospace; } +.tail-output { + background: url(/images/building.gif) 5px 479px no-repeat +} + .pre-wrap { white-space: pre-wrap; white-space: -moz-pre-wrap;