Repository: ambari
Updated Branches:
  refs/heads/trunk 3811e1921 -> d7c5a1bbf


AMBARI-15701. Host filter: minor UX edits (rzang)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d7c5a1bb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d7c5a1bb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d7c5a1bb

Branch: refs/heads/trunk
Commit: d7c5a1bbf3db24292dadfe919b010c174e86d387
Parents: 3811e19
Author: Richard Zang <[email protected]>
Authored: Mon Apr 4 16:41:54 2016 -0700
Committer: Richard Zang <[email protected]>
Committed: Tue Apr 5 11:46:54 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/styles/application.less          | 30 ++++++++++++++++----
 .../app/views/main/host/combo_search_box.js     |  4 +--
 2 files changed, 26 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d7c5a1bb/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index 7c057ac..61ccbfa 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -6200,13 +6200,31 @@ input[type="radio"].align-checkbox, 
input[type="checkbox"].align-checkbox {
 }
 
 #combo_search_box {
-  .VS-search-box {
-    border-radius: 4px;
-    box-shadow: 0 0 1px #fff inset;
-  }
+  .VS-search {
+    .VS-search-box {
+      border-radius: 4px;
+      box-shadow: 0 0 1px #fff inset;
+    }
+
+    .VS-placeholder {
+      color: #ccc;
+    }
 
-  .VS-placeholder {
-    color: #ccc;
+    .search_facet {
+      border-radius: 4px;
+      .category {
+        margin-left: 3px;
+      }
+      .search_facet_remove {
+        left: 3px;
+      }
+      &.not_selected {
+        border: 1px solid #d2d2d2;
+        background-image: -moz-linear-gradient(top, #fdfdfd, #e3e3e3); /* 
FF3.6 */
+        background-image: -webkit-gradient(linear, left top, left bottom, 
from(#fdfdfd), to(#e3e3e3)); /* Saf4+, Chrome */
+        background-image: linear-gradient(top, #fdfdfd, #e3e3e3);
+      }
+    }
   }
 }
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/d7c5a1bb/ambari-web/app/views/main/host/combo_search_box.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/combo_search_box.js 
b/ambari-web/app/views/main/host/combo_search_box.js
index b31fe81..d8e5abf 100644
--- a/ambari-web/app/views/main/host/combo_search_box.js
+++ b/ambari-web/app/views/main/host/combo_search_box.js
@@ -93,7 +93,7 @@ App.MainHostComboSearchBoxView = Em.View.extend({
           var list = [
             {label: 'Host Name', category: 'Host'},
             {label: 'IP', category: 'Host'},
-            {label: 'Heath Status', category: 'Host'},
+            {label: 'Host Status', category: 'Host'},
             {label: 'Cores', category: 'Host'},
             {label: 'RAM', category: 'Host'},
             {label: 'Stack Version', category: 'Host'},
@@ -104,7 +104,7 @@ App.MainHostComboSearchBoxView = Em.View.extend({
           var map = App.router.get('mainHostController.labelValueMap');
           map['Host Name'] = 'hostName';
           map['IP'] = 'ip';
-          map['Heath Status'] = 'healthClass';
+          map['Host Status'] = 'healthClass';
           map['Cores'] = 'cpu';
           map['RAM'] = 'memoryFormatted';
           map['Stack Version'] = 'version';

Reply via email to