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 2014/08/09 01:22:42 UTC
git commit: AMBARI-6779. Refactor Flume agents table to be more host
centric (srimanth)
Repository: ambari
Updated Branches:
refs/heads/trunk d657fa9cf -> 2792f3085
AMBARI-6779. Refactor Flume agents table to be more host centric (srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2792f308
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2792f308
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2792f308
Branch: refs/heads/trunk
Commit: 2792f3085f52dda2bcb83f9c773980085b59511f
Parents: d657fa9
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Fri Aug 8 16:22:11 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Fri Aug 8 16:22:23 2014 -0700
----------------------------------------------------------------------
ambari-web/app/styles/application.less | 16 ++++++++++++++++
.../app/templates/main/service/services/flume.hbs | 6 +++---
2 files changed, 19 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2792f308/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index b10c772..140184b 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -6706,6 +6706,21 @@ i.icon-asterisks {
color: #666;
}
}
+ th:first-child {
+ width: 40%;
+ }
+ th:first-child + th {
+ width: 40%;
+ }
+ th:first-child + th + th {
+ width: 16px;
+ }
+ th:first-child + th + th + th {
+ width: 16px;
+ }
+ th:first-child + th + th + th + th {
+ width: 16px;
+ }
td.agent-status {
width: 125px;
}
@@ -6752,6 +6767,7 @@ i.icon-asterisks {
}
.flume-agents-actions {
margin: 0 5px 5px 0;
+ float: right;
a {
text-decoration: none;
}
http://git-wip-us.apache.org/repos/asf/ambari/blob/2792f308/ambari-web/app/templates/main/service/services/flume.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/services/flume.hbs b/ambari-web/app/templates/main/service/services/flume.hbs
index bdf5fd8..ecbbf46 100644
--- a/ambari-web/app/templates/main/service/services/flume.hbs
+++ b/ambari-web/app/templates/main/service/services/flume.hbs
@@ -26,9 +26,9 @@
{{#view view.sortView contentBinding="view.filteredContent" class="label-row"}}
{{view view.parentView.hostSort}}
<th>{{t dashboard.services.flume.agent}}</th>
- <th>{{t dashboard.services.flume.sources}}</th>
- <th>{{t dashboard.services.flume.channels}}</th>
- <th>{{t dashboard.services.flume.sinks}}</th>
+ <th><i class="icon-signin" {{translateAttr title="dashboard.services.flume.sources"}}></i></th>
+ <th><i class="icon-random" {{translateAttr title="dashboard.services.flume.channels"}}></i></th>
+ <th><i class="icon-signout" {{translateAttr title="dashboard.services.flume.sinks"}}></i></th>
{{/view}}
</thead>
{{#if view.pageContent}}