Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C7383200C0C for ; Mon, 30 Jan 2017 10:01:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C5AE7160B4D; Mon, 30 Jan 2017 09:01:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1883E160B41 for ; Mon, 30 Jan 2017 10:01:02 +0100 (CET) Received: (qmail 66222 invoked by uid 500); 30 Jan 2017 09:01:02 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 66213 invoked by uid 99); 30 Jan 2017 09:01:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2017 09:01:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1711FDFBAD; Mon, 30 Jan 2017 09:01:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pallavkul@apache.org To: commits@ambari.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-19752. Hive View 2.0 execute button needs some feedback (pallavkul) Date: Mon, 30 Jan 2017 09:01:02 +0000 (UTC) archived-at: Mon, 30 Jan 2017 09:01:04 -0000 Repository: ambari Updated Branches: refs/heads/branch-2.5 fe1523fcb -> c9ab7a680 AMBARI-19752. Hive View 2.0 execute button needs some feedback (pallavkul) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c9ab7a68 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c9ab7a68 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c9ab7a68 Branch: refs/heads/branch-2.5 Commit: c9ab7a68004582f7a69faed5249ca2dd167fcae1 Parents: fe1523f Author: pallavkul Authored: Mon Jan 30 14:27:44 2017 +0530 Committer: pallavkul Committed: Mon Jan 30 14:30:42 2017 +0530 ---------------------------------------------------------------------- contrib/views/hive20/src/main/resources/ui/app/services/jobs.js | 4 ---- contrib/views/hive20/src/main/resources/ui/app/styles/app.scss | 4 ++++ .../hive20/src/main/resources/ui/app/templates/queries/query.hbs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js b/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js index ff54152..5db22d0 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js +++ b/contrib/views/hive20/src/main/resources/ui/app/services/jobs.js @@ -27,16 +27,12 @@ export default Ember.Service.extend({ }, waitForJobToComplete(jobId, after, fetchDummyResult = true) { - console.log() return new Ember.RSVP.Promise((resolve, reject) => { Ember.run.later(() => { this.get('store').findRecord('job', jobId, { reload: true }) .then((job) => { let status = job.get('status').toLowerCase(); if (status === 'succeeded') { - if (fetchDummyResult) { - this._fetchDummyResult(jobId); - } resolve(status); } else if (status === 'error') { reject(status) http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss b/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss index e178222..17abb65 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss +++ b/contrib/views/hive20/src/main/resources/ui/app/styles/app.scss @@ -41,6 +41,10 @@ height: 100%; } +.fa-1-5{ + font-size: 1.5em; +} + .fa-2 { font-size: 2em; } http://git-wip-us.apache.org/repos/asf/ambari/blob/c9ab7a68/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs index 9e9e542..7f91d6c 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs +++ b/contrib/views/hive20/src/main/resources/ui/app/templates/queries/query.hbs @@ -31,7 +31,7 @@ {{#if isQueryRunning}} - + {{fa-icon "spinner fa-1-5" spin=true}} {{/if}}