hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [hadoop] 18/19: HDFS-14151. RBF: Make the read-only column of Mount Table clearly understandable.
Date Wed, 02 Jan 2019 18:36:08 GMT
This is an automated email from the ASF dual-hosted git repository.

inigoiri pushed a commit to branch HDFS-13891
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit fe5080609ebe438dc826ab7f5d8c23d392f36e07
Author: Takanobu Asanuma <tasanuma@apache.org>
AuthorDate: Tue Dec 18 19:47:36 2018 +0900

    HDFS-14151. RBF: Make the read-only column of Mount Table clearly understandable.
---
 .../hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html | 2 +-
 .../hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js   | 1 +
 .../hadoop-hdfs-rbf/src/main/webapps/static/rbf.css               | 8 +-------
 3 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
index 068988c..0f089fe 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html
@@ -408,7 +408,7 @@
       <td>{nameserviceId}</td>
       <td>{path}</td>
       <td>{order}</td>
-      <td class="mount-table-icon mount-table-read-only-{readonly}"/>
+      <td align="center" class="mount-table-icon mount-table-read-only-{readonly}" title="{status}"/>
       <td>{ownerName}</td>
       <td>{groupName}</td>
       <td>{mode}</td>
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
index 6311a80..bb8e057 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js
@@ -317,6 +317,7 @@
         for (var i = 0, e = mountTable.length; i < e; ++i) {
           if (mountTable[i].readonly == true) {
             mountTable[i].readonly = "true"
+            mountTable[i].status = "Read only"
           } else {
             mountTable[i].readonly = "false"
           }
diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
index 43112af..5cdd826 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
+++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/static/rbf.css
@@ -132,12 +132,6 @@
 }
 
 .mount-table-read-only-true:before {
-    color: #c7254e;
-    content: "\e033";
-}
-
-.mount-table-read-only-false:before {
     color: #5fa341;
-    content: "\e013";
+    content: "\e033";
 }
-


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message