You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/01/19 22:02:32 UTC
ambari git commit: AMBARI-8826 Metrics Dropdown Dashboard Should Be
Independent Dropdown (wangy6 via jaoki)
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 <ja...@apache.org>
Authored: Mon Jan 19 13:02:12 2015 -0800
Committer: Jun Aoki <ja...@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> {{t common.add}}</a>