HDFS-14151. RBF: Make the read-only column of Mount Table clearly understandable.
This commit is contained in:
parent
bbe859177d
commit
3d97142dff
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue