You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2015/10/13 19:14:51 UTC
ambari git commit: AMBARI-13330. [Hive View] UI issue with Hive View
in old Firefox browser (Pallav Kulshreshtha via srimanth)
Repository: ambari
Updated Branches:
refs/heads/branch-2.1 cc4eb83f4 -> d7b8dc907
AMBARI-13330. [Hive View] UI issue with Hive View in old Firefox browser (Pallav Kulshreshtha via srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d7b8dc90
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d7b8dc90
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d7b8dc90
Branch: refs/heads/branch-2.1
Commit: d7b8dc9070b0b05b6257adae8c80db2c11075df9
Parents: cc4eb83
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Tue Oct 13 10:14:26 2015 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Tue Oct 13 10:14:26 2015 -0700
----------------------------------------------------------------------
.../resources/ui/hive-web/app/components/typeahead-widget.js | 3 +++
.../hive/src/main/resources/ui/hive-web/app/styles/app.scss | 5 +++++
.../ui/hive-web/app/templates/components/navbar-widget.hbs | 2 +-
.../src/main/resources/ui/hive-web/app/templates/databases.hbs | 4 ++--
4 files changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d7b8dc90/contrib/views/hive/src/main/resources/ui/hive-web/app/components/typeahead-widget.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/components/typeahead-widget.js b/contrib/views/hive/src/main/resources/ui/hive-web/app/components/typeahead-widget.js
index b38c891..f9233a0 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/components/typeahead-widget.js
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/components/typeahead-widget.js
@@ -28,6 +28,9 @@ export default Typeahead.extend(Ember.I18n.TranslateableProperties, {
}
this.selectize.on('dropdown_close', Ember.$.proxy(this.onClose, this));
+
+ if($('.selectize-input')) {$('.selectize-input').addClass( "mozBoxSizeFix" );}
+
},
removeExcludedObserver: function () {
http://git-wip-us.apache.org/repos/asf/ambari/blob/d7b8dc90/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/app.scss
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/app.scss b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/app.scss
index 5283daf..bf271c4 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/app.scss
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/styles/app.scss
@@ -254,6 +254,7 @@ dropdown .fa-remove {
.query-container {
position: relative;
padding-right: 0;
+ -moz-box-sizing: border-box;
&.col-md-9 {
@include animate-width(0.25s);
@@ -575,3 +576,7 @@ tree-view ul li {
float: right;
}
}
+
+.mozBoxSizeFix {
+ -moz-box-sizing: border-box;
+}
http://git-wip-us.apache.org/repos/asf/ambari/blob/d7b8dc90/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs
index f8f6bcb..f13f7b5 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/components/navbar-widget.hbs
@@ -26,7 +26,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- {{#link-to "index" classNames="navbar-brand"}}
+ {{#link-to "index" classNames="navbar-brand mozBoxSizeFix"}}
{{view.title}}
{{/link-to}}
</div>
http://git-wip-us.apache.org/repos/asf/ambari/blob/d7b8dc90/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs
index 068478b..290cdac 100644
--- a/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs
+++ b/contrib/views/hive/src/main/resources/ui/hive-web/app/templates/databases.hbs
@@ -29,7 +29,7 @@
<hr />
{{#if selectedDatabase}}
- {{extended-input class="form-control input-sm"
+ {{extended-input class="form-control input-sm mozBoxSizeFix"
placeholderTranslation="placeholders.search.tables"
valueSearched="searchTables"
value=tableSearchTerm}}
@@ -39,7 +39,7 @@
{{#if tableSearchResults.tables}}
- {{extended-input class="form-control input-sm"
+ {{extended-input class="form-control input-sm mozBoxSizeFix"
placeholderTranslation="placeholders.search.columns"
valueSearched="searchColumns"
value=columnSearchTerm}}