ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject ambari git commit: AMBARI-8826 Metrics Dropdown Dashboard Should Be Independent Dropdown (wangy6 via jaoki)
Date Mon, 19 Jan 2015 21:02:32 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk a0c5d8f23 -> 8c940368c


AMBARI-8826 Metrics Dropdown Dashboard Should Be Independent Dropdown (wangy6 via jaoki)


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

Branch: refs/heads/trunk
Commit: 8c940368cc54f19437fcfc9f809b4abe23ebd265
Parents: a0c5d8f
Author: Jun Aoki <jaoki@apache.org>
Authored: Mon Jan 19 13:02:12 2015 -0800
Committer: Jun Aoki <jaoki@apache.org>
Committed: Mon Jan 19 13:02:12 2015 -0800

----------------------------------------------------------------------
 ambari-web/app/styles/application.less              | 9 +--------
 ambari-web/app/templates/main/dashboard/widgets.hbs | 5 ++++-
 2 files changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8c940368/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 0891740..5f375d4 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -3010,14 +3010,7 @@ table.graphs {
   > ul.nav.nav-tabs {
     margin-bottom: 10px;
   }
-  > ul.nav.nav-tabs > li.active > a, .nav-pills > li.active > a {
-    padding-right: 18px;
-  }
   #widgets-options-menu {
-    position: relative;
-    top: -39px;
-    left: 62px;
-    width: 15px;
     .dropdown-submenu {
       &> a:after {
         border-left-color: #333;
@@ -3058,7 +3051,7 @@ table.graphs {
   }
   .dashboard-widgets-box {
     position: relative;
-    top: -20px;
+    top: 4px;
   }
   h4{
     line-height: 30px;

http://git-wip-us.apache.org/repos/asf/ambari/blob/8c940368/ambari-web/app/templates/main/dashboard/widgets.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/dashboard/widgets.hbs b/ambari-web/app/templates/main/dashboard/widgets.hbs
index c462b68..56e681d 100644
--- a/ambari-web/app/templates/main/dashboard/widgets.hbs
+++ b/ambari-web/app/templates/main/dashboard/widgets.hbs
@@ -18,7 +18,10 @@
 {{#if view.isDataLoaded}}
 
   <div id="widgets-options-menu" class="dropdown">
-    <a class="dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
+    <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+        <span>Metric Actions</span>
+        <span class="caret"></span>
+    </a>
     <ul class="dropdown-menu">
       <li class="dropdown-submenu add-widgets-text">
         <a href="javascript:void(null);"><i class="icon-plus"></i> &nbsp;
{{t common.add}}</a>


Mime
View raw message