Преглед на файлове

AMBARI-6779. Refactor Flume agents table to be more host centric (srimanth)

Srimanth Gunturi преди 10 години
родител
ревизия
2792f3085f
променени са 2 файла, в които са добавени 19 реда и са изтрити 3 реда
  1. 16 0
      ambari-web/app/styles/application.less
  2. 3 3
      ambari-web/app/templates/main/service/services/flume.hbs

+ 16 - 0
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;
     }

+ 3 - 3
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}}