HDFS-14165. In NameNode UI under DataNode tab ,the Capacity column is Non-Aligned. Contributed by Shubham Dewan.

This commit is contained in:
Surendra Singh Lilhore 2018-12-23 15:06:12 +05:30
parent 657aa433e2
commit d944d5ec46

View File

@ -330,7 +330,7 @@
<td ng-value="{lastBlockReport}">{lastBlockReport}m</td> <td ng-value="{lastBlockReport}">{lastBlockReport}m</td>
<td ng-value="{usedPercentage}"> <td ng-value="{usedPercentage}">
<div> <div>
<div style="display:inline-block; float: left; padding-right: 10px;">{capacity|fmt_bytes}</div> <div style="display:inline-block; float: left; padding-right: 10px; width:80px">{capacity|fmt_bytes}</div>
<div class="clearfix progress dfshealth-node-capacity-bar" title="Non DFS: {nonDfsUsedSpace|fmt_bytes}, Used: {used|fmt_bytes}"> <div class="clearfix progress dfshealth-node-capacity-bar" title="Non DFS: {nonDfsUsedSpace|fmt_bytes}, Used: {used|fmt_bytes}">
<div class="progress-bar {#helper_usage_bar value="{usedPercentage}"/}" style="width: {usedPercentage}%"> <div class="progress-bar {#helper_usage_bar value="{usedPercentage}"/}" style="width: {usedPercentage}%">
</div> </div>