aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-12-24 14:55:26 -0800
committerChris Lu <chris.lu@gmail.com>2019-12-24 14:55:26 -0800
commit7ba6be23120890954b185e01af3a430cca2714b4 (patch)
tree03e93a7f754fbdbfbf7680782bcc2d0d8a9bb91a
parentd8b39fe92a31385f48238cac99faa830066ef9f8 (diff)
downloadseaweedfs-7ba6be23120890954b185e01af3a430cca2714b4.tar.xz
seaweedfs-7ba6be23120890954b185e01af3a430cca2714b4.zip
volume ui add readonly status
-rw-r--r--weed/server/volume_server_ui/templates.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/server/volume_server_ui/templates.go b/weed/server/volume_server_ui/templates.go
index 1294604cd..81496b1de 100644
--- a/weed/server/volume_server_ui/templates.go
+++ b/weed/server/volume_server_ui/templates.go
@@ -107,10 +107,11 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<tr>
<th>Id</th>
<th>Collection</th>
- <th>Size</th>
+ <th>Data Size</th>
<th>Files</th>
<th>Trash</th>
<th>TTL</th>
+ <th>ReadOnly</th>
</tr>
</thead>
<tbody>
@@ -122,6 +123,7 @@ var StatusTpl = template.Must(template.New("status").Funcs(funcMap).Parse(`<!DOC
<td>{{ .FileCount }}</td>
<td>{{ .DeleteCount }} / {{.DeletedByteCount}} Bytes</td>
<td>{{ .Ttl }}</td>
+ <td>{{ .ReadOnly }}</td>
</tr>
{{ end }}
</tbody>