HDFS-14151. RBF: Make the read-only column of Mount Table clearly understandable.

This commit is contained in:
Takanobu Asanuma 2018-12-18 19:47:36 +09:00 committed by Brahma Reddy Battula
parent bbe859177d
commit 3d97142dff
3 changed files with 3 additions and 8 deletions

View File

@ -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>

View File

@ -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"
}

View File

@ -132,12 +132,6 @@
}
.mount-table-read-only-true:before {
color: #c7254e;
color: #5fa341;
content: "\e033";
}
.mount-table-read-only-false:before {
color: #5fa341;
content: "\e013";
}